📄 finddialog.ui
字号:
<!DOCTYPE UI><UI version="3.3" stdsetdef="1"><class>findDialog</class><widget class="QDialog"> <property name="name"> <cstring>findDialog</cstring> </property> <property name="geometry"> <rect> <x>0</x> <y>0</y> <width>445</width> <height>125</height> </rect> </property> <property name="sizePolicy"> <sizepolicy> <hsizetype>0</hsizetype> <vsizetype>0</vsizetype> <horstretch>0</horstretch> <verstretch>0</verstretch> </sizepolicy> </property> <property name="minimumSize"> <size> <width>445</width> <height>125</height> </size> </property> <property name="maximumSize"> <size> <width>445</width> <height>125</height> </size> </property> <property name="caption"> <string>Find Text</string> </property> <property name="sizeGripEnabled"> <bool>false</bool> </property> <widget class="QButtonGroup"> <property name="name"> <cstring>buttonGroup2</cstring> </property> <property name="geometry"> <rect> <x>160</x> <y>40</y> <width>150</width> <height>80</height> </rect> </property> <property name="title"> <string>Options</string> </property> <widget class="QCheckBox"> <property name="name"> <cstring>CB_casesense</cstring> </property> <property name="geometry"> <rect> <x>10</x> <y>30</y> <width>130</width> <height>23</height> </rect> </property> <property name="text"> <string>Case &sensetive</string> </property> <property name="accel"> <string>Alt+S</string> </property> </widget> </widget> <widget class="QPushButton"> <property name="name"> <cstring>BtnFindNext</cstring> </property> <property name="geometry"> <rect> <x>320</x> <y>40</y> <width>120</width> <height>27</height> </rect> </property> <property name="text"> <string>Find &next</string> </property> <property name="accel"> <string>Alt+N</string> </property> </widget> <widget class="QPushButton"> <property name="name"> <cstring>BtnFind</cstring> </property> <property name="geometry"> <rect> <x>320</x> <y>10</y> <width>120</width> <height>27</height> </rect> </property> <property name="text"> <string>&Find</string> </property> <property name="accel"> <string>Alt+F</string> </property> </widget> <widget class="QButtonGroup"> <property name="name"> <cstring>buttonGroup1</cstring> </property> <property name="geometry"> <rect> <x>10</x> <y>40</y> <width>138</width> <height>80</height> </rect> </property> <property name="title"> <string>Direction</string> </property> <widget class="QRadioButton"> <property name="name"> <cstring>findfor</cstring> </property> <property name="geometry"> <rect> <x>10</x> <y>30</y> <width>118</width> <height>16</height> </rect> </property> <property name="text"> <string>Forwar&d</string> </property> <property name="accel"> <string>Alt+D</string> </property> </widget> <widget class="QRadioButton"> <property name="name"> <cstring>findback</cstring> </property> <property name="geometry"> <rect> <x>10</x> <y>50</y> <width>119</width> <height>23</height> </rect> </property> <property name="text"> <string>Back&ward</string> </property> <property name="accel"> <string>Alt+W</string> </property> </widget> </widget> <widget class="QLineEdit"> <property name="name"> <cstring>LEfind</cstring> </property> <property name="geometry"> <rect> <x>10</x> <y>10</y> <width>300</width> <height>25</height> </rect> </property> </widget></widget><connections> <connection> <sender>BtnFind</sender> <signal>clicked()</signal> <receiver>findDialog</receiver> <slot>find1()</slot> </connection> <connection> <sender>BtnFindNext</sender> <signal>clicked()</signal> <receiver>findDialog</receiver> <slot>findnext()</slot> </connection></connections><includes> <include location="local" impldecl="in declaration">qtextbrowser.h</include> <include location="local" impldecl="in implementation">commimainform.h</include> <include location="local" impldecl="in implementation">qstring.h</include> <include location="local" impldecl="in implementation">qmessagebox.h</include> <include location="local" impldecl="in implementation">finddialog.ui.h</include></includes><variables> <variable access="public">QTextBrowser *textB;</variable> <variable>int lastpos;</variable></variables><slots> <slot>find()</slot> <slot>find1()</slot> <slot>findnext()</slot></slots><functions> <function access="private" specifier="non virtual">init()</function></functions><pixmapinproject/><layoutdefaults spacing="6" margin="11"/></UI>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -