⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 promotetocustomwidgetdialog.ui

📁 QT 开发环境里面一个很重要的文件
💻 UI
字号:
<ui version="4.0" > <comment>************************************************************************* Copyright (C) 1992-2006 Trolltech ASA. All rights reserved.**** This file is part of the Qt Designer of the Qt Toolkit.**** This file may be used under the terms of the GNU General Public** License version 2.0 as published by the Free Software Foundation** and appearing in the file LICENSE.GPL included in the packaging of** this file.  Please review the following information to ensure GNU** General Public Licensing requirements will be met:** http://www.trolltech.com/products/qt/opensource.html**** If you are unsure which license is appropriate for your use, please** review the following information:** http://www.trolltech.com/products/qt/licensing.html or contact the** sales department at sales@trolltech.com.**** This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE** WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.***********************************************************************</comment> <class>qdesigner_internal::PromoteToCustomWidgetDialog</class> <widget class="QDialog" name="qdesigner_internal::PromoteToCustomWidgetDialog" >  <property name="geometry" >   <rect>    <x>0</x>    <y>0</y>    <width>400</width>    <height>156</height>   </rect>  </property>  <property name="windowTitle" >   <string>Promote to Custom Widget</string>  </property>  <layout class="QVBoxLayout" >   <property name="margin" >    <number>9</number>   </property>   <property name="spacing" >    <number>6</number>   </property>   <item>    <layout class="QGridLayout" >     <property name="margin" >      <number>1</number>     </property>     <property name="spacing" >      <number>6</number>     </property>     <item row="1" column="0" >      <widget class="QLabel" name="label" >       <property name="frameShape" >        <enum>QFrame::NoFrame</enum>       </property>       <property name="frameShadow" >        <enum>QFrame::Plain</enum>       </property>       <property name="text" >        <string>Custom class name:</string>       </property>       <property name="textFormat" >        <enum>Qt::AutoText</enum>       </property>      </widget>     </item>     <item row="2" column="1" >      <widget class="QLineEdit" name="m_header_file_input" >       <property name="text" >        <string/>       </property>       <property name="echoMode" >        <enum>QLineEdit::Normal</enum>       </property>      </widget>     </item>     <item row="1" column="1" >      <widget class="QComboBox" name="m_class_name_input" >       <property name="sizePolicy" >        <sizepolicy>         <hsizetype>1</hsizetype>         <vsizetype>0</vsizetype>         <horstretch>0</horstretch>         <verstretch>0</verstretch>        </sizepolicy>       </property>       <property name="editable" >        <bool>true</bool>       </property>       <property name="insertPolicy" >        <enum>QComboBox::NoInsert</enum>       </property>      </widget>     </item>     <item row="0" column="1" >      <widget class="QLabel" name="m_base_class_name_label" >       <property name="font" >        <font>         <family>Sans Serif</family>         <pointsize>9</pointsize>         <weight>75</weight>         <italic>false</italic>         <bold>true</bold>         <underline>false</underline>         <strikeout>false</strikeout>        </font>       </property>       <property name="frameShape" >        <enum>QFrame::NoFrame</enum>       </property>       <property name="frameShadow" >        <enum>QFrame::Plain</enum>       </property>       <property name="text" >        <string/>       </property>       <property name="textFormat" >        <enum>Qt::AutoText</enum>       </property>      </widget>     </item>     <item row="0" column="0" >      <widget class="QLabel" name="label_3" >       <property name="frameShape" >        <enum>QFrame::NoFrame</enum>       </property>       <property name="frameShadow" >        <enum>QFrame::Plain</enum>       </property>       <property name="text" >        <string>Base class name:</string>       </property>       <property name="textFormat" >        <enum>Qt::AutoText</enum>       </property>      </widget>     </item>     <item row="2" column="0" >      <widget class="QLabel" name="label_2" >       <property name="frameShape" >        <enum>QFrame::NoFrame</enum>       </property>       <property name="frameShadow" >        <enum>QFrame::Plain</enum>       </property>       <property name="text" >        <string>Header file:</string>       </property>       <property name="textFormat" >        <enum>Qt::AutoText</enum>       </property>      </widget>     </item>    </layout>   </item>   <item>    <spacer>     <property name="orientation" >      <enum>Qt::Vertical</enum>     </property>     <property name="sizeHint" >      <size>       <width>382</width>       <height>16</height>      </size>     </property>    </spacer>   </item>   <item>    <widget class="QFrame" name="horizontalLine" >     <property name="frameShape" >      <enum>QFrame::HLine</enum>     </property>     <property name="frameShadow" >      <enum>QFrame::Sunken</enum>     </property>    </widget>   </item>   <item>    <widget class="QDialogButtonBox" name="buttonBox" >     <property name="orientation" >      <enum>Qt::Horizontal</enum>     </property>     <property name="standardButtons" >      <set>QDialogButtonBox::Cancel|QDialogButtonBox::NoButton|QDialogButtonBox::Ok</set>     </property>    </widget>   </item>  </layout> </widget> <resources/> <connections>  <connection>   <sender>buttonBox</sender>   <signal>accepted()</signal>   <receiver>qdesigner_internal::PromoteToCustomWidgetDialog</receiver>   <slot>accept()</slot>   <hints>    <hint type="sourcelabel" >     <x>35</x>     <y>136</y>    </hint>    <hint type="destinationlabel" >     <x>11</x>     <y>95</y>    </hint>   </hints>  </connection>  <connection>   <sender>buttonBox</sender>   <signal>rejected()</signal>   <receiver>qdesigner_internal::PromoteToCustomWidgetDialog</receiver>   <slot>reject()</slot>   <hints>    <hint type="sourcelabel" >     <x>353</x>     <y>136</y>    </hint>    <hint type="destinationlabel" >     <x>394</x>     <y>92</y>    </hint>   </hints>  </connection> </connections></ui>

⌨️ 快捷键说明

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