📄 listvieweditor.ui
字号:
<!DOCTYPE UI><UI><class>ListViewEditorBase</class><widget> <class>QDialog</class> <property stdset="1"> <name>name</name> <cstring>ListViewEditorBase</cstring> </property> <property stdset="1"> <name>geometry</name> <rect> <x>0</x> <y>0</y> <width>603</width> <height>351</height> </rect> </property> <property stdset="1"> <name>caption</name> <string>Edit Listview</string> </property> <property stdset="1"> <name>sizeGripEnabled</name> <bool>true</bool> </property> <property> <name>whatsThis</name> <string><b>Edit Listview</b><p>Use the controls on the <b>Items</b>-tab to add, change and remove items in the listview. Change the column configuration of the view using the controls on the <b>Columns</b>-tab.</p>Press the <b>New Item</b>-button to create a new item and enter a text or provide a pixmap.</p><p>Select an item from the list and press the <b>Delete Item</b>-button to remove the item from the list.</p></string> </property> <vbox> <property stdset="1"> <name>margin</name> <number>11</number> </property> <property stdset="1"> <name>spacing</name> <number>6</number> </property> <widget> <class>QTabWidget</class> <property stdset="1"> <name>name</name> <cstring>tabWidget</cstring> </property> <widget> <class>QWidget</class> <attribute> <name>title</name> <string>&Items</string> </attribute> <grid> <property stdset="1"> <name>margin</name> <number>11</number> </property> <property stdset="1"> <name>spacing</name> <number>6</number> </property> <widget row="2" column="1" > <class>QPushButton</class> <property stdset="1"> <name>name</name> <cstring>itemDelete</cstring> </property> <property stdset="1"> <name>text</name> <string>&Delete Item</string> </property> <property> <name>toolTip</name> <string>Delete item</string> </property> <property> <name>whatsThis</name> <string><b>Deletes the selected item.</b><p>Existing subitems are deleted, too.</p></string> </property> </widget> <widget row="0" column="2" rowspan="8" colspan="1" > <class>QGroupBox</class> <property stdset="1"> <name>name</name> <cstring>GroupBox1</cstring> </property> <property stdset="1"> <name>title</name> <string>Item &Properties</string> </property> <property stdset="1"> <name>sizePolicy</name> <sizepolicy> <hsizetype>0</hsizetype> <vsizetype>5</vsizetype> </sizepolicy> </property> <grid> <property stdset="1"> <name>margin</name> <number>11</number> </property> <property stdset="1"> <name>spacing</name> <number>6</number> </property> <widget row="2" column="0" > <class>QLabel</class> <property stdset="1"> <name>name</name> <cstring>Label2</cstring> </property> <property stdset="1"> <name>text</name> <string>Pi&xmap:</string> </property> <property> <name>buddy</name> <cstring>itemChoosePixmap</cstring> </property> </widget> <widget row="1" column="0" > <class>QLabel</class> <property stdset="1"> <name>name</name> <cstring>Label1</cstring> </property> <property stdset="1"> <name>text</name> <string>&Text:</string> </property> <property> <name>buddy</name> <cstring>itemText</cstring> </property> </widget> <widget row="1" column="1" > <class>QLineEdit</class> <property stdset="1"> <name>name</name> <cstring>itemText</cstring> </property> <property stdset="1"> <name>minimumSize</name> <size> <width>0</width> <height>0</height> </size> </property> <property> <name>toolTip</name> <string>Change text</string> </property> <property> <name>whatsThis</name> <string><b>Change the text of the item.</b><p>The text will be changed in the current column of the selected item.</p></string> </property> </widget> <widget row="0" column="1" > <class>QSpinBox</class> <property stdset="1"> <name>name</name> <cstring>itemColumn</cstring> </property> <property> <name>toolTip</name> <string>Change column</string> </property> <property> <name>whatsThis</name> <string><b>Select the current column.</b><p>Itemtext and pixmap will be changed for the current column</p></string> </property> </widget> <widget row="0" column="0" > <class>QLabel</class> <property stdset="1"> <name>name</name> <cstring>Label4</cstring> </property> <property stdset="1"> <name>text</name> <string>Colu&mn:</string> </property> <property> <name>buddy</name> <cstring>itemColumn</cstring> </property> </widget> <widget row="2" column="1" > <class>QLayoutWidget</class> <property stdset="1"> <name>name</name> <cstring>Layout2</cstring> </property> <hbox> <property stdset="1"> <name>margin</name> <number>0</number> </property> <property stdset="1"> <name>spacing</name> <number>6</number> </property> <widget> <class>QLabel</class> <property stdset="1"> <name>name</name> <cstring>itemPixmap</cstring> </property> <property stdset="1"> <name>text</name> <string>Label4</string> </property> </widget> <widget> <class>QPushButton</class> <property stdset="1"> <name>name</name> <cstring>itemDeletePixmap</cstring> </property> <property stdset="1"> <name>text</name> <string></string> </property> <property stdset="1"> <name>maximumSize</name> <size> <width>30</width> <height>22</height> </size> </property> <property stdset="1"> <name>pixmap</name> <pixmap>image0</pixmap> </property> <property> <name>toolTip</name> <string>Delete Pixmap</string> </property> <property> <name>whatsThis</name> <string><b>Delete the pixmap of the selected item.</b><p>The pixmap in the current column of the selected item will be deleted.</p></string> </property> </widget> <widget> <class>QPushButton</class> <property stdset="1"> <name>name</name> <cstring>itemChoosePixmap</cstring> </property> <property stdset="1"> <name>text</name> <string>...</string> </property> <property stdset="1"> <name>maximumSize</name> <size> <width>30</width> <height>22</height> </size> </property> <property> <name>toolTip</name> <string>Select a Pixmap</string> </property> <property> <name>whatsThis</name> <string><b>Select a pixmap-file for the item.</b><p>The pixmap will be changed in the current column of the selected item.</p></string> </property> </widget> </hbox> </widget> </grid> </widget> <widget row="0" column="1" > <class>QPushButton</class> <property stdset="1"> <name>name</name> <cstring>itemNew</cstring> </property>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -