📄 finddialog.ui
字号:
<!DOCTYPE UI><UI version="3.0" stdsetdef="1"><class>FindDialog</class><comment>*********************************************************************** Copyright (C) 2001 Trolltech AS. All rights reserved.**** This file is part of Qt Designer.**** This file may be distributed and/or modified under the terms of the** GNU General Public License version 2 as published by the Free Software** Foundation and appearing in the file LICENSE.GPL included in the** packaging of this file.**** This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE** WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.**** See http://www.trolltech.com/gpl/ for GPL licensing information.**** Contact info@trolltech.com if any conditions of this licensing are** not clear to you.***********************************************************************</comment><widget class="QDialog"> <property name="name"> <cstring>FindDialog</cstring> </property> <property name="geometry"> <rect> <x>0</x> <y>0</y> <width>285</width> <height>189</height> </rect> </property> <property name="caption"> <string>Find Text</string> </property> <grid> <property name="name"> <cstring>unnamed</cstring> </property> <property name="margin"> <number>11</number> </property> <property name="spacing"> <number>6</number> </property> <widget class="QLayoutWidget" row="0" column="0" rowspan="1" colspan="2"> <property name="name"> <cstring>Layout1</cstring> </property> <hbox> <property name="name"> <cstring>unnamed</cstring> </property> <property name="margin"> <number>0</number> </property> <property name="spacing"> <number>6</number> </property> <widget class="QLabel"> <property name="name"> <cstring>TextLabel1</cstring> </property> <property name="text"> <string>F&ind:</string> </property> <property name="buddy" stdset="0"> <cstring>comboFind</cstring> </property> </widget> <widget class="QComboBox"> <property name="name"> <cstring>comboFind</cstring> </property> <property name="sizePolicy"> <sizepolicy> <hsizetype>7</hsizetype> <vsizetype>0</vsizetype> <horstretch>0</horstretch> <verstretch>0</verstretch> </sizepolicy> </property> <property name="editable"> <bool>true</bool> </property> </widget> </hbox> </widget> <widget class="QLayoutWidget" row="2" column="0" rowspan="1" colspan="2"> <property name="name"> <cstring>Layout2</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"> <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>PushButton1</cstring> </property> <property name="text"> <string>&Find</string> </property> <property name="default"> <bool>true</bool> </property> </widget> <widget class="QPushButton"> <property name="name"> <cstring>PushButton2</cstring> </property> <property name="text"> <string>&Close</string> </property> </widget> </hbox> </widget> <widget class="QButtonGroup" row="1" column="1"> <property name="name"> <cstring>ButtonGroup2</cstring> </property> <property name="title"> <string>Direction</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>radioForward</cstring> </property> <property name="text"> <string>Forwar&d</string> </property> <property name="checked"> <bool>true</bool> </property> </widget> <widget class="QRadioButton"> <property name="name"> <cstring>radioBackward</cstring> </property> <property name="text"> <string>Bac&kward</string> </property> </widget> </vbox> </widget> <widget class="QButtonGroup" row="1" column="0"> <property name="name"> <cstring>ButtonGroup1</cstring> </property> <property name="title"> <string>Options</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="QCheckBox"> <property name="name"> <cstring>checkWords</cstring> </property> <property name="text"> <string>&Whole words only</string> </property> </widget> <widget class="QCheckBox"> <property name="name"> <cstring>checkCase</cstring> </property> <property name="text"> <string>Case &sensitive</string> </property> </widget> <widget class="QCheckBox"> <property name="name"> <cstring>checkBegin</cstring> </property> <property name="text"> <string>Start at &Beginning</string> </property> </widget> </vbox> </widget> </grid></widget><connections> <connection> <sender>PushButton1</sender> <signal>clicked()</signal> <receiver>FindDialog</receiver> <slot>doFind()</slot> </connection> <connection> <sender>PushButton2</sender> <signal>clicked()</signal> <receiver>FindDialog</receiver> <slot>reject()</slot> </connection></connections><tabstops> <tabstop>comboFind</tabstop> <tabstop>checkWords</tabstop> <tabstop>checkCase</tabstop> <tabstop>checkBegin</tabstop> <tabstop>radioForward</tabstop> <tabstop>radioBackward</tabstop> <tabstop>PushButton1</tabstop> <tabstop>PushButton2</tabstop></tabstops><includes> <include location="global" impldecl="in implementation">qlineedit.h</include> <include location="local" impldecl="in implementation">../interfaces/editorinterface.h</include> <include location="local" impldecl="in implementation">finddialog.ui.h</include></includes><forwards> <forward>struct EditorInterface;</forward></forwards><variables> <variable>EditorInterface *editor;</variable> <variable>QObject *formWindow;</variable></variables><slots> <slot>init()</slot> <slot>destroy()</slot> <slot>doFind()</slot> <slot>setEditor( EditorInterface * e, QObject * fw )</slot></slots><layoutdefaults spacing="6" margin="11"/></UI>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -