📄 sharewidget.ui
字号:
<!DOCTYPE UI><UI version="3.0" stdsetdef="1"><class>ShareWidgetBase</class><widget class="QWidget"> <property name="name"> <cstring>ShareWidgetBase</cstring> </property> <property name="geometry"> <rect> <x>0</x> <y>0</y> <width>347</width> <height>308</height> </rect> </property> <property name="caption"> <string></string> </property> <vbox> <property name="name"> <cstring>unnamed</cstring> </property> <property name="margin"> <number>11</number> </property> <property name="spacing"> <number>6</number> </property> <widget class="QLayoutWidget"> <property name="name"> <cstring>Layout2</cstring> </property> <grid> <property name="name"> <cstring>unnamed</cstring> </property> <property name="margin"> <number>0</number> </property> <property name="spacing"> <number>6</number> </property> <widget class="QLineEdit" row="1" column="0"> <property name="name"> <cstring>pathEdit</cstring> </property> </widget> <widget class="QLabel" row="0" column="0" rowspan="1" colspan="2"> <property name="name"> <cstring>TextLabel2</cstring> </property> <property name="text"> <string>Choose a share folder:</string> </property> </widget> <widget class="QToolButton" row="1" column="1"> <property name="name"> <cstring>ToolButton1</cstring> </property> <property name="text"> <string>...</string> </property> </widget> </grid> </widget> <widget class="QButtonGroup"> <property name="name"> <cstring>accessGroup</cstring> </property> <property name="title"> <string>Access Control</string> </property> <vbox> <property name="name"> <cstring>unnamed</cstring> </property> <property name="margin"> <number>11</number> </property> <property name="spacing"> <number>6</number> </property> <widget class="QRadioButton"> <property name="name"> <cstring>RadioButton1</cstring> </property> <property name="text"> <string>&Everybody</string> </property> <property name="checked"> <bool>true</bool> </property> </widget> <widget class="QRadioButton"> <property name="name"> <cstring>RadioButton2</cstring> </property> <property name="text"> <string>Only those in my &contact list</string> </property> </widget> <widget class="QRadioButton"> <property name="name"> <cstring>RadioButton3</cstring> </property> <property name="text"> <string>&Select from list</string> </property> </widget> </vbox> </widget> <widget class="QListView"> <column> <property name="text"> <string>Account</string> </property> <property name="clickable"> <bool>true</bool> </property> <property name="resizeable"> <bool>true</bool> </property> </column> <column> <property name="text"> <string>Nickname</string> </property> <property name="clickable"> <bool>true</bool> </property> <property name="resizeable"> <bool>true</bool> </property> </column> <property name="name"> <cstring>accessListView</cstring> </property> <property name="allColumnsShowFocus"> <bool>true</bool> </property> <property name="resizeMode"> <enum>LastColumn</enum> </property> </widget> <widget class="QLayoutWidget"> <property name="name"> <cstring>Layout3</cstring> </property> <hbox> <property name="name"> <cstring>unnamed</cstring> </property> <property name="margin"> <number>0</number> </property> <property name="spacing"> <number>6</number> </property> <spacer> <property name="name" stdset="0"> <cstring>Spacer1</cstring> </property> <property name="orientation"> <enum>Horizontal</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"> <property name="name"> <cstring>selectButton</cstring> </property> <property name="text"> <string>&Select</string> </property> </widget> </hbox> </widget> </vbox></widget><connections> <connection> <sender>selectButton</sender> <signal>clicked()</signal> <receiver>ShareWidgetBase</receiver> <slot>slotSelect()</slot> </connection> <connection> <sender>ToolButton1</sender> <signal>clicked()</signal> <receiver>ShareWidgetBase</receiver> <slot>slotBrowseFolder()</slot> </connection> <connection> <sender>RadioButton3</sender> <signal>toggled(bool)</signal> <receiver>accessListView</receiver> <slot>setEnabled(bool)</slot> </connection> <connection> <sender>RadioButton3</sender> <signal>toggled(bool)</signal> <receiver>selectButton</receiver> <slot>setEnabled(bool)</slot> </connection></connections><slots> <slot access="protected">slotBrowseFolder()</slot> <slot access="protected">slotSelect()</slot></slots><layoutdefaults spacing="6" margin="11"/></UI>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -