加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
searchdialog.ui 13.43 KB
一键复制 编辑 原始数据 按行查看 历史
left-studio 提交于 2020-02-20 12:24 . update 1.1
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565
<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
<class>SearchDialog</class>
<widget class="QDialog" name="SearchDialog">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>422</width>
<height>251</height>
</rect>
</property>
<property name="font">
<font>
<family>微软雅黑</family>
<weight>50</weight>
<bold>false</bold>
</font>
</property>
<property name="focusPolicy">
<enum>Qt::StrongFocus</enum>
</property>
<property name="windowTitle">
<string>查找</string>
</property>
<property name="styleSheet">
<string notr="true">QDialog
{
background:rgb(238,238,238);
}</string>
</property>
<widget class="QLabel" name="label">
<property name="geometry">
<rect>
<x>30</x>
<y>80</y>
<width>91</width>
<height>31</height>
</rect>
</property>
<property name="font">
<font>
<family>微软雅黑</family>
<pointsize>10</pointsize>
<weight>50</weight>
<bold>false</bold>
</font>
</property>
<property name="text">
<string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;&lt;span style=&quot; font-size:14pt; font-weight:600;&quot;&gt;查找内容:&lt;/span&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
</property>
</widget>
<widget class="QPushButton" name="Find_next">
<property name="geometry">
<rect>
<x>310</x>
<y>190</y>
<width>81</width>
<height>31</height>
</rect>
</property>
<property name="palette">
<palette>
<active>
<colorrole role="WindowText">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>230</red>
<green>248</green>
<blue>245</blue>
</color>
</brush>
</colorrole>
<colorrole role="Button">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>22</red>
<green>155</green>
<blue>213</blue>
</color>
</brush>
</colorrole>
<colorrole role="Text">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>230</red>
<green>248</green>
<blue>245</blue>
</color>
</brush>
</colorrole>
<colorrole role="ButtonText">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>230</red>
<green>248</green>
<blue>245</blue>
</color>
</brush>
</colorrole>
<colorrole role="Base">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>22</red>
<green>155</green>
<blue>213</blue>
</color>
</brush>
</colorrole>
<colorrole role="Window">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>22</red>
<green>155</green>
<blue>213</blue>
</color>
</brush>
</colorrole>
<colorrole role="PlaceholderText">
<brush brushstyle="NoBrush">
<color alpha="128">
<red>230</red>
<green>248</green>
<blue>245</blue>
</color>
</brush>
</colorrole>
</active>
<inactive>
<colorrole role="WindowText">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>230</red>
<green>248</green>
<blue>245</blue>
</color>
</brush>
</colorrole>
<colorrole role="Button">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>22</red>
<green>155</green>
<blue>213</blue>
</color>
</brush>
</colorrole>
<colorrole role="Text">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>230</red>
<green>248</green>
<blue>245</blue>
</color>
</brush>
</colorrole>
<colorrole role="ButtonText">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>230</red>
<green>248</green>
<blue>245</blue>
</color>
</brush>
</colorrole>
<colorrole role="Base">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>22</red>
<green>155</green>
<blue>213</blue>
</color>
</brush>
</colorrole>
<colorrole role="Window">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>22</red>
<green>155</green>
<blue>213</blue>
</color>
</brush>
</colorrole>
<colorrole role="PlaceholderText">
<brush brushstyle="NoBrush">
<color alpha="128">
<red>230</red>
<green>248</green>
<blue>245</blue>
</color>
</brush>
</colorrole>
</inactive>
<disabled>
<colorrole role="WindowText">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>230</red>
<green>248</green>
<blue>245</blue>
</color>
</brush>
</colorrole>
<colorrole role="Button">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>22</red>
<green>155</green>
<blue>213</blue>
</color>
</brush>
</colorrole>
<colorrole role="Text">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>230</red>
<green>248</green>
<blue>245</blue>
</color>
</brush>
</colorrole>
<colorrole role="ButtonText">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>230</red>
<green>248</green>
<blue>245</blue>
</color>
</brush>
</colorrole>
<colorrole role="Base">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>22</red>
<green>155</green>
<blue>213</blue>
</color>
</brush>
</colorrole>
<colorrole role="Window">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>22</red>
<green>155</green>
<blue>213</blue>
</color>
</brush>
</colorrole>
<colorrole role="PlaceholderText">
<brush brushstyle="NoBrush">
<color alpha="128">
<red>230</red>
<green>248</green>
<blue>245</blue>
</color>
</brush>
</colorrole>
</disabled>
</palette>
</property>
<property name="font">
<font>
<family>微软雅黑</family>
<pointsize>9</pointsize>
<weight>50</weight>
<bold>false</bold>
</font>
</property>
<property name="focusPolicy">
<enum>Qt::StrongFocus</enum>
</property>
<property name="toolTip">
<string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;查找下一个&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
</property>
<property name="styleSheet">
<string notr="true">QPushButton
{
border-style:none;
padding:10px;
border-radius:6px;
color:#E6F8F5;
background:rgb(22,155,213);
}
QPushButton:hover
{
color:#FFFFFF;
background:rgb(70, 197, 255);
}
QPushButton:pressed
{
color:#A7EEE6;
background:rgb(19, 139, 190);
}</string>
</property>
<property name="text">
<string>查找</string>
</property>
</widget>
<widget class="QPushButton" name="CancelButton">
<property name="geometry">
<rect>
<x>210</x>
<y>190</y>
<width>81</width>
<height>31</height>
</rect>
</property>
<property name="font">
<font>
<family>微软雅黑</family>
<pointsize>9</pointsize>
<weight>50</weight>
<bold>false</bold>
</font>
</property>
<property name="focusPolicy">
<enum>Qt::StrongFocus</enum>
</property>
<property name="toolTip">
<string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;关闭窗口&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
</property>
<property name="styleSheet">
<string notr="true">QPushButton
{
border-style:none;
padding:2px;
border-radius:5px;
border:1px solid rgb(119,119,119);
color:black;
background:white;
}
QPushButton:hover
{
background:rgb(250, 250, 250);
}
QPushButton:pressed
{
background:rgb(220, 220, 220);
}</string>
</property>
<property name="text">
<string>取消</string>
</property>
</widget>
<widget class="QGroupBox" name="groupBox">
<property name="geometry">
<rect>
<x>50</x>
<y>130</y>
<width>141</width>
<height>41</height>
</rect>
</property>
<property name="font">
<font>
<family>微软雅黑</family>
<pointsize>9</pointsize>
<weight>50</weight>
<bold>false</bold>
</font>
</property>
<property name="title">
<string>搜索方向</string>
</property>
<widget class="QRadioButton" name="RB_down">
<property name="geometry">
<rect>
<x>80</x>
<y>20</y>
<width>51</width>
<height>18</height>
</rect>
</property>
<property name="font">
<font>
<family>微软雅黑</family>
<pointsize>9</pointsize>
<weight>50</weight>
<bold>false</bold>
</font>
</property>
<property name="text">
<string>向后</string>
</property>
<property name="checked">
<bool>true</bool>
</property>
</widget>
<widget class="QRadioButton" name="RB_up">
<property name="geometry">
<rect>
<x>20</x>
<y>20</y>
<width>51</width>
<height>16</height>
</rect>
</property>
<property name="font">
<font>
<family>微软雅黑</family>
<pointsize>9</pointsize>
<weight>50</weight>
<bold>false</bold>
</font>
</property>
<property name="text">
<string>向前</string>
</property>
</widget>
</widget>
<widget class="QLineEdit" name="SearchBox">
<property name="geometry">
<rect>
<x>140</x>
<y>80</y>
<width>231</width>
<height>31</height>
</rect>
</property>
<property name="font">
<font>
<family>微软雅黑</family>
<pointsize>11</pointsize>
<weight>50</weight>
<bold>false</bold>
</font>
</property>
<property name="styleSheet">
<string notr="true">QLineEdit
{
border-style:none;
padding:2px;
border-radius:5px;
border:2px solid #DCE4EC;
}
QLineEdit:focus
{
border:2px solid rgb(22,155,213);
}</string>
</property>
</widget>
<widget class="QLabel" name="TitleLabel">
<property name="geometry">
<rect>
<x>40</x>
<y>20</y>
<width>61</width>
<height>41</height>
</rect>
</property>
<property name="font">
<font>
<family>微软雅黑</family>
<pointsize>18</pointsize>
<weight>50</weight>
<bold>false</bold>
</font>
</property>
<property name="text">
<string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;&lt;span style=&quot; font-size:20pt; font-weight:600;&quot;&gt;查找&lt;/span&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
</property>
<property name="textFormat">
<enum>Qt::AutoText</enum>
</property>
<property name="wordWrap">
<bool>false</bool>
</property>
<property name="openExternalLinks">
<bool>false</bool>
</property>
</widget>
<widget class="QLabel" name="label_2">
<property name="geometry">
<rect>
<x>210</x>
<y>150</y>
<width>71</width>
<height>16</height>
</rect>
</property>
<property name="font">
<font>
<family>微软雅黑</family>
<pointsize>10</pointsize>
</font>
</property>
<property name="text">
<string>区分大小写</string>
</property>
</widget>
<widget class="SwitchButton" name="CaseSensitive">
<property name="geometry">
<rect>
<x>280</x>
<y>150</y>
<width>51</width>
<height>21</height>
</rect>
</property>
<property name="space">
<number>6</number>
</property>
<property name="rectRadius">
<number>4</number>
</property>
<property name="checked">
<bool>true</bool>
</property>
<property name="showText">
<bool>false</bool>
</property>
<property name="animation">
<bool>true</bool>
</property>
<property name="buttonStyle">
<enum>SwitchButton::ButtonStyle_CircleOut</enum>
</property>
<property name="bgColorOn">
<color>
<red>22</red>
<green>155</green>
<blue>213</blue>
</color>
</property>
<property name="sliderColorOn">
<color>
<red>22</red>
<green>155</green>
<blue>213</blue>
</color>
</property>
</widget>
</widget>
<customwidgets>
<customwidget>
<class>SwitchButton</class>
<extends>QWidget</extends>
<header>switchbutton.h</header>
</customwidget>
</customwidgets>
<resources/>
<connections>
<connection>
<sender>CancelButton</sender>
<signal>clicked()</signal>
<receiver>SearchDialog</receiver>
<slot>close()</slot>
<hints>
<hint type="sourcelabel">
<x>349</x>
<y>79</y>
</hint>
<hint type="destinationlabel">
<x>210</x>
<y>61</y>
</hint>
</hints>
</connection>
</connections>
</ui>
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化