📄 projectdialog.ui
字号:
<ui version="4.0" > <author></author> <comment></comment> <exportmacro></exportmacro> <class>ProjectDialog</class> <widget class="QDialog" name="ProjectDialog" > <property name="windowTitle" > <string>Choose Project</string> </property> <layout class="QGridLayout" > <item row="3" column="1" > <widget class="QToolButton" name="rightButton" > <property name="text" > <string>...</string> </property> <property name="icon" > <iconset resource="projectchooser.qrc" >:/images/rightarrow.png</iconset> </property> <property name="iconSize" > <size> <width>22</width> <height>22</height> </size> </property> </widget> </item> <item row="1" column="1" > <spacer> <property name="orientation" > <enum>Qt::Vertical</enum> </property> <property name="sizeHint" > <size> <width>20</width> <height>40</height> </size> </property> </spacer> </item> <item row="4" column="1" > <spacer> <property name="orientation" > <enum>Qt::Vertical</enum> </property> <property name="sizeHint" > <size> <width>20</width> <height>21</height> </size> </property> </spacer> </item> <item row="2" column="1" > <widget class="QToolButton" name="leftButton" > <property name="text" > <string>...</string> </property> <property name="icon" > <iconset resource="projectchooser.qrc" >:/images/leftarrow.png</iconset> </property> <property name="iconSize" > <size> <width>22</width> <height>22</height> </size> </property> </widget> </item> <item row="0" column="2" > <widget class="QLabel" name="labelB" > <property name="text" > <string><html><head><meta name="qrichtext" content="1" /></head><body style=" white-space: pre-wrap; font-family:Sans Serif; font-weight:400; font-style:normal; text-decoration:none;"><p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-weight:600;">Project B</span></p></body></html></string> </property> <property name="alignment" > <set>Qt::AlignCenter</set> </property> </widget> </item> <item row="0" column="0" > <widget class="QLabel" name="labelA" > <property name="text" > <string><html><head><meta name="qrichtext" content="1" /></head><body style=" white-space: pre-wrap; font-family:Sans Serif; font-weight:400; font-style:normal; text-decoration:none;"><p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-weight:600;">Project A</span></p></body></html></string> </property> <property name="alignment" > <set>Qt::AlignHCenter</set> </property> </widget> </item> <item rowspan="4" row="1" column="0" > <widget class="ProjectListWidget" name="projectA" /> </item> <item rowspan="4" row="1" column="2" > <widget class="ProjectListWidget" name="projectB" /> </item> </layout> </widget> <pixmapfunction></pixmapfunction> <customwidgets> <customwidget> <class>ProjectListWidget</class> <extends>QListWidget</extends> <header>projectlistwidget.h</header> <container>0</container> <pixmap></pixmap> </customwidget> </customwidgets> <resources> <include location="projectchooser.qrc" /> </resources> <connections/></ui>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -