📄 listboxeditor.ui
字号:
<string>Select a Pixmap</string> </property> <property name="whatsThis" stdset="0"> <string>Choose a pixmap file for the selected item.</string> </property> </widget> <widget class="QLabel" row="0" column="0"> <property name="name"> <cstring>Label1</cstring> </property> <property name="text"> <string>&Text:</string> </property> <property name="buddy" stdset="0"> <cstring>itemText</cstring> </property> </widget> <widget class="QLineEdit" row="0" column="1" rowspan="1" colspan="3"> <property name="name"> <cstring>itemText</cstring> </property> <property name="minimumSize"> <size> <width>0</width> <height>0</height> </size> </property> <property name="toolTip" stdset="0"> <string>Change text</string> </property> <property name="whatsThis" stdset="0"> <string>Change the selected item's text.</string> </property> </widget> </grid> </widget> <widget class="QPushButton" row="0" column="1"> <property name="name"> <cstring>itemNew</cstring> </property> <property name="text"> <string>&New Item</string> </property> <property name="toolTip" stdset="0"> <string>Add an item</string> </property> <property name="whatsThis" stdset="0"> <string><b>Add a new item.</b><p>New items are appended to the list.</p></string> </property> </widget> <widget class="QPushButton" row="1" column="1"> <property name="name"> <cstring>itemDelete</cstring> </property> <property name="text"> <string>&Delete Item</string> </property> <property name="toolTip" stdset="0"> <string>Delete Item</string> </property> <property name="whatsThis" stdset="0"> <string>Delete the selected item</string> </property> </widget> <spacer row="2" column="1"> <property name="name"> <cstring>Vertical Spacing1</cstring> </property> <property name="orientation"> <enum>Vertical</enum> </property> <property name="sizeType"> <enum>Expanding</enum> </property> <property name="sizeHint"> <size> <width>20</width> <height>20</height> </size> </property> </spacer> <widget class="QPushButton" row="3" column="1"> <property name="name"> <cstring>itemUp</cstring> </property> <property name="text"> <string></string> </property> <property name="pixmap"> <pixmap>s_up.png</pixmap> </property> <property name="toolTip" stdset="0"> <string>Move up</string> </property> <property name="whatsThis" stdset="0"> <string>Moves the selected item up.</string> </property> </widget> <widget class="QPushButton" row="4" column="1"> <property name="name"> <cstring>itemDown</cstring> </property> <property name="text"> <string></string> </property> <property name="pixmap"> <pixmap>s_down.png</pixmap> </property> <property name="toolTip" stdset="0"> <string>Move down</string> </property> <property name="whatsThis" stdset="0"> <string>Move the selected item down.</string> </property> </widget> </grid></widget><connections> <connection> <sender>itemNew</sender> <signal>clicked()</signal> <receiver>ListBoxEditorBase</receiver> <slot>insertNewItem()</slot> </connection> <connection> <sender>itemDelete</sender> <signal>clicked()</signal> <receiver>ListBoxEditorBase</receiver> <slot>deleteCurrentItem()</slot> </connection> <connection> <sender>itemText</sender> <signal>textChanged( const QString & )</signal> <receiver>ListBoxEditorBase</receiver> <slot>currentTextChanged(const QString&)</slot> </connection> <connection> <sender>buttonOk</sender> <signal>clicked()</signal> <receiver>ListBoxEditorBase</receiver> <slot>okClicked()</slot> </connection> <connection> <sender>buttonApply</sender> <signal>clicked()</signal> <receiver>ListBoxEditorBase</receiver> <slot>applyClicked()</slot> </connection> <connection> <sender>buttonCancel</sender> <signal>clicked()</signal> <receiver>ListBoxEditorBase</receiver> <slot>cancelClicked()</slot> </connection> <connection> <sender>itemChoosePixmap</sender> <signal>clicked()</signal> <receiver>ListBoxEditorBase</receiver> <slot>choosePixmap()</slot> </connection> <connection> <sender>itemDeletePixmap</sender> <signal>clicked()</signal> <receiver>ListBoxEditorBase</receiver> <slot>deletePixmap()</slot> </connection> <connection> <sender>itemUp</sender> <signal>clicked()</signal> <receiver>ListBoxEditorBase</receiver> <slot>moveItemUp()</slot> </connection> <connection> <sender>itemDown</sender> <signal>clicked()</signal> <receiver>ListBoxEditorBase</receiver> <slot>moveItemDown()</slot> </connection> <connection> <sender>preview</sender> <signal>selectionChanged(QListBoxItem*)</signal> <receiver>ListBoxEditorBase</receiver> <slot>currentItemChanged(QListBoxItem*)</slot> </connection> <connection> <sender>preview</sender> <signal>currentChanged( QListBoxItem * )</signal> <receiver>ListBoxEditorBase</receiver> <slot>currentItemChanged(QListBoxItem*)</slot> </connection></connections><tabstops> <tabstop>buttonOk</tabstop> <tabstop>buttonCancel</tabstop> <tabstop>preview</tabstop> <tabstop>itemNew</tabstop> <tabstop>itemDelete</tabstop> <tabstop>itemUp</tabstop> <tabstop>itemDown</tabstop> <tabstop>itemText</tabstop> <tabstop>itemDeletePixmap</tabstop> <tabstop>itemChoosePixmap</tabstop> <tabstop>helpButton</tabstop> <tabstop>buttonApply</tabstop></tabstops><slots> <slot access="protected">init()</slot> <slot access="protected">destroy()</slot> <slot access="protected">insertNewItem()</slot> <slot access="protected">deleteCurrentItem()</slot> <slot access="protected">currentItemChanged( QListBoxItem * )</slot> <slot access="protected">currentTextChanged( const QString & )</slot> <slot access="protected">okClicked()</slot> <slot access="protected">cancelClicked()</slot> <slot access="protected">applyClicked()</slot> <slot access="protected">choosePixmap()</slot> <slot access="protected">deletePixmap()</slot> <slot access="protected">moveItemUp()</slot> <slot access="protected">moveItemDown()</slot></slots><pixmapinproject/><layoutdefaults spacing="6" margin="11"/></UI>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -