📄 calcwindow.ui
字号:
<layout class="QVBoxLayout" > <property name="margin" > <number>8</number> </property> <property name="spacing" > <number>6</number> </property> <item> <widget class="QRadioButton" name="fixRadioButton" > <property name="font" > <font> <family>Arial</family> <pointsize>9</pointsize> <weight>50</weight> <italic>false</italic> <bold>false</bold> <underline>false</underline> <strikeout>false</strikeout> </font> </property> <property name="cursor" > <cursor>13</cursor> </property> <property name="focusPolicy" > <enum>Qt::NoFocus</enum> </property> <property name="contextMenuPolicy" > <enum>Qt::NoContextMenu</enum> </property> <property name="text" > <string>Fix</string> </property> </widget> </item> <item> <widget class="QRadioButton" name="sciRadioButton" > <property name="font" > <font> <family>Arial</family> <pointsize>9</pointsize> <weight>50</weight> <italic>false</italic> <bold>false</bold> <underline>false</underline> <strikeout>false</strikeout> </font> </property> <property name="cursor" > <cursor>13</cursor> </property> <property name="focusPolicy" > <enum>Qt::NoFocus</enum> </property> <property name="contextMenuPolicy" > <enum>Qt::NoContextMenu</enum> </property> <property name="text" > <string>Sci</string> </property> </widget> </item> <item> <widget class="QRadioButton" name="normRadioButton" > <property name="font" > <font> <family>Arial</family> <pointsize>9</pointsize> <weight>50</weight> <italic>false</italic> <bold>false</bold> <underline>false</underline> <strikeout>false</strikeout> </font> </property> <property name="cursor" > <cursor>13</cursor> </property> <property name="focusPolicy" > <enum>Qt::NoFocus</enum> </property> <property name="contextMenuPolicy" > <enum>Qt::NoContextMenu</enum> </property> <property name="text" > <string>Norm</string> </property> <property name="checked" > <bool>true</bool> </property> </widget> </item> </layout> </widget> <widget class="QGroupBox" name="groupBox4" > <property name="geometry" > <rect> <x>190</x> <y>130</y> <width>171</width> <height>51</height> </rect> </property> <property name="contextMenuPolicy" > <enum>Qt::NoContextMenu</enum> </property> <property name="title" > <string/> </property> <layout class="QHBoxLayout" > <property name="margin" > <number>8</number> </property> <property name="spacing" > <number>6</number> </property> <item> <widget class="QRadioButton" name="baseHexRadioButton" > <property name="font" > <font> <family>Arial</family> <pointsize>9</pointsize> <weight>50</weight> <italic>false</italic> <bold>false</bold> <underline>false</underline> <strikeout>false</strikeout> </font> </property> <property name="cursor" > <cursor>13</cursor> </property> <property name="focusPolicy" > <enum>Qt::NoFocus</enum> </property> <property name="contextMenuPolicy" > <enum>Qt::NoContextMenu</enum> </property> <property name="text" > <string>Hex</string> </property> <property name="shortcut" > <string/> </property> </widget> </item> <item> <widget class="QRadioButton" name="baseDecRadioButton" > <property name="font" > <font> <family>Arial</family> <pointsize>9</pointsize> <weight>50</weight> <italic>false</italic> <bold>false</bold> <underline>false</underline> <strikeout>false</strikeout> </font> </property> <property name="cursor" > <cursor>13</cursor> </property> <property name="focusPolicy" > <enum>Qt::NoFocus</enum> </property> <property name="contextMenuPolicy" > <enum>Qt::NoContextMenu</enum> </property> <property name="text" > <string>Dec</string> </property> <property name="checked" > <bool>true</bool> </property> </widget> </item> <item> <widget class="QRadioButton" name="baseOctRadioButton" > <property name="font" > <font> <family>Arial</family> <pointsize>9</pointsize> <weight>50</weight> <italic>false</italic> <bold>false</bold> <underline>false</underline> <strikeout>false</strikeout> </font> </property> <property name="cursor" > <cursor>13</cursor> </property> <property name="focusPolicy" > <enum>Qt::NoFocus</enum> </property> <property name="contextMenuPolicy" > <enum>Qt::NoContextMenu</enum> </property> <property name="text" > <string>Oct</string> </property> </widget> </item> </layout> </widget> <widget class="QGroupBox" name="displayGroupBox" > <property name="geometry" > <rect> <x>10</x> <y>30</y> <width>269</width> <height>91</height> </rect> </property> <property name="contextMenuPolicy" > <enum>Qt::NoContextMenu</enum> </property> <property name="title" > <string/> </property> <property name="alignment" > <set>Qt::AlignVCenter</set> </property> <property name="flat" > <bool>false</bool> </property> <widget class="QLineEdit" name="outputLineEdit" > <property name="geometry" > <rect> <x>10</x> <y>58</y> <width>249</width> <height>21</height> </rect> </property> <property name="font" > <font> <family>Courier New</family> <pointsize>9</pointsize> <weight>50</weight> <italic>false</italic> <bold>false</bold> <underline>false</underline> <strikeout>false</strikeout> </font> </property> <property name="cursor" > <cursor>4</cursor> </property> <property name="focusPolicy" > <enum>Qt::NoFocus</enum> </property> <property name="contextMenuPolicy" > <enum>Qt::DefaultContextMenu</enum> </property> <property name="acceptDrops" > <bool>false</bool> </property> <property name="text" > <string>0</string> </property> <property name="alignment" > <set>Qt::AlignRight</set> </property> <property name="readOnly" > <bool>true</bool> </property> </widget> <widget class="QLineEdit" name="inputLineEdit" > <property name="geometry" > <rect> <x>10</x> <y>15</y> <width>249</width> <height>31</height> </rect> </property> <property name="font" > <font> <family>Courier New</family> <pointsize>10</pointsize> <weight>75</weight> <italic>false</italic> <bold>true</bold> <underline>false</underline> <strikeout>false</strikeout> </font> </property> <property name="cursor" > <cursor>4</cursor> </property> <property name="focusPolicy" > <enum>Qt::StrongFocus</enum> </property> <property name="contextMenuPolicy" > <enum>Qt::DefaultContextMenu</enum> </property> <property name="acceptDrops" > <bool>false</bool> </property> <property name="text" > <string/> </property> <property name="alignment" > <set>Qt::AlignLeading</set> </property> <property name="readOnly" > <bool>false</bool> </property> </widget> </widget> <widget class="QLabel" name="statusLabel" > <property name="modal" stdset="0" > <bool>true</bool> </property> <property name="geometry" > <rect> <x>10</x> <y>6</y> <width>351</width> <height>18</height> </rect> </property> <property name="font" > <font> <family>Courier New</family> <pointsize>9</pointsize> <weight>50</weight> <italic>false</italic> <bold>false</bold> <underline>false</underline> <strikeout>false</strikeout> </font> </property> <property name="frameShape" > <enum>QFrame::Panel</enum> </property> <property name="frameShadow" > <enum>QFrame::Sunken</enum> </property> <property name="text" > <string><font color=green>waiting for input</font></string> </property> </widget> </widget> </widget> <pixmapfunction></pixmapfunction> <resources/> <connections> <connection> <sender>staButton</sender> <signal>toggled(bool)</signal> <receiver>staClearButton</receiver> <slot>setEnabled(bool)</slot> <hints> <hint type="sourcelabel" > <x>325</x> <y>225</y> </hint> <hint type="destinationlabel" > <x>325</x> <y>265</y> </hint> </hints> </connection> <connection> <sender>staButton</sender> <signal>toggled(bool)</signal> <receiver>staStoreButton</receiver> <slot>setEnabled(bool)</slot> <hints> <hint type="sourcelabel" > <x>325</x> <y>225</y> </hint> <hint type="destinationlabel" > <x>325</x> <y>305</y> </hint> </hints> </connection> <connection> <sender>staButton</sender> <signal>toggled(bool)</signal> <receiver>staNumButton</receiver> <slot>setEnabled(bool)</slot> <hints> <hint type="sourcelabel" > <x>325</x> <y>225</y> </hint> <hint type="destinationlabel" > <x>325</x> <y>345</y> </hint> </hints> </connection> <connection> <sender>staButton</sender> <signal>toggled(bool)</signal> <receiver>staSumButton</receiver> <slot>setEnabled(bool)</slot> <hints> <hint type="sourcelabel" > <x>325</x> <y>225</y> </hint> <hint type="destinationlabel" > <x>325</x> <y>385</y> </hint> </hints> </connection> <connection> <sender>staButton</sender> <signal>toggled(bool)</signal> <receiver>staAverageButton</receiver> <slot>setEnabled(bool)</slot> <hints> <hint type="sourcelabel" > <x>325</x> <y>225</y> </hint> <hint type="destinationlabel" > <x>325</x> <y>425</y> </hint> </hints> </connection> <connection> <sender>staButton</sender> <signal>toggled(bool)</signal> <receiver>staStdDiffButton</receiver> <slot>setEnabled(bool)</slot> <hints> <hint type="sourcelabel" > <x>325</x> <y>225</y> </hint> <hint type="destinationlabel" > <x>325</x> <y>465</y> </hint> </hints> </connection> <connection> <sender>staButton</sender> <signal>toggled(bool)</signal> <receiver>staMinButton</receiver> <slot>setEnabled(bool)</slot> <hints> <hint type="sourcelabel" > <x>325</x> <y>225</y> </hint> <hint type="destinationlabel" > <x>325</x> <y>505</y> </hint> </hints> </connection> <connection> <sender>staButton</sender> <signal>toggled(bool)</signal> <receiver>staMaxButton</receiver> <slot>setEnabled(bool)</slot> <hints> <hint type="sourcelabel" > <x>325</x> <y>225</y> </hint> <hint type="destinationlabel" > <x>325</x> <y>545</y> </hint> </hints> </connection> </connections></ui>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -