📄 findfileform.ui
字号:
<ui version="4.0" > <class>FindFileForm</class> <widget class="QWidget" name="FindFileForm" > <property name="geometry" > <rect> <x>0</x> <y>0</y> <width>498</width> <height>464</height> </rect> </property> <property name="windowTitle" > <string>查找文件</string> </property> <property name="windowIcon" > <iconset resource="../../../chapter03/findfile/findfile.qrc" >:/new/prefix1/findfile.png</iconset> </property> <layout class="QVBoxLayout" > <item> <widget class="QFrame" name="frame" > <property name="frameShape" > <enum>QFrame::StyledPanel</enum> </property> <property name="frameShadow" > <enum>QFrame::Raised</enum> </property> <layout class="QVBoxLayout" > <item> <layout class="QGridLayout" > <item row="0" column="0" > <widget class="QLabel" name="label" > <property name="sizePolicy" > <sizepolicy vsizetype="Preferred" hsizetype="Fixed" > <horstretch>0</horstretch> <verstretch>0</verstretch> </sizepolicy> </property> <property name="text" > <string>名为:</string> </property> </widget> </item> <item row="0" column="1" colspan="2" > <widget class="QComboBox" name="nameComboBox" > <property name="editable" > <bool>true</bool> </property> </widget> </item> <item row="1" column="0" > <widget class="QLabel" name="label_2" > <property name="sizePolicy" > <sizepolicy vsizetype="Preferred" hsizetype="Fixed" > <horstretch>0</horstretch> <verstretch>0</verstretch> </sizepolicy> </property> <property name="text" > <string>包含文本:</string> </property> </widget> </item> <item row="1" column="1" colspan="2" > <widget class="QLineEdit" name="txtLineEdit" /> </item> <item row="2" column="0" > <widget class="QLabel" name="label_3" > <property name="sizePolicy" > <sizepolicy vsizetype="Preferred" hsizetype="Fixed" > <horstretch>0</horstretch> <verstretch>0</verstretch> </sizepolicy> </property> <property name="text" > <string>查找位置:</string> </property> </widget> </item> <item row="2" column="1" > <widget class="QComboBox" name="dirComboBox" > <property name="editable" > <bool>true</bool> </property> </widget> </item> <item row="2" column="2" > <widget class="QPushButton" name="browsePushBtn" > <property name="sizePolicy" > <sizepolicy vsizetype="Fixed" hsizetype="Maximum" > <horstretch>0</horstretch> <verstretch>0</verstretch> </sizepolicy> </property> <property name="text" > <string>浏览...</string> </property> </widget> </item> </layout> </item> <item> <layout class="QHBoxLayout" > <item> <spacer> <property name="orientation" > <enum>Qt::Horizontal</enum> </property> <property name="sizeType" > <enum>QSizePolicy::Fixed</enum> </property> <property name="sizeHint" > <size> <width>40</width> <height>20</height> </size> </property> </spacer> </item> <item> <widget class="QCheckBox" name="sensitiveCheckBox" > <property name="text" > <string>区分大小写</string> </property> </widget> </item> <item> <widget class="QCheckBox" name="subfolderCheckBox" > <property name="text" > <string>包含子文件夹</string> </property> </widget> </item> <item> <spacer> <property name="orientation" > <enum>Qt::Horizontal</enum> </property> <property name="sizeType" > <enum>QSizePolicy::Expanding</enum> </property> <property name="sizeHint" > <size> <width>40</width> <height>20</height> </size> </property> </spacer> </item> </layout> </item> </layout> </widget> </item> <item> <layout class="QHBoxLayout" > <item> <spacer> <property name="orientation" > <enum>Qt::Horizontal</enum> </property> <property name="sizeHint" > <size> <width>40</width> <height>20</height> </size> </property> </spacer> </item> <item> <widget class="QPushButton" name="findPushBtn" > <property name="text" > <string>查找</string> </property> </widget> </item> <item> <spacer> <property name="orientation" > <enum>Qt::Horizontal</enum> </property> <property name="sizeHint" > <size> <width>40</width> <height>20</height> </size> </property> </spacer> </item> <item> <widget class="QPushButton" name="stopPushBtn" > <property name="text" > <string>停止</string> </property> </widget> </item> <item> <spacer> <property name="orientation" > <enum>Qt::Horizontal</enum> </property> <property name="sizeHint" > <size> <width>40</width> <height>20</height> </size> </property> </spacer> </item> <item> <widget class="QPushButton" name="closePushBtn" > <property name="text" > <string>关闭</string> </property> </widget> </item> <item> <spacer> <property name="orientation" > <enum>Qt::Horizontal</enum> </property> <property name="sizeHint" > <size> <width>40</width> <height>20</height> </size> </property> </spacer> </item> </layout> </item> <item> <widget class="QLabel" name="label_4" > <property name="text" > <string>查找结果</string> </property> </widget> </item> <item> <widget class="QTableWidget" name="resultTableWidget" > <column> <property name="text" > <string>名称</string> </property> </column> <column> <property name="text" > <string>大小</string> </property> </column> <column> <property name="text" > <string>修改时间</string> </property> </column> <column> <property name="text" > <string>权限</string> </property> </column> </widget> </item> <item> <layout class="QHBoxLayout" > <item> <widget class="QLabel" name="statusLabel" > <property name="sizePolicy" > <sizepolicy vsizetype="Preferred" hsizetype="Preferred" > <horstretch>1</horstretch> <verstretch>0</verstretch> </sizepolicy> </property> <property name="frameShape" > <enum>QFrame::WinPanel</enum> </property> <property name="frameShadow" > <enum>QFrame::Sunken</enum> </property> <property name="text" > <string>状态</string> </property> </widget> </item> <item> <widget class="QLabel" name="resultLabel" > <property name="sizePolicy" > <sizepolicy vsizetype="Preferred" hsizetype="Preferred" > <horstretch>3</horstretch> <verstretch>0</verstretch> </sizepolicy> </property> <property name="frameShape" > <enum>QFrame::WinPanel</enum> </property> <property name="frameShadow" > <enum>QFrame::Sunken</enum> </property> <property name="text" > <string>查找结果</string> </property> </widget> </item> </layout> </item> </layout> </widget> <resources> <include location="../../../chapter03/findfile/findfile.qrc" /> </resources> <connections/></ui>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -