123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264 |
- <?xml version="1.0" encoding="UTF-8"?>
- <ui version="4.0">
- <class>SaveToTemplate</class>
- <widget class="QDialog" name="SaveToTemplate">
- <property name="geometry">
- <rect>
- <x>0</x>
- <y>0</y>
- <width>416</width>
- <height>217</height>
- </rect>
- </property>
- <property name="windowTitle">
- <string>Dialog</string>
- </property>
- <property name="styleSheet">
- <string notr="true">QDialog#SaveToTemplate{
- background:transparent;
- };</string>
- </property>
- <widget class="QWidget" name="widget" native="true">
- <property name="geometry">
- <rect>
- <x>0</x>
- <y>0</y>
- <width>416</width>
- <height>217</height>
- </rect>
- </property>
- <property name="styleSheet">
- <string notr="true">QWidget{
- background: #FFFFFF;
- border-radius: 8px;
- font-family: 思源黑体R;
- font-weight: 400;
- font-size: 14px;
- color: #3A3F63;
- line-height: 21px;
- text-align: left;
- font-style: normal;
- }
- QLabel#label_NC1
- {
- font-family: 思源黑体M;
- font-weight: bold;
- font-size: 18px;
- color: #3A3F63;
- line-height: 27px;
- text-transform: uppercase;
- }
- QLabel#label_line
- {
- background: #E6E9F4;
- }
- QLabel#label_warn
- {
- color:red;
- }
- QPushButton#pBtn_close{
- border-image: url(:/ESM-8C_ICON/Dialog_close.png);
- }
- QPushButton#pBtn_close:hover{
-
- border-image: url(:/ESM-8C_ICON/Dialog_close2.png);
- }
- /********* 普通方框按钮三种状态效果 *********/
- QPushButton#pBtn_cancel
- {
- border-radius: 16px;
- text-align: center;
- background: #FFFFFF;
- border-radius: 16px;
- border: 1px solid #E6E9F4;
- color: #3A3F63;
- }
- QPushButton#pBtn_cancel:hover
- {
- border-radius: 16px;
- text-align: center;
- background: #FFFFFF;
- border-radius: 16px;
- border: 1px solid #4458FE;
- color: #4458FE;
- }
- /********* 带有底色按钮三种状态效果 *********/
- QPushButton#pBtn_ok
- {
- border-radius: 16px;
- text-align: center;
- color:white;
- background: qlineargradient( x0:1,x1:1,y1:0,y2:0,stop:1 #4F8AFF,stop:0 #4B5EFF);
- border-radius: 16px;
- }
- QPushButton#pBtn_ok:hover
- {
- border-radius: 16px;
- text-align: center;
- color:white;
- background: qlineargradient( x0:1,x1:1,y1:0,y2:0,stop:0 #5D73FF,stop:1 #6092FF);
- border-radius: 16px;
- }
- /**************** 报警红框 ****************/
- QLineEdit
- {
- background: #FFFFFF;
- border-radius: 4px;
- padding-left:12px;
- border: 1px solid #E6E9F4;
- }
- QLineEdit[Warn=true]
- {
- border: 1px solid #D21F21;
- }
- QLineEdit:!enabled/* 或者disable */
- {
- background: rgba(0,0,0,0.04);
- border: 1px solid #E6E9F4;
- }
- </string>
- </property>
- <widget class="QLabel" name="label_NC1">
- <property name="geometry">
- <rect>
- <x>32</x>
- <y>18</y>
- <width>110</width>
- <height>18</height>
- </rect>
- </property>
- <property name="text">
- <string>保存为模版</string>
- </property>
- </widget>
- <widget class="QLabel" name="label_line">
- <property name="geometry">
- <rect>
- <x>0</x>
- <y>56</y>
- <width>416</width>
- <height>1</height>
- </rect>
- </property>
- <property name="text">
- <string/>
- </property>
- </widget>
- <widget class="QPushButton" name="pBtn_close">
- <property name="geometry">
- <rect>
- <x>368</x>
- <y>12</y>
- <width>32</width>
- <height>32</height>
- </rect>
- </property>
- <property name="text">
- <string/>
- </property>
- </widget>
- <widget class="QLabel" name="label_NC3_x">
- <property name="geometry">
- <rect>
- <x>32</x>
- <y>98</y>
- <width>7</width>
- <height>14</height>
- </rect>
- </property>
- <property name="text">
- <string><html><head/><body><p><span style=" color:#ff0000;">*</span></p></body></html></string>
- </property>
- </widget>
- <widget class="QLabel" name="label_NC4">
- <property name="geometry">
- <rect>
- <x>40</x>
- <y>98</y>
- <width>70</width>
- <height>14</height>
- </rect>
- </property>
- <property name="text">
- <string>模板名称:</string>
- </property>
- </widget>
- <widget class="QLineEdit" name="lineEdit">
- <property name="geometry">
- <rect>
- <x>110</x>
- <y>89</y>
- <width>274</width>
- <height>32</height>
- </rect>
- </property>
- <property name="font">
- <font>
- <family>思源黑体R</family>
- <pointsize>-1</pointsize>
- <weight>50</weight>
- <italic>false</italic>
- <bold>false</bold>
- </font>
- </property>
- <property name="placeholderText">
- <string>请输入</string>
- </property>
- </widget>
- <widget class="QPushButton" name="pBtn_cancel">
- <property name="geometry">
- <rect>
- <x>248</x>
- <y>153</y>
- <width>60</width>
- <height>32</height>
- </rect>
- </property>
- <property name="text">
- <string>取消</string>
- </property>
- </widget>
- <widget class="QPushButton" name="pBtn_ok">
- <property name="geometry">
- <rect>
- <x>324</x>
- <y>153</y>
- <width>60</width>
- <height>32</height>
- </rect>
- </property>
- <property name="text">
- <string>保存</string>
- </property>
- </widget>
- <widget class="QLabel" name="label_warn">
- <property name="geometry">
- <rect>
- <x>116</x>
- <y>126</y>
- <width>261</width>
- <height>20</height>
- </rect>
- </property>
- <property name="text">
- <string/>
- </property>
- </widget>
- </widget>
- </widget>
- <resources/>
- <connections/>
- </ui>
|