<ui version="4.0" language="jambi" > <class>CalculatorDockable</class> <widget class="QMainWindow" name="CalculatorDockable" > <property name="geometry" > <rect> <x>0</x> <y>0</y> <width>455</width> <height>398</height> </rect> </property> <property name="windowTitle" > <string>MainWindow</string> </property> <property name="dockNestingEnabled" > <bool>true</bool> </property> <widget class="QWidget" name="centralwidget" > <layout class="QGridLayout" > <property name="margin" > <number>9</number> </property> <property name="spacing" > <number>6</number> </property> <item row="0" column="0" > <widget class="QTextBrowser" name="textBrowser" > <property name="sizePolicy" > <sizepolicy> <hsizetype>7</hsizetype> <vsizetype>7</vsizetype> <horstretch>1</horstretch> <verstretch>0</verstretch> </sizepolicy> </property> <property name="lineWrapMode" > <enum>com.trolltech.qt.gui.QTextEdit.LineWrapMode.NoWrap</enum> </property> </widget> </item> </layout> </widget> <widget class="QMenuBar" name="menubar" > <property name="geometry" > <rect> <x>0</x> <y>0</y> <width>455</width> <height>19</height> </rect> </property> </widget> <widget class="QStatusBar" name="statusbar" /> <widget class="QDockWidget" name="dockWidget_2" > <property name="windowTitle" > <string>Trigometry</string> </property> <attribute name="dockWidgetArea" > <number>2</number> </attribute> <widget class="QWidget" name="dockWidgetContents_2" > <layout class="QGridLayout" > <property name="margin" > <number>9</number> </property> <property name="spacing" > <number>6</number> </property> <item row="0" column="0" > <layout class="QVBoxLayout" > <property name="margin" > <number>0</number> </property> <property name="spacing" > <number>6</number> </property> <item> <widget class="QToolButton" name="button_cos" > <property name="sizePolicy" > <sizepolicy> <hsizetype>5</hsizetype> <vsizetype>0</vsizetype> <horstretch>0</horstretch> <verstretch>0</verstretch> </sizepolicy> </property> <property name="text" > <string>Cos</string> </property> </widget> </item> <item> <widget class="QToolButton" name="button_sin" > <property name="sizePolicy" > <sizepolicy> <hsizetype>5</hsizetype> <vsizetype>0</vsizetype> <horstretch>0</horstretch> <verstretch>0</verstretch> </sizepolicy> </property> <property name="text" > <string>Sin</string> </property> </widget> </item> <item> <spacer> <property name="orientation" > <enum>com.trolltech.qt.core.Qt.Orientation.Vertical</enum> </property> <property name="sizeHint" > <size> <width>20</width> <height>20</height> </size> </property> </spacer> </item> </layout> </item> <item row="0" column="1" > <spacer> <property name="orientation" > <enum>com.trolltech.qt.core.Qt.Orientation.Horizontal</enum> </property> <property name="sizeHint" > <size> <width>40</width> <height>20</height> </size> </property> </spacer> </item> </layout> </widget> </widget> <widget class="QDockWidget" name="dockWidget" > <property name="sizePolicy" > <sizepolicy> <hsizetype>4</hsizetype> <vsizetype>4</vsizetype> <horstretch>0</horstretch> <verstretch>0</verstretch> </sizepolicy> </property> <property name="windowTitle" > <string>Keypad</string> </property> <attribute name="dockWidgetArea" > <number>2</number> </attribute> <widget class="QWidget" name="dockWidgetContents" > <layout class="QGridLayout" > <property name="margin" > <number>9</number> </property> <property name="spacing" > <number>6</number> </property> <item row="4" column="2" > <widget class="QToolButton" name="button_comma" > <property name="sizePolicy" > <sizepolicy> <hsizetype>1</hsizetype> <vsizetype>1</vsizetype> <horstretch>0</horstretch> <verstretch>0</verstretch> </sizepolicy> </property> <property name="text" > <string>.</string> </property> </widget> </item> <item row="3" column="2" > <widget class="QToolButton" name="button_3" > <property name="sizePolicy" > <sizepolicy> <hsizetype>1</hsizetype> <vsizetype>1</vsizetype> <horstretch>0</horstretch> <verstretch>0</verstretch> </sizepolicy> </property> <property name="text" > <string>3</string> </property> </widget> </item> <item row="0" column="2" > <widget class="QToolButton" name="button_devide" > <property name="sizePolicy" > <sizepolicy> <hsizetype>1</hsizetype> <vsizetype>1</vsizetype> <horstretch>0</horstretch> <verstretch>0</verstretch> </sizepolicy> </property> <property name="text" > <string>/</string> </property> </widget> </item> <item row="1" column="2" > <widget class="QToolButton" name="button_9" > <property name="sizePolicy" > <sizepolicy> <hsizetype>1</hsizetype> <vsizetype>1</vsizetype> <horstretch>0</horstretch> <verstretch>0</verstretch> </sizepolicy> </property> <property name="text" > <string>9</string> </property> </widget> </item> <item row="2" column="2" > <widget class="QToolButton" name="button_6" > <property name="sizePolicy" > <sizepolicy> <hsizetype>1</hsizetype> <vsizetype>1</vsizetype> <horstretch>0</horstretch> <verstretch>0</verstretch> </sizepolicy> </property> <property name="text" > <string>6</string> </property> </widget> </item> <item row="4" column="0" colspan="2" > <widget class="QToolButton" name="button_0" > <property name="sizePolicy" > <sizepolicy> <hsizetype>1</hsizetype> <vsizetype>1</vsizetype> <horstretch>0</horstretch> <verstretch>0</verstretch> </sizepolicy> </property> <property name="text" > <string>0</string> </property> </widget> </item> <item row="3" column="0" > <widget class="QToolButton" name="button_1" > <property name="sizePolicy" > <sizepolicy> <hsizetype>1</hsizetype> <vsizetype>1</vsizetype> <horstretch>0</horstretch> <verstretch>0</verstretch> </sizepolicy> </property> <property name="text" > <string>1</string> </property> </widget> </item> <item row="3" column="1" > <widget class="QToolButton" name="button_2" > <property name="sizePolicy" > <sizepolicy> <hsizetype>1</hsizetype> <vsizetype>1</vsizetype> <horstretch>0</horstretch> <verstretch>0</verstretch> </sizepolicy> </property> <property name="text" > <string>2</string> </property> </widget> </item> <item row="2" column="1" > <widget class="QToolButton" name="button_5" > <property name="sizePolicy" > <sizepolicy> <hsizetype>1</hsizetype> <vsizetype>1</vsizetype> <horstretch>0</horstretch> <verstretch>0</verstretch> </sizepolicy> </property> <property name="text" > <string>5</string> </property> </widget> </item> <item row="0" column="1" > <widget class="QToolButton" name="button_right" > <property name="sizePolicy" > <sizepolicy> <hsizetype>1</hsizetype> <vsizetype>1</vsizetype> <horstretch>0</horstretch> <verstretch>0</verstretch> </sizepolicy> </property> <property name="text" > <string>)</string> </property> </widget> </item> <item row="1" column="1" > <widget class="QToolButton" name="button_8" > <property name="sizePolicy" > <sizepolicy> <hsizetype>1</hsizetype> <vsizetype>1</vsizetype> <horstretch>0</horstretch> <verstretch>0</verstretch> </sizepolicy> </property> <property name="text" > <string>8</string> </property> </widget> </item> <item row="0" column="3" > <widget class="QToolButton" name="button_multiply" > <property name="sizePolicy" > <sizepolicy> <hsizetype>1</hsizetype> <vsizetype>1</vsizetype> <horstretch>0</horstretch> <verstretch>0</verstretch> </sizepolicy> </property> <property name="text" > <string>*</string> </property> </widget> </item> <item row="1" column="3" > <widget class="QToolButton" name="button_subtract" > <property name="sizePolicy" > <sizepolicy> <hsizetype>1</hsizetype> <vsizetype>1</vsizetype> <horstretch>0</horstretch> <verstretch>0</verstretch> </sizepolicy> </property> <property name="text" > <string>-</string> </property> </widget> </item> <item row="0" column="0" > <widget class="QToolButton" name="button_left" > <property name="sizePolicy" > <sizepolicy> <hsizetype>1</hsizetype> <vsizetype>1</vsizetype> <horstretch>0</horstretch> <verstretch>0</verstretch> </sizepolicy> </property> <property name="text" > <string>(</string> </property> </widget> </item> <item row="1" column="0" > <widget class="QToolButton" name="button_7" > <property name="sizePolicy" > <sizepolicy> <hsizetype>1</hsizetype> <vsizetype>1</vsizetype> <horstretch>0</horstretch> <verstretch>0</verstretch> </sizepolicy> </property> <property name="text" > <string>7</string> </property> </widget> </item> <item row="2" column="3" > <widget class="QToolButton" name="button_add" > <property name="sizePolicy" > <sizepolicy> <hsizetype>1</hsizetype> <vsizetype>1</vsizetype> <horstretch>0</horstretch> <verstretch>0</verstretch> </sizepolicy> </property> <property name="text" > <string>+</string> </property> </widget> </item> <item row="2" column="0" > <widget class="QToolButton" name="button_4" > <property name="sizePolicy" > <sizepolicy> <hsizetype>1</hsizetype> <vsizetype>1</vsizetype> <horstretch>0</horstretch> <verstretch>0</verstretch> </sizepolicy> </property> <property name="text" > <string>4</string> </property> </widget> </item> </layout> </widget> </widget> <widget class="QDockWidget" name="dockWidget_4" > <property name="sizePolicy" > <sizepolicy> <hsizetype>5</hsizetype> <vsizetype>5</vsizetype> <horstretch>0</horstretch> <verstretch>0</verstretch> </sizepolicy> </property> <property name="windowTitle" > <string>Input</string> </property> <attribute name="dockWidgetArea" > <number>8</number> </attribute> <widget class="QWidget" name="dockWidgetContents_4" > <layout class="QGridLayout" > <property name="margin" > <number>9</number> </property> <property name="spacing" > <number>6</number> </property> <item row="0" column="0" > <layout class="QHBoxLayout" > <property name="margin" > <number>0</number> </property> <property name="spacing" > <number>6</number> </property> <item> <widget class="QLineEdit" name="lineEdit" > <property name="sizePolicy" > <sizepolicy> <hsizetype>7</hsizetype> <vsizetype>0</vsizetype> <horstretch>6</horstretch> <verstretch>0</verstretch> </sizepolicy> </property> </widget> </item> <item> <widget class="QToolButton" name="button_equal" > <property name="sizePolicy" > <sizepolicy> <hsizetype>5</hsizetype> <vsizetype>4</vsizetype> <horstretch>1</horstretch> <verstretch>0</verstretch> </sizepolicy> </property> <property name="text" > <string>=</string> </property> </widget> </item> <item> <widget class="QToolButton" name="button_functions" > <property name="text" > <string>fun</string> </property> </widget> </item> <item> <widget class="QToolButton" name="button_clear" > <property name="sizePolicy" > <sizepolicy> <hsizetype>5</hsizetype> <vsizetype>5</vsizetype> <horstretch>0</horstretch> <verstretch>0</verstretch> </sizepolicy> </property> <property name="text" > <string>c</string> </property> </widget> </item> </layout> </item> </layout> </widget> </widget> </widget> <tabstops> <tabstop>lineEdit</tabstop> <tabstop>button_equal</tabstop> <tabstop>button_clear</tabstop> <tabstop>button_left</tabstop> <tabstop>button_right</tabstop> <tabstop>button_devide</tabstop> <tabstop>button_multiply</tabstop> <tabstop>button_7</tabstop> <tabstop>button_8</tabstop> <tabstop>button_9</tabstop> <tabstop>button_subtract</tabstop> <tabstop>button_4</tabstop> <tabstop>button_5</tabstop> <tabstop>button_6</tabstop> <tabstop>button_add</tabstop> <tabstop>button_1</tabstop> <tabstop>button_2</tabstop> <tabstop>button_3</tabstop> <tabstop>button_0</tabstop> <tabstop>button_comma</tabstop> <tabstop>button_cos</tabstop> <tabstop>button_sin</tabstop> <tabstop>textBrowser</tabstop> <tabstop>button_functions</tabstop> </tabstops> <resources/> <connections> <connection> <sender>lineEdit</sender> <signal>returnPressed</signal> <receiver>button_equal</receiver> <slot>click()</slot> <hints> <hint type="sourcelabel" > <x>286</x> <y>363</y> </hint> <hint type="destinationlabel" > <x>385</x> <y>363</y> </hint> </hints> </connection> <connection> <sender>button_clear</sender> <signal>pressed</signal> <receiver>lineEdit</receiver> <slot>clear()</slot> <hints> <hint type="sourcelabel" > <x>444</x> <y>364</y> </hint> <hint type="destinationlabel" > <x>290</x> <y>363</y> </hint> </hints> </connection> </connections> </ui>