1 Star 0 Fork 1.8K

kvcavy/ndd

forked from 爬山虎/ndd 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
qtlangset.ui 27.12 KB
一键复制 编辑 原始数据 按行查看 历史
爬山虎 提交于 2023-02-11 11:09 . 整体合入v1.22.2的代码
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900
<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
<class>QtLangSetClass</class>
<widget class="QMainWindow" name="QtLangSetClass">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>1029</width>
<height>660</height>
</rect>
</property>
<property name="windowTitle">
<string>QtLangSet</string>
</property>
<property name="windowIcon">
<iconset resource="RealCompare.qrc">
<normaloff>:/Resources/edit/global/ndd.ico</normaloff>:/Resources/edit/global/ndd.ico</iconset>
</property>
<widget class="QWidget" name="centralWidget">
<layout class="QVBoxLayout" name="verticalLayout_13">
<item>
<layout class="QHBoxLayout" name="horizontalLayout_8">
<item>
<spacer name="horizontalSpacer_4">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeType">
<enum>QSizePolicy::Preferred</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>40</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
<item>
<widget class="QPushButton" name="pushButton">
<property name="text">
<string>Global Set</string>
</property>
</widget>
</item>
<item>
<widget class="QLabel" name="label_10">
<property name="text">
<string>Select Main:</string>
</property>
</widget>
</item>
<item>
<widget class="QComboBox" name="mainThemesCbox">
<property name="minimumSize">
<size>
<width>200</width>
<height>0</height>
</size>
</property>
<item>
<property name="text">
<string>Default(stylers.xml)</string>
</property>
</item>
<item>
<property name="text">
<string>Bespin</string>
</property>
</item>
<item>
<property name="text">
<string>Black board</string>
</property>
</item>
<item>
<property name="text">
<string>Blue Light</string>
</property>
</item>
<item>
<property name="text">
<string>Choco</string>
</property>
</item>
<item>
<property name="text">
<string>DansLeRuSH-Dark</string>
</property>
</item>
<item>
<property name="text">
<string>Deep Black</string>
</property>
</item>
<item>
<property name="text">
<string>Lavender</string>
</property>
</item>
<item>
<property name="text">
<string>HotFudgeSundae</string>
</property>
</item>
<item>
<property name="text">
<string>Misty Rose</string>
</property>
</item>
<item>
<property name="text">
<string>Mono Industrial</string>
</property>
</item>
<item>
<property name="text">
<string>Monokai</string>
</property>
</item>
<item>
<property name="text">
<string>Obsidian</string>
</property>
</item>
<item>
<property name="text">
<string>Plastic Code Wrap</string>
</property>
</item>
<item>
<property name="text">
<string>Ruby Blue</string>
</property>
</item>
<item>
<property name="text">
<string>Twilight</string>
</property>
</item>
<item>
<property name="text">
<string>Vibrant Ink</string>
</property>
</item>
<item>
<property name="text">
<string>Yellow Rice</string>
</property>
</item>
</widget>
</item>
<item>
<widget class="QLabel" name="curThemes">
<property name="text">
<string>TextLabel</string>
</property>
</widget>
</item>
<item>
<spacer name="horizontalSpacer_3">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>40</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
</layout>
</item>
<item>
<layout class="QHBoxLayout" name="horizontalLayout_11">
<item>
<layout class="QVBoxLayout" name="verticalLayout">
<item>
<widget class="QLabel" name="label">
<property name="text">
<string>Language</string>
</property>
</widget>
</item>
<item>
<widget class="QListWidget" name="langListWidget">
<property name="minimumSize">
<size>
<width>100</width>
<height>0</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>220</width>
<height>16777215</height>
</size>
</property>
</widget>
</item>
<item>
<widget class="QLabel" name="label_5">
<property name="text">
<string>User Define Language</string>
</property>
</widget>
</item>
<item>
<widget class="QListWidget" name="userLangListWidget">
<property name="minimumSize">
<size>
<width>100</width>
<height>0</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>220</width>
<height>150</height>
</size>
</property>
</widget>
</item>
</layout>
</item>
<item>
<layout class="QVBoxLayout" name="verticalLayout_2">
<item>
<widget class="QLabel" name="label_2">
<property name="text">
<string>Style</string>
</property>
</widget>
</item>
<item>
<widget class="QListWidget" name="styleListWidget">
<property name="minimumSize">
<size>
<width>250</width>
<height>0</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>500</width>
<height>16777215</height>
</size>
</property>
</widget>
</item>
</layout>
</item>
<item>
<layout class="QVBoxLayout" name="verticalLayout_12">
<item>
<layout class="QHBoxLayout" name="horizontalLayout_9">
<item>
<layout class="QVBoxLayout" name="verticalLayout_10">
<item>
<widget class="QGroupBox" name="groupBox_2">
<property name="title">
<string>Color</string>
</property>
<layout class="QVBoxLayout" name="verticalLayout_6">
<item>
<layout class="QHBoxLayout" name="horizontalLayout_6">
<item>
<widget class="QLabel" name="label_3">
<property name="text">
<string>Foreground:</string>
</property>
</widget>
</item>
<item>
<widget class="QLabel" name="label_fc">
<property name="sizePolicy">
<sizepolicy hsizetype="Fixed" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="minimumSize">
<size>
<width>32</width>
<height>32</height>
</size>
</property>
<property name="text">
<string>TextLabel</string>
</property>
</widget>
</item>
<item>
<widget class="QToolButton" name="toolButton">
<property name="text">
<string>Select</string>
</property>
</widget>
</item>
</layout>
</item>
<item>
<layout class="QHBoxLayout" name="horizontalLayout_7">
<item>
<widget class="QLabel" name="label_4">
<property name="text">
<string>background:</string>
</property>
</widget>
</item>
<item>
<widget class="QLabel" name="label_bc">
<property name="sizePolicy">
<sizepolicy hsizetype="Fixed" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="minimumSize">
<size>
<width>32</width>
<height>32</height>
</size>
</property>
<property name="text">
<string>Same As Theme</string>
</property>
</widget>
</item>
<item>
<widget class="QToolButton" name="toolButton1">
<property name="text">
<string>Select</string>
</property>
</widget>
</item>
</layout>
</item>
</layout>
</widget>
</item>
<item>
<widget class="QGroupBox" name="useGlobalColor">
<property name="title">
<string>Use Global Color</string>
</property>
<layout class="QVBoxLayout" name="verticalLayout_9">
<item>
<widget class="QCheckBox" name="useGbFc">
<property name="text">
<string>Use Global Foreground Color</string>
</property>
</widget>
</item>
<item>
<widget class="QCheckBox" name="useGbBc">
<property name="enabled">
<bool>true</bool>
</property>
<property name="text">
<string>Use Global Background Color</string>
</property>
</widget>
</item>
</layout>
</widget>
</item>
<item>
<spacer name="verticalSpacer">
<property name="orientation">
<enum>Qt::Vertical</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>20</width>
<height>40</height>
</size>
</property>
</spacer>
</item>
</layout>
</item>
<item>
<layout class="QVBoxLayout" name="verticalLayout_11">
<item>
<widget class="QGroupBox" name="groupBox_3">
<property name="title">
<string>Font</string>
</property>
<layout class="QVBoxLayout" name="verticalLayout_8">
<item>
<layout class="QHBoxLayout" name="horizontalLayout_2">
<item>
<widget class="QLabel" name="label_7">
<property name="text">
<string>Name:</string>
</property>
</widget>
</item>
<item>
<widget class="QFontComboBox" name="fontComboBox"/>
</item>
</layout>
</item>
<item>
<layout class="QHBoxLayout" name="horizontalLayout_10">
<item>
<layout class="QVBoxLayout" name="verticalLayout_3">
<item>
<widget class="QCheckBox" name="boldCheckBox">
<property name="text">
<string>Bold</string>
</property>
</widget>
</item>
<item>
<widget class="QCheckBox" name="italicCheckBox">
<property name="text">
<string>Italic</string>
</property>
</widget>
</item>
<item>
<widget class="QCheckBox" name="underlineCheckBox">
<property name="text">
<string>Underline</string>
</property>
</widget>
</item>
</layout>
</item>
<item>
<layout class="QVBoxLayout" name="verticalLayout_7">
<item>
<layout class="QHBoxLayout" name="horizontalLayout_3">
<item>
<widget class="QLabel" name="label_8">
<property name="text">
<string>Font Size:</string>
</property>
</widget>
</item>
<item>
<widget class="QSpinBox" name="fontSpinBox">
<property name="singleStep">
<number>1</number>
</property>
</widget>
</item>
</layout>
</item>
</layout>
</item>
</layout>
</item>
</layout>
</widget>
</item>
<item>
<widget class="QStackedWidget" name="stackedWidget">
<property name="currentIndex">
<number>0</number>
</property>
<widget class="QWidget" name="page_normal">
<layout class="QGridLayout" name="gridLayout">
<property name="leftMargin">
<number>0</number>
</property>
<property name="rightMargin">
<number>0</number>
</property>
<item row="0" column="0">
<widget class="QGroupBox" name="groupBox">
<property name="title">
<string>Keyword And Mother </string>
</property>
<layout class="QVBoxLayout" name="verticalLayout_4">
<property name="leftMargin">
<number>0</number>
</property>
<property name="rightMargin">
<number>0</number>
</property>
<item>
<widget class="QPlainTextEdit" name="keywordTe">
<property name="readOnly">
<bool>true</bool>
</property>
</widget>
</item>
<item>
<layout class="QHBoxLayout" name="horizontalLayout">
<item>
<widget class="QLabel" name="label_6">
<property name="text">
<string>Mother Language:</string>
</property>
</widget>
</item>
<item>
<widget class="QComboBox" name="motherLangCb">
<property name="enabled">
<bool>false</bool>
</property>
<item>
<property name="text">
<string>None</string>
</property>
</item>
<item>
<property name="text">
<string>Cpp</string>
</property>
</item>
</widget>
</item>
</layout>
</item>
<item>
<layout class="QHBoxLayout" name="horizontalLayout_5">
<item>
<widget class="QLabel" name="label_9">
<property name="text">
<string>Ext File Type:</string>
</property>
</widget>
</item>
<item>
<widget class="QLineEdit" name="extFileType">
<property name="readOnly">
<bool>true</bool>
</property>
</widget>
</item>
</layout>
</item>
</layout>
</widget>
</item>
</layout>
</widget>
<widget class="QWidget" name="page_global">
<layout class="QGridLayout" name="gridLayout_2">
<property name="leftMargin">
<number>0</number>
</property>
<property name="rightMargin">
<number>0</number>
</property>
<item row="0" column="0">
<widget class="QGroupBox" name="useGlobalFont">
<property name="title">
<string>Global Style Font</string>
</property>
<layout class="QVBoxLayout" name="verticalLayout_5">
<item>
<widget class="QCheckBox" name="useGbFont">
<property name="text">
<string>Use Global Font</string>
</property>
</widget>
</item>
<item>
<widget class="QCheckBox" name="useGbFontSize">
<property name="text">
<string>Use Global FontSize</string>
</property>
</widget>
</item>
<item>
<widget class="QCheckBox" name="useGbFontBold">
<property name="text">
<string>Use Global Bold Font</string>
</property>
</widget>
</item>
<item>
<widget class="QCheckBox" name="useGbFontItalic">
<property name="text">
<string>Use Global Italic Font</string>
</property>
</widget>
</item>
<item>
<widget class="QCheckBox" name="useGbFontUnderline">
<property name="text">
<string>Use Global Underline Font</string>
</property>
</widget>
</item>
</layout>
</widget>
</item>
</layout>
</widget>
</widget>
</item>
</layout>
</item>
</layout>
</item>
<item>
<layout class="QHBoxLayout" name="horizontalLayout_4">
<item>
<widget class="QPushButton" name="reset">
<property name="text">
<string>reset</string>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="saveBt">
<property name="text">
<string>Save</string>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="cancelBt">
<property name="text">
<string>Close</string>
</property>
</widget>
</item>
</layout>
</item>
</layout>
</item>
</layout>
</item>
</layout>
</widget>
<widget class="QMenuBar" name="menuBar">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>1029</width>
<height>23</height>
</rect>
</property>
</widget>
<widget class="QToolBar" name="mainToolBar">
<attribute name="toolBarArea">
<enum>TopToolBarArea</enum>
</attribute>
<attribute name="toolBarBreak">
<bool>false</bool>
</attribute>
</widget>
<widget class="QStatusBar" name="statusBar"/>
</widget>
<layoutdefault spacing="6" margin="11"/>
<resources>
<include location="RealCompare.qrc"/>
</resources>
<connections>
<connection>
<sender>cancelBt</sender>
<signal>clicked()</signal>
<receiver>QtLangSetClass</receiver>
<slot>close()</slot>
<hints>
<hint type="sourcelabel">
<x>1016</x>
<y>625</y>
</hint>
<hint type="destinationlabel">
<x>709</x>
<y>561</y>
</hint>
</hints>
</connection>
<connection>
<sender>saveBt</sender>
<signal>clicked()</signal>
<receiver>QtLangSetClass</receiver>
<slot>slot_saveClick()</slot>
<hints>
<hint type="sourcelabel">
<x>843</x>
<y>625</y>
</hint>
<hint type="destinationlabel">
<x>575</x>
<y>559</y>
</hint>
</hints>
</connection>
<connection>
<sender>toolButton</sender>
<signal>clicked()</signal>
<receiver>QtLangSetClass</receiver>
<slot>slot_changeFgColor()</slot>
<hints>
<hint type="sourcelabel">
<x>725</x>
<y>123</y>
</hint>
<hint type="destinationlabel">
<x>462</x>
<y>561</y>
</hint>
</hints>
</connection>
<connection>
<sender>reset</sender>
<signal>clicked()</signal>
<receiver>QtLangSetClass</receiver>
<slot>slot_reset()</slot>
<hints>
<hint type="sourcelabel">
<x>669</x>
<y>625</y>
</hint>
<hint type="destinationlabel">
<x>814</x>
<y>697</y>
</hint>
</hints>
</connection>
<connection>
<sender>useGbFc</sender>
<signal>clicked(bool)</signal>
<receiver>QtLangSetClass</receiver>
<slot>slot_useAlobalFgColor(bool)</slot>
<hints>
<hint type="sourcelabel">
<x>726</x>
<y>225</y>
</hint>
<hint type="destinationlabel">
<x>491</x>
<y>363</y>
</hint>
</hints>
</connection>
<connection>
<sender>useGbFont</sender>
<signal>clicked(bool)</signal>
<receiver>QtLangSetClass</receiver>
<slot>slot_useAlobalFont(bool)</slot>
<hints>
<hint type="sourcelabel">
<x>844</x>
<y>238</y>
</hint>
<hint type="destinationlabel">
<x>491</x>
<y>363</y>
</hint>
</hints>
</connection>
<connection>
<sender>useGbFontBold</sender>
<signal>clicked(bool)</signal>
<receiver>QtLangSetClass</receiver>
<slot>slot_useAlobalFontBold(bool)</slot>
<hints>
<hint type="sourcelabel">
<x>844</x>
<y>238</y>
</hint>
<hint type="destinationlabel">
<x>491</x>
<y>363</y>
</hint>
</hints>
</connection>
<connection>
<sender>useGbFontItalic</sender>
<signal>clicked(bool)</signal>
<receiver>QtLangSetClass</receiver>
<slot>slot_useAlobalFontItalic(bool)</slot>
<hints>
<hint type="sourcelabel">
<x>844</x>
<y>238</y>
</hint>
<hint type="destinationlabel">
<x>491</x>
<y>363</y>
</hint>
</hints>
</connection>
<connection>
<sender>useGbFontUnderline</sender>
<signal>clicked(bool)</signal>
<receiver>QtLangSetClass</receiver>
<slot>slot_useAlobalFontUnderline(bool)</slot>
<hints>
<hint type="sourcelabel">
<x>844</x>
<y>238</y>
</hint>
<hint type="destinationlabel">
<x>491</x>
<y>363</y>
</hint>
</hints>
</connection>
<connection>
<sender>useGbFontSize</sender>
<signal>clicked(bool)</signal>
<receiver>QtLangSetClass</receiver>
<slot>slot_useAlobalFontSize(bool)</slot>
<hints>
<hint type="sourcelabel">
<x>844</x>
<y>238</y>
</hint>
<hint type="destinationlabel">
<x>491</x>
<y>363</y>
</hint>
</hints>
</connection>
<connection>
<sender>useGbBc</sender>
<signal>clicked(bool)</signal>
<receiver>QtLangSetClass</receiver>
<slot>slot_useAlobalBkColor(bool)</slot>
<hints>
<hint type="sourcelabel">
<x>726</x>
<y>247</y>
</hint>
<hint type="destinationlabel">
<x>491</x>
<y>363</y>
</hint>
</hints>
</connection>
<connection>
<sender>toolButton1</sender>
<signal>clicked()</signal>
<receiver>QtLangSetClass</receiver>
<slot>slot_changeBkColor()</slot>
<hints>
<hint type="sourcelabel">
<x>725</x>
<y>163</y>
</hint>
<hint type="destinationlabel">
<x>491</x>
<y>363</y>
</hint>
</hints>
</connection>
<connection>
<sender>mainThemesCbox</sender>
<signal>currentIndexChanged(int)</signal>
<receiver>QtLangSetClass</receiver>
<slot>on_themesChange(int)</slot>
<hints>
<hint type="sourcelabel">
<x>221</x>
<y>55</y>
</hint>
<hint type="destinationlabel">
<x>390</x>
<y>635</y>
</hint>
</hints>
</connection>
<connection>
<sender>pushButton</sender>
<signal>clicked()</signal>
<receiver>QtLangSetClass</receiver>
<slot>on_showGlobalItem()</slot>
<hints>
<hint type="sourcelabel">
<x>103</x>
<y>56</y>
</hint>
<hint type="destinationlabel">
<x>197</x>
<y>69</y>
</hint>
</hints>
</connection>
</connections>
<slots>
<slot>slot_saveClick()</slot>
<slot>slot_changeFgColor()</slot>
<slot>slot_changeBkColor()</slot>
<slot>slot_reset()</slot>
<slot>slot_useAlobalFgColor(bool)</slot>
<slot>slot_useAlobalFont(bool)</slot>
<slot>slot_useAlobalFontSize(bool)</slot>
<slot>slot_useAlobalFontBold(bool)</slot>
<slot>slot_useAlobalFontUnderline(bool)</slot>
<slot>slot_useAlobalFontItalic(bool)</slot>
<slot>slot_useAlobalBkColor(bool)</slot>
<slot>on_themesChange(int)</slot>
<slot>on_showGlobalItem()</slot>
</slots>
</ui>
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
C++
1
https://gitee.com/kvcavy/notepad--.git
git@gitee.com:kvcavy/notepad--.git
kvcavy
notepad--
ndd
master

搜索帮助