settingdlg.ui

来自「Qt开发的GRE背单词软件」· UI 代码 · 共 549 行 · 第 1/2 页

UI
549
字号
        <property name="spacing" >
         <number>6</number>
        </property>
        <property name="margin" >
         <number>0</number>
        </property>
        <item>
         <widget class="QPushButton" name="buttonNewColor" >
          <property name="text" >
           <string>新词</string>
          </property>
         </widget>
        </item>
        <item>
         <widget class="QLabel" name="labelNewColor" >
          <property name="text" >
           <string>示例</string>
          </property>
         </widget>
        </item>
       </layout>
      </item>
      <item>
       <layout class="QHBoxLayout" >
        <property name="spacing" >
         <number>6</number>
        </property>
        <property name="margin" >
         <number>0</number>
        </property>
        <item>
         <widget class="QPushButton" name="buttonUnfamiliarColor" >
          <property name="text" >
           <string>模糊词</string>
          </property>
         </widget>
        </item>
        <item>
         <widget class="QLabel" name="labelUnfamiliarColor" >
          <property name="text" >
           <string>示例</string>
          </property>
         </widget>
        </item>
       </layout>
      </item>
      <item>
       <layout class="QHBoxLayout" >
        <property name="spacing" >
         <number>6</number>
        </property>
        <property name="margin" >
         <number>0</number>
        </property>
        <item>
         <widget class="QPushButton" name="buttonFamiliarColor" >
          <property name="text" >
           <string>熟词</string>
          </property>
         </widget>
        </item>
        <item>
         <widget class="QLabel" name="labelFamiliarColor" >
          <property name="text" >
           <string>示例</string>
          </property>
         </widget>
        </item>
       </layout>
      </item>
      <item>
       <layout class="QHBoxLayout" >
        <property name="spacing" >
         <number>6</number>
        </property>
        <property name="margin" >
         <number>0</number>
        </property>
        <item>
         <widget class="QPushButton" name="buttonPhoneticColor" >
          <property name="text" >
           <string>音标</string>
          </property>
         </widget>
        </item>
        <item>
         <widget class="QLabel" name="labelPhoneticColor" >
          <property name="text" >
           <string>示例</string>
          </property>
         </widget>
        </item>
       </layout>
      </item>
     </layout>
    </widget>
   </item>
   <item rowspan="2" row="4" column="0" >
    <widget class="QGroupBox" name="groupBox_5" >
     <property name="title" >
      <string>左侧栏</string>
     </property>
     <layout class="QGridLayout" >
      <item row="0" column="0" >
       <widget class="QCheckBox" name="checkBoxAutoHide" >
        <property name="text" >
         <string>自动隐藏</string>
        </property>
        <property name="checked" >
         <bool>true</bool>
        </property>
       </widget>
      </item>
      <item row="1" column="0" >
       <widget class="QLabel" name="label_6" >
        <property name="text" >
         <string>自动隐藏延时</string>
        </property>
       </widget>
      </item>
      <item row="1" column="1" >
       <widget class="QSpinBox" name="spinBoxHideDelay" >
        <property name="suffix" >
         <string> 秒</string>
        </property>
        <property name="value" >
         <number>5</number>
        </property>
       </widget>
      </item>
      <item row="2" column="0" >
       <widget class="QLabel" name="label_12" >
        <property name="text" >
         <string>自动显示延时</string>
        </property>
       </widget>
      </item>
      <item row="2" column="1" >
       <widget class="QSpinBox" name="spinBoxShowDelay" >
        <property name="suffix" >
         <string> 秒</string>
        </property>
        <property name="value" >
         <number>1</number>
        </property>
       </widget>
      </item>
     </layout>
    </widget>
   </item>
   <item row="4" column="1" >
    <widget class="QGroupBox" name="groupBox_4" >
     <property name="title" >
      <string>其它</string>
     </property>
     <layout class="QVBoxLayout" name="verticalLayout" >
      <item>
       <layout class="QHBoxLayout" name="horizontalLayout" >
        <item>
         <widget class="QLabel" name="label_7" >
          <property name="text" >
           <string>分组过滤词</string>
          </property>
          <property name="alignment" >
           <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
          </property>
         </widget>
        </item>
        <item>
         <widget class="QLineEdit" name="lineEditFilteredChar" />
        </item>
       </layout>
      </item>
      <item>
       <layout class="QHBoxLayout" name="horizontalLayout_2" >
        <item>
         <widget class="QCheckBox" name="checkBoxAutoBackup" >
          <property name="text" >
           <string>自动备份</string>
          </property>
         </widget>
        </item>
        <item>
         <spacer name="horizontalSpacer" >
          <property name="orientation" >
           <enum>Qt::Horizontal</enum>
          </property>
          <property name="sizeHint" stdset="0" >
           <size>
            <width>40</width>
            <height>20</height>
           </size>
          </property>
         </spacer>
        </item>
        <item>
         <widget class="QLabel" name="label_11" >
          <property name="text" >
           <string>保留</string>
          </property>
         </widget>
        </item>
        <item>
         <widget class="QSpinBox" name="spinBoxBackupDays" >
          <property name="suffix" >
           <string>天</string>
          </property>
         </widget>
        </item>
       </layout>
      </item>
     </layout>
    </widget>
   </item>
   <item row="5" column="1" >
    <widget class="QDialogButtonBox" name="buttonBox" >
     <property name="sizePolicy" >
      <sizepolicy vsizetype="Expanding" hsizetype="Preferred" >
       <horstretch>0</horstretch>
       <verstretch>0</verstretch>
      </sizepolicy>
     </property>
     <property name="standardButtons" >
      <set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set>
     </property>
    </widget>
   </item>
  </layout>
 </widget>
 <layoutdefault spacing="6" margin="11" />
 <customwidgets>
  <customwidget>
   <class>ShortcutEdit</class>
   <extends>QLineEdit</extends>
   <header>shortcutedit.h</header>
  </customwidget>
 </customwidgets>
 <resources/>
 <connections>
  <connection>
   <sender>buttonBox</sender>
   <signal>accepted()</signal>
   <receiver>SettingDlgClass</receiver>
   <slot>accept()</slot>
   <hints>
    <hint type="sourcelabel" >
     <x>293</x>
     <y>257</y>
    </hint>
    <hint type="destinationlabel" >
     <x>238</x>
     <y>-6</y>
    </hint>
   </hints>
  </connection>
  <connection>
   <sender>buttonBox</sender>
   <signal>rejected()</signal>
   <receiver>SettingDlgClass</receiver>
   <slot>reject()</slot>
   <hints>
    <hint type="sourcelabel" >
     <x>159</x>
     <y>260</y>
    </hint>
    <hint type="destinationlabel" >
     <x>109</x>
     <y>-14</y>
    </hint>
   </hints>
  </connection>
 </connections>
</ui>

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?