diff options
| author | Max Christian Pohle | 2015-11-20 16:09:06 +0100 |
|---|---|---|
| committer | Max Christian Pohle | 2015-11-20 16:09:06 +0100 |
| commit | 64ae6f0db1e8af1bc287c52b010fe87cc5380191 (patch) | |
| tree | ec897be3df20df8a23458713def59cfb71d03e37 /mainwindow.ui | |
| parent | de6cb045fd2b237e58320f0da7f3a365ca4d2ace (diff) | |
| download | qspacestatus-64ae6f0db1e8af1bc287c52b010fe87cc5380191.tar.bz2 qspacestatus-64ae6f0db1e8af1bc287c52b010fe87cc5380191.zip | |
displays space status in system tray
successfully tested under linux and windows
Diffstat (limited to 'mainwindow.ui')
| -rw-r--r-- | mainwindow.ui | 139 |
1 files changed, 125 insertions, 14 deletions
diff --git a/mainwindow.ui b/mainwindow.ui index 812bddc..27a41ad 100644 --- a/mainwindow.ui +++ b/mainwindow.ui | |||
| @@ -6,10 +6,22 @@ | |||
| 6 | <rect> | 6 | <rect> |
| 7 | <x>0</x> | 7 | <x>0</x> |
| 8 | <y>0</y> | 8 | <y>0</y> |
| 9 | <width>646</width> | 9 | <width>670</width> |
| 10 | <height>486</height> | 10 | <height>442</height> |
| 11 | </rect> | 11 | </rect> |
| 12 | </property> | 12 | </property> |
| 13 | <property name="sizePolicy"> | ||
| 14 | <sizepolicy hsizetype="Fixed" vsizetype="Fixed"> | ||
| 15 | <horstretch>0</horstretch> | ||
| 16 | <verstretch>0</verstretch> | ||
| 17 | </sizepolicy> | ||
| 18 | </property> | ||
| 19 | <property name="maximumSize"> | ||
| 20 | <size> | ||
| 21 | <width>670</width> | ||
| 22 | <height>442</height> | ||
| 23 | </size> | ||
| 24 | </property> | ||
| 13 | <property name="windowTitle"> | 25 | <property name="windowTitle"> |
| 14 | <string>MainWindow</string> | 26 | <string>MainWindow</string> |
| 15 | </property> | 27 | </property> |
| @@ -17,36 +29,118 @@ | |||
| 17 | <iconset> | 29 | <iconset> |
| 18 | <normaloff>folder.png</normaloff>folder.png</iconset> | 30 | <normaloff>folder.png</normaloff>folder.png</iconset> |
| 19 | </property> | 31 | </property> |
| 20 | <widget class="QWidget" name="centralWidget"/> | 32 | <widget class="QWidget" name="centralWidget"> |
| 33 | <layout class="QVBoxLayout" name="verticalLayout"> | ||
| 34 | <item> | ||
| 35 | <widget class="QComboBox" name="comboBox"> | ||
| 36 | <property name="insertPolicy"> | ||
| 37 | <enum>QComboBox::InsertAlphabetically</enum> | ||
| 38 | </property> | ||
| 39 | <property name="sizeAdjustPolicy"> | ||
| 40 | <enum>QComboBox::AdjustToMinimumContentsLength</enum> | ||
| 41 | </property> | ||
| 42 | </widget> | ||
| 43 | </item> | ||
| 44 | <item> | ||
| 45 | <widget class="QLabel" name="label_url_json"> | ||
| 46 | <property name="text"> | ||
| 47 | <string>TextLabel</string> | ||
| 48 | </property> | ||
| 49 | </widget> | ||
| 50 | </item> | ||
| 51 | <item> | ||
| 52 | <widget class="QScrollArea" name="scrollArea"> | ||
| 53 | <property name="widgetResizable"> | ||
| 54 | <bool>true</bool> | ||
| 55 | </property> | ||
| 56 | <widget class="QWidget" name="scrollAreaWidgetContents"> | ||
| 57 | <property name="geometry"> | ||
| 58 | <rect> | ||
| 59 | <x>0</x> | ||
| 60 | <y>0</y> | ||
| 61 | <width>648</width> | ||
| 62 | <height>305</height> | ||
| 63 | </rect> | ||
| 64 | </property> | ||
| 65 | <widget class="QLabel" name="label_icon"> | ||
| 66 | <property name="geometry"> | ||
| 67 | <rect> | ||
| 68 | <x>10</x> | ||
| 69 | <y>10</y> | ||
| 70 | <width>120</width> | ||
| 71 | <height>120</height> | ||
| 72 | </rect> | ||
| 73 | </property> | ||
| 74 | <property name="text"> | ||
| 75 | <string>TextLabel</string> | ||
| 76 | </property> | ||
| 77 | <property name="alignment"> | ||
| 78 | <set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop</set> | ||
| 79 | </property> | ||
| 80 | </widget> | ||
| 81 | <widget class="QPlainTextEdit" name="plainTextEdit"> | ||
| 82 | <property name="geometry"> | ||
| 83 | <rect> | ||
| 84 | <x>140</x> | ||
| 85 | <y>10</y> | ||
| 86 | <width>501</width> | ||
| 87 | <height>311</height> | ||
| 88 | </rect> | ||
| 89 | </property> | ||
| 90 | <property name="acceptDrops"> | ||
| 91 | <bool>false</bool> | ||
| 92 | </property> | ||
| 93 | <property name="readOnly"> | ||
| 94 | <bool>true</bool> | ||
| 95 | </property> | ||
| 96 | </widget> | ||
| 97 | </widget> | ||
| 98 | </widget> | ||
| 99 | </item> | ||
| 100 | </layout> | ||
| 101 | </widget> | ||
| 21 | <widget class="QMenuBar" name="menuBar"> | 102 | <widget class="QMenuBar" name="menuBar"> |
| 103 | <property name="enabled"> | ||
| 104 | <bool>true</bool> | ||
| 105 | </property> | ||
| 22 | <property name="geometry"> | 106 | <property name="geometry"> |
| 23 | <rect> | 107 | <rect> |
| 24 | <x>0</x> | 108 | <x>0</x> |
| 25 | <y>0</y> | 109 | <y>0</y> |
| 26 | <width>646</width> | 110 | <width>670</width> |
| 27 | <height>29</height> | 111 | <height>29</height> |
| 28 | </rect> | 112 | </rect> |
| 29 | </property> | 113 | </property> |
| 114 | <property name="defaultUp"> | ||
| 115 | <bool>false</bool> | ||
| 116 | </property> | ||
| 117 | <property name="nativeMenuBar"> | ||
| 118 | <bool>false</bool> | ||
| 119 | </property> | ||
| 30 | <widget class="QMenu" name="menuMenu1"> | 120 | <widget class="QMenu" name="menuMenu1"> |
| 31 | <property name="title"> | 121 | <property name="title"> |
| 32 | <string>menu1</string> | 122 | <string>File</string> |
| 33 | </property> | 123 | </property> |
| 124 | <addaction name="actionUpdate_Status"/> | ||
| 125 | <addaction name="separator"/> | ||
| 34 | <addaction name="actionExit"/> | 126 | <addaction name="actionExit"/> |
| 35 | </widget> | 127 | </widget> |
| 36 | <addaction name="menuMenu1"/> | 128 | <addaction name="menuMenu1"/> |
| 37 | </widget> | 129 | </widget> |
| 38 | <widget class="QToolBar" name="mainToolBar"> | ||
| 39 | <attribute name="toolBarArea"> | ||
| 40 | <enum>TopToolBarArea</enum> | ||
| 41 | </attribute> | ||
| 42 | <attribute name="toolBarBreak"> | ||
| 43 | <bool>false</bool> | ||
| 44 | </attribute> | ||
| 45 | </widget> | ||
| 46 | <widget class="QStatusBar" name="statusBar"/> | 130 | <widget class="QStatusBar" name="statusBar"/> |
| 47 | <action name="actionExit"> | 131 | <action name="actionExit"> |
| 48 | <property name="text"> | 132 | <property name="text"> |
| 49 | <string>exit</string> | 133 | <string>Quit</string> |
| 134 | </property> | ||
| 135 | </action> | ||
| 136 | <action name="actionSpaces"> | ||
| 137 | <property name="text"> | ||
| 138 | <string>Spaces</string> | ||
| 139 | </property> | ||
| 140 | </action> | ||
| 141 | <action name="actionUpdate_Status"> | ||
| 142 | <property name="text"> | ||
| 143 | <string>Update Status</string> | ||
| 50 | </property> | 144 | </property> |
| 51 | </action> | 145 | </action> |
| 52 | </widget> | 146 | </widget> |
| @@ -69,8 +163,25 @@ | |||
| 69 | </hint> | 163 | </hint> |
| 70 | </hints> | 164 | </hints> |
| 71 | </connection> | 165 | </connection> |
| 166 | <connection> | ||
| 167 | <sender>actionUpdate_Status</sender> | ||
| 168 | <signal>triggered()</signal> | ||
| 169 | <receiver>MainWindow</receiver> | ||
| 170 | <slot>updateStatus()</slot> | ||
| 171 | <hints> | ||
| 172 | <hint type="sourcelabel"> | ||
| 173 | <x>-1</x> | ||
| 174 | <y>-1</y> | ||
| 175 | </hint> | ||
| 176 | <hint type="destinationlabel"> | ||
| 177 | <x>334</x> | ||
| 178 | <y>220</y> | ||
| 179 | </hint> | ||
| 180 | </hints> | ||
| 181 | </connection> | ||
| 72 | </connections> | 182 | </connections> |
| 73 | <slots> | 183 | <slots> |
| 74 | <slot>exitApplication()</slot> | 184 | <slot>exitApplication()</slot> |
| 185 | <slot>updateStatus()</slot> | ||
| 75 | </slots> | 186 | </slots> |
| 76 | </ui> | 187 | </ui> |
