qbolt/qbolt/mainwindow.ui

411 lines
13 KiB
Plaintext
Raw Permalink Normal View History

2017-05-16 07:34:54 +00:00
<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
<class>MainWindow</class>
<widget class="QMainWindow" name="MainWindow">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>668</width>
<height>405</height>
</rect>
</property>
<property name="windowTitle">
<string>QBolt</string>
</property>
<property name="windowIcon">
<iconset resource="resources.qrc">
<normaloff>:/rsrc/database_lightning.png</normaloff>:/rsrc/database_lightning.png</iconset>
</property>
2017-05-16 07:34:54 +00:00
<widget class="QWidget" name="centralWidget">
<layout class="QGridLayout" name="gridLayout">
<property name="leftMargin">
<number>0</number>
</property>
<property name="topMargin">
<number>0</number>
</property>
<property name="rightMargin">
<number>0</number>
</property>
<property name="bottomMargin">
<number>0</number>
</property>
<item row="0" column="0">
<widget class="QSplitter" name="splitter">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="childrenCollapsible">
<bool>false</bool>
</property>
<widget class="QTreeWidget" name="bucketTree">
<property name="contextMenuPolicy">
<enum>Qt::CustomContextMenu</enum>
</property>
2017-05-16 07:34:54 +00:00
<property name="uniformRowHeights">
<bool>true</bool>
</property>
<column>
<property name="text">
<string>Bucket</string>
</property>
</column>
</widget>
2017-05-21 00:39:55 +00:00
<widget class="QStackedWidget" name="stackedWidget">
2017-05-21 04:15:49 +00:00
<property name="currentIndex">
2017-05-21 06:05:11 +00:00
<number>0</number>
2017-05-21 04:15:49 +00:00
</property>
2017-05-21 00:39:55 +00:00
<widget class="QWidget" name="databasePage">
<layout class="QGridLayout" name="gridLayout_4">
2017-05-16 07:34:54 +00:00
<property name="leftMargin">
2017-05-21 00:39:55 +00:00
<number>0</number>
2017-05-16 07:34:54 +00:00
</property>
<property name="topMargin">
2017-05-21 00:39:55 +00:00
<number>0</number>
2017-05-16 07:34:54 +00:00
</property>
<property name="rightMargin">
2017-05-21 00:39:55 +00:00
<number>0</number>
2017-05-16 07:34:54 +00:00
</property>
<property name="bottomMargin">
2017-05-21 00:39:55 +00:00
<number>0</number>
2017-05-16 07:34:54 +00:00
</property>
<item row="0" column="0">
2017-05-21 00:39:55 +00:00
<widget class="QTabWidget" name="databaseTabWidget">
<property name="currentIndex">
<number>0</number>
2017-05-16 07:34:54 +00:00
</property>
2017-05-21 00:39:55 +00:00
<widget class="QWidget" name="databasePropertiesTab">
2017-05-21 06:05:11 +00:00
<attribute name="icon">
<iconset resource="resources.qrc">
<normaloff>:/rsrc/chart_bar.png</normaloff>:/rsrc/chart_bar.png</iconset>
</attribute>
2017-05-21 00:39:55 +00:00
<attribute name="title">
<string>Database</string>
</attribute>
<layout class="QGridLayout" name="gridLayout_2">
<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 row="0" column="0">
<widget class="QPlainTextEdit" name="databasePropertiesArea">
<property name="frameShape">
<enum>QFrame::NoFrame</enum>
</property>
<property name="readOnly">
<bool>true</bool>
</property>
<property name="plainText">
<string>No selection</string>
</property>
</widget>
</item>
</layout>
</widget>
2017-05-16 07:34:54 +00:00
</widget>
</item>
</layout>
</widget>
2017-05-21 00:39:55 +00:00
<widget class="QWidget" name="bucketPage">
2017-05-16 07:34:54 +00:00
<layout class="QGridLayout" name="gridLayout_3">
<property name="leftMargin">
2017-05-21 00:39:55 +00:00
<number>0</number>
2017-05-16 07:34:54 +00:00
</property>
<property name="topMargin">
2017-05-21 00:39:55 +00:00
<number>0</number>
2017-05-16 07:34:54 +00:00
</property>
<property name="rightMargin">
2017-05-21 00:39:55 +00:00
<number>0</number>
2017-05-16 07:34:54 +00:00
</property>
<property name="bottomMargin">
2017-05-21 00:39:55 +00:00
<number>0</number>
2017-05-16 07:34:54 +00:00
</property>
<item row="0" column="0">
2017-05-21 00:39:55 +00:00
<widget class="QTabWidget" name="bucketTabWidget">
<property name="currentIndex">
2017-05-21 06:05:11 +00:00
<number>0</number>
2017-05-16 07:34:54 +00:00
</property>
2017-05-21 00:39:55 +00:00
<widget class="QWidget" name="bucketPropertiesTab">
2017-05-21 06:05:11 +00:00
<attribute name="icon">
<iconset resource="resources.qrc">
<normaloff>:/rsrc/chart_bar.png</normaloff>:/rsrc/chart_bar.png</iconset>
</attribute>
2017-05-21 00:39:55 +00:00
<attribute name="title">
<string>Bucket</string>
</attribute>
<layout class="QGridLayout" name="gridLayout_5">
<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 row="0" column="0">
<widget class="QPlainTextEdit" name="bucketPropertiesArea">
<property name="frameShape">
<enum>QFrame::NoFrame</enum>
</property>
<property name="readOnly">
<bool>true</bool>
</property>
</widget>
</item>
</layout>
</widget>
<widget class="QWidget" name="bucketDataTab">
2017-05-21 06:05:11 +00:00
<attribute name="icon">
<iconset resource="resources.qrc">
<normaloff>:/rsrc/table.png</normaloff>:/rsrc/table.png</iconset>
</attribute>
2017-05-21 00:39:55 +00:00
<attribute name="title">
<string>Data</string>
</attribute>
2017-05-21 04:15:49 +00:00
<layout class="QGridLayout" name="gridLayout_6">
<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>
2017-05-21 05:44:07 +00:00
<item row="0" column="0" colspan="3">
2017-05-21 04:15:49 +00:00
<widget class="QTreeWidget" name="bucketData">
2017-05-21 05:44:07 +00:00
<property name="selectionMode">
<enum>QAbstractItemView::ExtendedSelection</enum>
</property>
2017-05-21 04:15:49 +00:00
<property name="indentation">
<number>0</number>
</property>
<property name="rootIsDecorated">
<bool>false</bool>
</property>
<property name="uniformRowHeights">
<bool>true</bool>
</property>
<property name="itemsExpandable">
<bool>false</bool>
</property>
<column>
<property name="text">
<string>Key</string>
</property>
</column>
<column>
<property name="text">
<string>Data length</string>
</property>
</column>
</widget>
</item>
2017-05-21 05:44:07 +00:00
<item row="1" column="0">
<widget class="QPushButton" name="AddDataButton">
<property name="text">
<string>Add...</string>
</property>
2017-05-21 06:05:11 +00:00
<property name="icon">
<iconset resource="resources.qrc">
<normaloff>:/rsrc/add.png</normaloff>:/rsrc/add.png</iconset>
</property>
2017-05-21 05:44:07 +00:00
</widget>
</item>
<item row="1" column="2">
<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 row="1" column="1">
<widget class="QPushButton" name="DeleteDataButton">
<property name="text">
<string>Delete...</string>
</property>
2017-05-21 06:05:11 +00:00
<property name="icon">
<iconset resource="resources.qrc">
<normaloff>:/rsrc/delete.png</normaloff>:/rsrc/delete.png</iconset>
</property>
2017-05-21 05:44:07 +00:00
</widget>
</item>
2017-05-21 04:15:49 +00:00
</layout>
2017-05-21 00:39:55 +00:00
</widget>
2017-05-16 07:34:54 +00:00
</widget>
</item>
</layout>
</widget>
</widget>
</widget>
</item>
</layout>
</widget>
<widget class="QMenuBar" name="menuBar">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>668</width>
<height>21</height>
</rect>
</property>
<widget class="QMenu" name="menuFile">
<property name="title">
<string>Fi&amp;le</string>
</property>
2017-05-21 04:50:17 +00:00
<addaction name="actionNew_database"/>
2017-05-16 07:34:54 +00:00
<addaction name="actionOpen_database"/>
2017-05-25 07:59:53 +00:00
<addaction name="actionOpen_database_as_read_only"/>
2017-05-16 07:34:54 +00:00
<addaction name="separator"/>
<addaction name="actionExit"/>
</widget>
<widget class="QMenu" name="menuHelp">
<property name="title">
<string>Help</string>
</property>
<addaction name="actionAbout_qbolt"/>
<addaction name="actionAbout_Qt"/>
</widget>
<widget class="QMenu" name="menuView">
<property name="title">
<string>&amp;View</string>
</property>
<addaction name="actionClear_selection"/>
</widget>
2017-05-16 07:34:54 +00:00
<addaction name="menuFile"/>
<addaction name="menuView"/>
2017-05-16 07:34:54 +00:00
<addaction name="menuHelp"/>
</widget>
<widget class="QToolBar" name="mainToolBar">
<attribute name="toolBarArea">
<enum>TopToolBarArea</enum>
</attribute>
<attribute name="toolBarBreak">
<bool>false</bool>
</attribute>
2017-05-21 04:50:17 +00:00
<addaction name="actionNew_database"/>
2017-05-16 07:34:54 +00:00
<addaction name="actionOpen_database"/>
2017-05-21 04:50:17 +00:00
<addaction name="separator"/>
2017-05-16 07:34:54 +00:00
</widget>
<widget class="QStatusBar" name="statusBar"/>
<action name="actionAbout_qbolt">
<property name="icon">
<iconset resource="resources.qrc">
<normaloff>:/rsrc/information.png</normaloff>:/rsrc/information.png</iconset>
</property>
<property name="text">
<string>&amp;About QBolt</string>
2017-05-16 07:34:54 +00:00
</property>
</action>
<action name="actionAbout_Qt">
<property name="text">
<string>About &amp;Qt</string>
2017-05-16 07:34:54 +00:00
</property>
</action>
<action name="actionOpen_database">
<property name="icon">
<iconset resource="resources.qrc">
2017-05-21 04:50:17 +00:00
<normaloff>:/rsrc/database.png</normaloff>:/rsrc/database.png</iconset>
2017-05-16 07:34:54 +00:00
</property>
<property name="text">
<string>&amp;Open database...</string>
2017-05-16 07:34:54 +00:00
</property>
<property name="shortcut">
<string>Ctrl+O</string>
</property>
2017-05-16 07:34:54 +00:00
</action>
<action name="actionExit">
2017-05-21 06:05:11 +00:00
<property name="icon">
<iconset resource="resources.qrc">
<normaloff>:/rsrc/door_out.png</normaloff>:/rsrc/door_out.png</iconset>
</property>
2017-05-16 07:34:54 +00:00
<property name="text">
<string>&amp;Exit</string>
2017-05-16 07:34:54 +00:00
</property>
</action>
<action name="actionDisconnect">
2017-05-21 06:05:11 +00:00
<property name="icon">
<iconset resource="resources.qrc">
<normaloff>:/rsrc/disconnect.png</normaloff>:/rsrc/disconnect.png</iconset>
</property>
<property name="text">
<string>Disconnect</string>
</property>
</action>
<action name="actionDelete_bucket">
<property name="icon">
<iconset resource="resources.qrc">
<normaloff>:/rsrc/table_delete.png</normaloff>:/rsrc/table_delete.png</iconset>
</property>
<property name="text">
<string>Delete bucket</string>
</property>
</action>
<action name="actionRefresh_buckets">
2017-05-21 06:05:11 +00:00
<property name="icon">
<iconset resource="resources.qrc">
<normaloff>:/rsrc/arrow_refresh.png</normaloff>:/rsrc/arrow_refresh.png</iconset>
</property>
<property name="text">
<string>Refresh buckets</string>
</property>
</action>
<action name="actionClear_selection">
<property name="text">
2017-05-21 04:15:49 +00:00
<string>&amp;Clear selection</string>
</property>
</action>
2017-05-21 04:50:17 +00:00
<action name="actionNew_database">
<property name="icon">
<iconset resource="resources.qrc">
<normaloff>:/rsrc/database_add.png</normaloff>:/rsrc/database_add.png</iconset>
</property>
<property name="text">
<string>&amp;New database...</string>
</property>
</action>
<action name="actionAdd_bucket">
<property name="icon">
<iconset resource="resources.qrc">
<normaloff>:/rsrc/table_add.png</normaloff>:/rsrc/table_add.png</iconset>
</property>
<property name="text">
<string>Add bucket...</string>
2017-05-21 04:50:17 +00:00
</property>
</action>
2017-05-25 07:59:53 +00:00
<action name="actionOpen_database_as_read_only">
<property name="text">
<string>Open database as read-only...</string>
</property>
</action>
2017-05-16 07:34:54 +00:00
</widget>
<layoutdefault spacing="6" margin="11"/>
<resources>
<include location="resources.qrc"/>
</resources>
<connections/>
</ui>