| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202 |
- <?xml version="1.0" encoding="UTF-8"?>
- <ui version="4.0">
- <class>window</class>
- <widget class="QMainWindow" name="window">
- <property name="geometry">
- <rect>
- <x>0</x>
- <y>0</y>
- <width>791</width>
- <height>669</height>
- </rect>
- </property>
- <property name="font">
- <font>
- <family>Verdana</family>
- <pointsize>8</pointsize>
- </font>
- </property>
- <property name="windowTitle">
- <string>MainWindow</string>
- </property>
- <widget class="QWidget" name="centralwidget">
- <layout class="QVBoxLayout" name="verticalLayout_2">
- <item>
- <layout class="QVBoxLayout" name="verticalLayout">
- <property name="spacing">
- <number>3</number>
- </property>
- <item>
- <widget class="QGraphicsView" name="view"/>
- </item>
- <item>
- <layout class="QHBoxLayout" name="horizontalLayout_2">
- <property name="spacing">
- <number>10</number>
- </property>
- <property name="leftMargin">
- <number>10</number>
- </property>
- <property name="topMargin">
- <number>0</number>
- </property>
- <property name="rightMargin">
- <number>10</number>
- </property>
- <item>
- <widget class="QLabel" name="label">
- <property name="text">
- <string>Grid Viewer</string>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QRadioButton" name="opt_hex">
- <property name="minimumSize">
- <size>
- <width>0</width>
- <height>28</height>
- </size>
- </property>
- <property name="maximumSize">
- <size>
- <width>140</width>
- <height>28</height>
- </size>
- </property>
- <property name="text">
- <string>Hexagonal grid</string>
- </property>
- <property name="checked">
- <bool>true</bool>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QRadioButton" name="opt_square">
- <property name="minimumSize">
- <size>
- <width>0</width>
- <height>28</height>
- </size>
- </property>
- <property name="maximumSize">
- <size>
- <width>140</width>
- <height>28</height>
- </size>
- </property>
- <property name="text">
- <string>Square grid</string>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QSpinBox" name="spb_width">
- <property name="minimumSize">
- <size>
- <width>20</width>
- <height>28</height>
- </size>
- </property>
- <property name="maximumSize">
- <size>
- <width>80</width>
- <height>28</height>
- </size>
- </property>
- <property name="minimum">
- <number>1</number>
- </property>
- <property name="maximum">
- <number>999</number>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QLabel" name="label_2">
- <property name="minimumSize">
- <size>
- <width>10</width>
- <height>0</height>
- </size>
- </property>
- <property name="maximumSize">
- <size>
- <width>10</width>
- <height>16777215</height>
- </size>
- </property>
- <property name="text">
- <string>X</string>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QSpinBox" name="spb_height">
- <property name="minimumSize">
- <size>
- <width>20</width>
- <height>28</height>
- </size>
- </property>
- <property name="maximumSize">
- <size>
- <width>80</width>
- <height>28</height>
- </size>
- </property>
- <property name="minimum">
- <number>1</number>
- </property>
- <property name="maximum">
- <number>999</number>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QToolButton" name="btn_make">
- <property name="minimumSize">
- <size>
- <width>35</width>
- <height>35</height>
- </size>
- </property>
- <property name="text">
- <string>>></string>
- </property>
- </widget>
- </item>
- </layout>
- </item>
- </layout>
- </item>
- </layout>
- </widget>
- <widget class="QMenuBar" name="menubar">
- <property name="geometry">
- <rect>
- <x>0</x>
- <y>0</y>
- <width>791</width>
- <height>19</height>
- </rect>
- </property>
- <widget class="QMenu" name="menuFichier">
- <property name="title">
- <string>Fichier</string>
- </property>
- <addaction name="actionQuitter"/>
- </widget>
- <addaction name="menuFichier"/>
- </widget>
- <widget class="QStatusBar" name="statusbar"/>
- <action name="actionQuitter">
- <property name="text">
- <string>Quitter</string>
- </property>
- </action>
- </widget>
- <resources/>
- <connections/>
- </ui>
|