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

📄 grabwindow.ui

📁 这是使用Qt编写的一个程序
💻 UI
字号:
<ui version="4.0" > <class>MainWindow</class> <widget class="QMainWindow" name="MainWindow" >  <property name="geometry" >   <rect>    <x>0</x>    <y>0</y>    <width>800</width>    <height>600</height>   </rect>  </property>  <property name="windowTitle" >   <string>屏幕截图</string>  </property>  <widget class="QWidget" name="centralwidget" >   <property name="geometry" >    <rect>     <x>0</x>     <y>0</y>     <width>800</width>     <height>600</height>    </rect>   </property>   <widget class="QPushButton" name="GrabPushButton" >    <property name="geometry" >     <rect>      <x>30</x>      <y>10</y>      <width>83</width>      <height>27</height>     </rect>    </property>    <property name="text" >     <string>截图</string>    </property>   </widget>   <widget class="QLabel" name="WidthLabel" >    <property name="geometry" >     <rect>      <x>290</x>      <y>60</y>      <width>57</width>      <height>18</height>     </rect>    </property>    <property name="text" >     <string>宽度</string>    </property>   </widget>   <widget class="QLabel" name="HeightLabel" >    <property name="geometry" >     <rect>      <x>300</x>      <y>100</y>      <width>57</width>      <height>18</height>     </rect>    </property>    <property name="text" >     <string>高度</string>    </property>   </widget>   <widget class="QSpinBox" name="WidthSpinBox" >    <property name="geometry" >     <rect>      <x>370</x>      <y>60</y>      <width>54</width>      <height>23</height>     </rect>    </property>   </widget>   <widget class="QSpinBox" name="HeightSpinBox" >    <property name="geometry" >     <rect>      <x>370</x>      <y>100</y>      <width>54</width>      <height>23</height>     </rect>    </property>   </widget>   <widget class="QLabel" name="GrabPromptLabel" >    <property name="geometry" >     <rect>      <x>30</x>      <y>140</y>      <width>57</width>      <height>18</height>     </rect>    </property>    <property name="text" >     <string>截图:</string>    </property>   </widget>   <widget class="QLabel" name="ThePictureLabel" >    <property name="geometry" >     <rect>      <x>100</x>      <y>130</y>      <width>671</width>      <height>441</height>     </rect>    </property>    <property name="sizePolicy" >     <sizepolicy vsizetype="Expanding" hsizetype="Expanding" >      <horstretch>0</horstretch>      <verstretch>0</verstretch>     </sizepolicy>    </property>    <property name="text" >     <string/>    </property>   </widget>   <widget class="QSpinBox" name="YSpinBox" >    <property name="geometry" >     <rect>      <x>140</x>      <y>90</y>      <width>54</width>      <height>23</height>     </rect>    </property>   </widget>   <widget class="QLabel" name="YLabel" >    <property name="geometry" >     <rect>      <x>70</x>      <y>90</y>      <width>57</width>      <height>18</height>     </rect>    </property>    <property name="text" >     <string>Y</string>    </property>   </widget>   <widget class="QSpinBox" name="XSpinBox" >    <property name="geometry" >     <rect>      <x>140</x>      <y>50</y>      <width>54</width>      <height>23</height>     </rect>    </property>   </widget>   <widget class="QLabel" name="XLabel" >    <property name="geometry" >     <rect>      <x>60</x>      <y>50</y>      <width>57</width>      <height>18</height>     </rect>    </property>    <property name="text" >     <string>X</string>    </property>   </widget>  </widget> </widget> <resources/> <connections>  <connection>   <sender>GrabPushButton</sender>   <signal>clicked()</signal>   <receiver>MainWindow</receiver>   <slot>Grab()</slot>   <hints>    <hint type="sourcelabel" >     <x>90</x>     <y>26</y>    </hint>    <hint type="destinationlabel" >     <x>116</x>     <y>395</y>    </hint>   </hints>  </connection> </connections> <slots>  <slot>Grab()</slot> </slots></ui>

⌨️ 快捷键说明

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