|
7 | 7 | <x>0</x> |
8 | 8 | <y>0</y> |
9 | 9 | <width>534</width> |
10 | | - <height>357</height> |
| 10 | + <height>379</height> |
11 | 11 | </rect> |
12 | 12 | </property> |
13 | 13 | <property name="windowTitle"> |
|
123 | 123 | <string>DBHub.io</string> |
124 | 124 | </attribute> |
125 | 125 | <layout class="QVBoxLayout" name="verticalLayout_4"> |
| 126 | + <property name="leftMargin"> |
| 127 | + <number>2</number> |
| 128 | + </property> |
| 129 | + <property name="topMargin"> |
| 130 | + <number>0</number> |
| 131 | + </property> |
| 132 | + <property name="rightMargin"> |
| 133 | + <number>2</number> |
| 134 | + </property> |
| 135 | + <property name="bottomMargin"> |
| 136 | + <number>0</number> |
| 137 | + </property> |
126 | 138 | <item> |
127 | 139 | <widget class="QTreeView" name="treeRemote"> |
128 | 140 | <property name="whatsThis"> |
|
137 | 149 | <string>Local</string> |
138 | 150 | </attribute> |
139 | 151 | <layout class="QVBoxLayout" name="verticalLayout_5"> |
| 152 | + <property name="leftMargin"> |
| 153 | + <number>2</number> |
| 154 | + </property> |
| 155 | + <property name="topMargin"> |
| 156 | + <number>0</number> |
| 157 | + </property> |
| 158 | + <property name="rightMargin"> |
| 159 | + <number>2</number> |
| 160 | + </property> |
| 161 | + <property name="bottomMargin"> |
| 162 | + <number>0</number> |
| 163 | + </property> |
140 | 164 | <item> |
141 | 165 | <widget class="QTreeView" name="treeLocal"> |
142 | 166 | <property name="contextMenuPolicy"> |
|
151 | 175 | <string>Current Database</string> |
152 | 176 | </attribute> |
153 | 177 | <layout class="QVBoxLayout" name="verticalLayout_7"> |
| 178 | + <property name="leftMargin"> |
| 179 | + <number>2</number> |
| 180 | + </property> |
| 181 | + <property name="topMargin"> |
| 182 | + <number>0</number> |
| 183 | + </property> |
| 184 | + <property name="rightMargin"> |
| 185 | + <number>2</number> |
| 186 | + </property> |
| 187 | + <property name="bottomMargin"> |
| 188 | + <number>0</number> |
| 189 | + </property> |
| 190 | + <item> |
| 191 | + <widget class="QToolBar" name="toolBar"> |
| 192 | + <property name="movable"> |
| 193 | + <bool>false</bool> |
| 194 | + </property> |
| 195 | + <property name="floatable"> |
| 196 | + <bool>false</bool> |
| 197 | + </property> |
| 198 | + <addaction name="actionDatabaseOpenBrowser"/> |
| 199 | + </widget> |
| 200 | + </item> |
154 | 201 | <item> |
155 | 202 | <widget class="QGroupBox" name="groupBox"> |
156 | 203 | <property name="title"> |
|
217 | 264 | <string>Commits</string> |
218 | 265 | </property> |
219 | 266 | <layout class="QVBoxLayout" name="verticalLayout_6"> |
| 267 | + <property name="leftMargin"> |
| 268 | + <number>2</number> |
| 269 | + </property> |
| 270 | + <property name="topMargin"> |
| 271 | + <number>0</number> |
| 272 | + </property> |
| 273 | + <property name="rightMargin"> |
| 274 | + <number>2</number> |
| 275 | + </property> |
| 276 | + <property name="bottomMargin"> |
| 277 | + <number>0</number> |
| 278 | + </property> |
220 | 279 | <item> |
221 | 280 | <layout class="QHBoxLayout" name="horizontalLayout_4"> |
222 | 281 | <item> |
|
354 | 413 | <string>Delete the local clone of this database</string> |
355 | 414 | </property> |
356 | 415 | </action> |
| 416 | + <action name="actionDatabaseOpenBrowser"> |
| 417 | + <property name="icon"> |
| 418 | + <iconset resource="icons/icons.qrc"> |
| 419 | + <normaloff>:/icons/browser_open</normaloff>:/icons/browser_open</iconset> |
| 420 | + </property> |
| 421 | + <property name="text"> |
| 422 | + <string>Open in web browser</string> |
| 423 | + </property> |
| 424 | + <property name="toolTip"> |
| 425 | + <string>Open the web page for the current database in your browser</string> |
| 426 | + </property> |
| 427 | + </action> |
357 | 428 | </widget> |
358 | 429 | <tabstops> |
359 | 430 | <tabstop>comboUser</tabstop> |
|
466 | 537 | </hint> |
467 | 538 | </hints> |
468 | 539 | </connection> |
| 540 | + <connection> |
| 541 | + <sender>actionDatabaseOpenBrowser</sender> |
| 542 | + <signal>triggered()</signal> |
| 543 | + <receiver>RemoteDock</receiver> |
| 544 | + <slot>openCurrentDatabaseInBrowser()</slot> |
| 545 | + <hints> |
| 546 | + <hint type="sourcelabel"> |
| 547 | + <x>-1</x> |
| 548 | + <y>-1</y> |
| 549 | + </hint> |
| 550 | + <hint type="destinationlabel"> |
| 551 | + <x>266</x> |
| 552 | + <y>189</y> |
| 553 | + </hint> |
| 554 | + </hints> |
| 555 | + </connection> |
469 | 556 | </connections> |
470 | 557 | <slots> |
471 | 558 | <slot>setNewIdentity(QString)</slot> |
|
474 | 561 | <slot>switchToMainView()</slot> |
475 | 562 | <slot>openLocalFile(QModelIndex)</slot> |
476 | 563 | <slot>fetchDatabase()</slot> |
| 564 | + <slot>openCurrentDatabaseInBrowser()</slot> |
477 | 565 | </slots> |
478 | 566 | </ui> |
0 commit comments