| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380 |
- <?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>910</width>
- <height>658</height>
- </rect>
- </property>
- <property name="font">
- <font>
- <family>Verdana</family>
- <pointsize>8</pointsize>
- </font>
- </property>
- <property name="windowTitle">
- <string>GridViewer</string>
- </property>
- <widget class="QWidget" name="centralwidget">
- <layout class="QHBoxLayout" name="horizontalLayout" stretch="2,0">
- <property name="spacing">
- <number>3</number>
- </property>
- <property name="leftMargin">
- <number>3</number>
- </property>
- <property name="topMargin">
- <number>3</number>
- </property>
- <property name="rightMargin">
- <number>3</number>
- </property>
- <property name="bottomMargin">
- <number>3</number>
- </property>
- <item>
- <layout class="QVBoxLayout" name="verticalLayout">
- <property name="spacing">
- <number>3</number>
- </property>
- <item>
- <widget class="QLabel" name="lbl_title">
- <property name="font">
- <font>
- <weight>75</weight>
- <bold>true</bold>
- </font>
- </property>
- <property name="focusPolicy">
- <enum>Qt::StrongFocus</enum>
- </property>
- <property name="text">
- <string>Grid Viewer</string>
- </property>
- <property name="alignment">
- <set>Qt::AlignCenter</set>
- </property>
- </widget>
- </item>
- <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</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>Flat Hex</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</string>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QSpinBox" name="spb_width">
- <property name="minimumSize">
- <size>
- <width>38</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>
- <property name="value">
- <number>30</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>38</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>
- <property name="value">
- <number>30</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>
- <item>
- <layout class="QHBoxLayout" name="horizontalLayout_4">
- <property name="topMargin">
- <number>0</number>
- </property>
- <item>
- <widget class="QLabel" name="label_3">
- <property name="text">
- <string>Zoom</string>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QToolButton" name="btn_zoom_plus">
- <property name="text">
- <string>+</string>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QToolButton" name="btn_zoom_minus">
- <property name="text">
- <string>-</string>
- </property>
- </widget>
- </item>
- <item>
- <spacer name="horizontalSpacer_2">
- <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="QCheckBox" name="chk_displayCoords">
- <property name="text">
- <string>Display coordinates</string>
- </property>
- <property name="checked">
- <bool>true</bool>
- </property>
- </widget>
- </item>
- </layout>
- </item>
- </layout>
- </item>
- <item>
- <layout class="QVBoxLayout" name="verticalLayout_2">
- <property name="spacing">
- <number>2</number>
- </property>
- <property name="leftMargin">
- <number>0</number>
- </property>
- <item>
- <layout class="QHBoxLayout" name="horizontalLayout_3">
- <property name="topMargin">
- <number>0</number>
- </property>
- <item>
- <widget class="QToolButton" name="btn_toClipboard">
- <property name="minimumSize">
- <size>
- <width>84</width>
- <height>35</height>
- </size>
- </property>
- <property name="maximumSize">
- <size>
- <width>84</width>
- <height>1000</height>
- </size>
- </property>
- <property name="text">
- <string>To clipboard</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="QToolButton" name="btn_updateSelection">
- <property name="minimumSize">
- <size>
- <width>50</width>
- <height>35</height>
- </size>
- </property>
- <property name="maximumSize">
- <size>
- <width>50</width>
- <height>1000</height>
- </size>
- </property>
- <property name="text">
- <string>>></string>
- </property>
- </widget>
- </item>
- </layout>
- </item>
- <item>
- <widget class="QTextEdit" name="txt_coords">
- <property name="minimumSize">
- <size>
- <width>183</width>
- <height>0</height>
- </size>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QLabel" name="label_4">
- <property name="text">
- <string>Run:</string>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QLineEdit" name="txt_stdin"/>
- </item>
- <item>
- <widget class="QTextEdit" name="txt_stdout">
- <property name="minimumSize">
- <size>
- <width>0</width>
- <height>120</height>
- </size>
- </property>
- <property name="maximumSize">
- <size>
- <width>16777215</width>
- <height>120</height>
- </size>
- </property>
- </widget>
- </item>
- </layout>
- </item>
- </layout>
- </widget>
- <widget class="QStatusBar" name="statusbar"/>
- <action name="actionQuitter">
- <property name="text">
- <string>Quitter</string>
- </property>
- </action>
- </widget>
- <resources/>
- <connections/>
- </ui>
|