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

📄 mainwindow.ui

📁 一个关于snake算法的VISUAL C++的实现
💻 UI
字号:
<ui version="4.0" > <author>SSIP2006 Team1</author> <comment></comment> <exportmacro></exportmacro> <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>Snake Ballooning</string>  </property>  <widget class="QWidget" name="centralwidget" >   <widget class="QToolBox" name="m_toolBox" >    <property name="geometry" >     <rect>      <x>540</x>      <y>40</y>      <width>171</width>      <height>341</height>     </rect>    </property>    <property name="currentIndex" >     <number>0</number>    </property>    <widget class="QWidget" name="m_snakeTools" >     <property name="geometry" >      <rect>       <x>0</x>       <y>0</y>       <width>171</width>       <height>285</height>      </rect>     </property>     <attribute name="label" >      <string>Snake</string>     </attribute>     <widget class="QPushButton" name="m_initEllipseButton" >      <property name="geometry" >       <rect>        <x>40</x>        <y>10</y>        <width>100</width>        <height>25</height>       </rect>      </property>      <property name="text" >       <string>init Snake </string>      </property>     </widget>     <widget class="QPushButton" name="m_snakeButton" >      <property name="geometry" >       <rect>        <x>40</x>        <y>40</y>        <width>100</width>        <height>25</height>       </rect>      </property>      <property name="text" >       <string>&amp;Start Snake ...</string>      </property>     </widget>     <widget class="QGroupBox" name="m_iterationBox" >      <property name="geometry" >       <rect>        <x>30</x>        <y>80</y>        <width>120</width>        <height>131</height>       </rect>      </property>      <property name="title" >       <string>Iterations</string>      </property>      <property name="flat" >       <bool>false</bool>      </property>      <property name="checkable" >       <bool>false</bool>      </property>      <widget class="QRadioButton" name="m_iterationOn" >       <property name="geometry" >        <rect>         <x>20</x>         <y>30</y>         <width>81</width>         <height>19</height>        </rect>       </property>       <property name="text" >        <string>on</string>       </property>      </widget>      <widget class="QRadioButton" name="m_iterationOff" >       <property name="geometry" >        <rect>         <x>20</x>         <y>60</y>         <width>81</width>         <height>19</height>        </rect>       </property>       <property name="text" >        <string>off</string>       </property>      </widget>      <widget class="QRadioButton" name="m_iterationStep" >       <property name="geometry" >        <rect>         <x>20</x>         <y>90</y>         <width>81</width>         <height>19</height>        </rect>       </property>       <property name="text" >        <string>stepwise</string>       </property>      </widget>     </widget>     <widget class="QPushButton" name="m_demoButton" >      <property name="geometry" >       <rect>        <x>40</x>        <y>230</y>        <width>100</width>        <height>25</height>       </rect>      </property>      <property name="text" >       <string comment="starts a small demo with an ellipse" >&amp;DEMO</string>      </property>     </widget>    </widget>    <widget class="QWidget" name="m_preprocessingTools" >     <property name="geometry" >      <rect>       <x>0</x>       <y>0</y>       <width>97</width>       <height>27</height>      </rect>     </property>     <attribute name="label" >      <string>Preprocessing</string>     </attribute>    </widget>   </widget>   <widget class="QFrame" name="m_imageFrame" >    <property name="geometry" >     <rect>      <x>0</x>      <y>0</y>      <width>512</width>      <height>512</height>     </rect>    </property>    <property name="frameShape" >     <enum>QFrame::StyledPanel</enum>    </property>    <property name="frameShadow" >     <enum>QFrame::Raised</enum>    </property>   </widget>  </widget>  <widget class="QMenuBar" name="menubar" >   <property name="geometry" >    <rect>     <x>0</x>     <y>0</y>     <width>800</width>     <height>19</height>    </rect>   </property>   <widget class="QMenu" name="m_menuFile" >    <property name="title" >     <string>&amp;File</string>    </property>    <addaction name="m_actionOpen" />    <addaction name="m_actionSave" />    <addaction name="m_actionSaveAs" />    <addaction name="separator" />    <addaction name="m_actionQuit" />   </widget>   <widget class="QMenu" name="menu_View" >    <property name="title" >     <string>&amp;View</string>    </property>    <addaction name="m_actionZoomNormal" />    <addaction name="m_actionZoomFit" />    <addaction name="separator" />    <addaction name="m_actionZoomIn" />    <addaction name="m_actionZoomOut" />   </widget>   <addaction name="m_menuFile" />   <addaction name="menu_View" />  </widget>  <widget class="QStatusBar" name="statusbar" />  <action name="m_actionOpen" >   <property name="text" >    <string>&amp;Open</string>   </property>  </action>  <action name="m_actionSave" >   <property name="text" >    <string>&amp;Save</string>   </property>  </action>  <action name="m_actionSaveAs" >   <property name="text" >    <string>Save &amp;as ...</string>   </property>  </action>  <action name="m_actionQuit" >   <property name="text" >    <string>&amp;Quit</string>   </property>   <property name="shortcut" >    <string>Ctrl+Q</string>   </property>  </action>  <action name="m_actionZoomNormal" >   <property name="text" >    <string>Zoom &amp;normal (100%)</string>   </property>  </action>  <action name="m_actionZoomIn" >   <property name="text" >    <string>Zoom &amp;in</string>   </property>  </action>  <action name="m_actionZoomOut" >   <property name="text" >    <string>Zoom &amp;out</string>   </property>  </action>  <action name="m_actionZoomFit" >   <property name="text" >    <string>Zoom &amp;fit</string>   </property>  </action> </widget> <pixmapfunction></pixmapfunction> <includes/> <resources/> <connections>  <connection>   <sender>m_actionQuit</sender>   <signal>triggered()</signal>   <receiver>MainWindow</receiver>   <slot>close()</slot>   <hints>    <hint type="sourcelabel" >     <x>-1</x>     <y>-1</y>    </hint>    <hint type="destinationlabel" >     <x>503</x>     <y>372</y>    </hint>   </hints>  </connection> </connections></ui>

⌨️ 快捷键说明

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