diff options
author | Ken Moore <ken@pcbsd.org> | 2016-10-05 17:52:52 -0400 |
---|---|---|
committer | Ken Moore <ken@pcbsd.org> | 2016-10-05 17:52:52 -0400 |
commit | babd84407a6a3475694268a3966f47a683e4d3cd (patch) | |
tree | 5ffa74d79a98e8324c596bd920f9b9c6ad2b32c2 /src-qt5/desktop-utils/lumina-calculator/mainUI.ui | |
parent | Fix up some instability within lumina-fileinfo. (diff) | |
download | lumina-babd84407a6a3475694268a3966f47a683e4d3cd.tar.gz lumina-babd84407a6a3475694268a3966f47a683e4d3cd.tar.bz2 lumina-babd84407a6a3475694268a3966f47a683e4d3cd.zip |
Add a new Lumina project: desktop-utils/lumina-calculator
This is just a very basic calculator at the moment. It still need more buttons/icons/features/etc added to it, but the algorithm and mathematics are already functional for evaluation expressions containing:
Addition/Subtraction (+/-)
Multiplication/Division( * or x, and /)
Order of operations when mixing operations, including expressions within parentheses
Diffstat (limited to 'src-qt5/desktop-utils/lumina-calculator/mainUI.ui')
-rw-r--r-- | src-qt5/desktop-utils/lumina-calculator/mainUI.ui | 54 |
1 files changed, 54 insertions, 0 deletions
diff --git a/src-qt5/desktop-utils/lumina-calculator/mainUI.ui b/src-qt5/desktop-utils/lumina-calculator/mainUI.ui new file mode 100644 index 00000000..0e52f4db --- /dev/null +++ b/src-qt5/desktop-utils/lumina-calculator/mainUI.ui @@ -0,0 +1,54 @@ +<?xml version="1.0" encoding="UTF-8"?> +<ui version="4.0"> + <class>mainUI</class> + <widget class="QMainWindow" name="mainUI"> + <property name="geometry"> + <rect> + <x>0</x> + <y>0</y> + <width>245</width> + <height>149</height> + </rect> + </property> + <property name="windowTitle"> + <string>Calculator</string> + </property> + <widget class="QWidget" name="centralwidget"> + <layout class="QVBoxLayout" name="verticalLayout"> + <item> + <widget class="QListWidget" name="list_results"/> + </item> + <item> + <layout class="QHBoxLayout" name="horizontalLayout"> + <item> + <widget class="QLineEdit" name="line_eq"/> + </item> + <item> + <widget class="QToolButton" name="tool_start"> + <property name="text"> + <string>...</string> + </property> + </widget> + </item> + </layout> + </item> + <item> + <spacer name="verticalSpacer"> + <property name="orientation"> + <enum>Qt::Vertical</enum> + </property> + <property name="sizeHint" stdset="0"> + <size> + <width>20</width> + <height>40</height> + </size> + </property> + </spacer> + </item> + </layout> + </widget> + <widget class="QStatusBar" name="statusbar"/> + </widget> + <resources/> + <connections/> +</ui> |