0
0
mirror of https://github.com/fralx/LimeReport.git synced 2024-12-25 09:04:39 +03:00
LimeReport/limereport/databrowser/lrdatabrowser.ui

529 lines
16 KiB
Plaintext
Raw Normal View History

2016-02-17 10:11:00 +03:00
<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
<class>LimeReport::DataBrowser</class>
<widget class="QWidget" name="LimeReport::DataBrowser">
2016-02-17 10:11:00 +03:00
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>400</width>
<height>300</height>
</rect>
</property>
<property name="windowTitle">
<string>Datasources</string>
</property>
<layout class="QVBoxLayout" name="verticalLayout_2">
<property name="spacing">
<number>1</number>
</property>
<property name="leftMargin">
<number>1</number>
</property>
<property name="topMargin">
<number>1</number>
</property>
<property name="rightMargin">
<number>1</number>
</property>
<property name="bottomMargin">
<number>2</number>
</property>
<item>
<widget class="QTabWidget" name="tabWidget">
<property name="tabPosition">
<enum>QTabWidget::South</enum>
</property>
<property name="currentIndex">
2016-06-07 00:44:21 +03:00
<number>1</number>
2016-02-17 10:11:00 +03:00
</property>
<widget class="QWidget" name="tab">
<attribute name="title">
<string>Datasources</string>
</attribute>
<layout class="QVBoxLayout" name="verticalLayout">
<property name="leftMargin">
<number>2</number>
</property>
<property name="topMargin">
<number>2</number>
</property>
<property name="rightMargin">
<number>2</number>
</property>
<property name="bottomMargin">
<number>2</number>
</property>
<item>
<layout class="QHBoxLayout" name="horizontalLayout">
<property name="spacing">
<number>2</number>
</property>
<item>
<widget class="QToolButton" name="addConnection">
<property name="toolTip">
<string>Add database connection</string>
</property>
<property name="text">
<string>...</string>
</property>
<property name="icon">
<iconset resource="lrdatabrowser.qrc">
<normaloff>:/databrowser/images/database_add</normaloff>:/databrowser/images/database_add</iconset>
</property>
<property name="iconSize">
<size>
<width>16</width>
<height>16</height>
</size>
</property>
<property name="autoRaise">
<bool>true</bool>
</property>
</widget>
</item>
<item>
<widget class="QToolButton" name="changeConnection">
<property name="enabled">
<bool>false</bool>
</property>
<property name="text">
<string>...</string>
</property>
<property name="icon">
<iconset resource="lrdatabrowser.qrc">
<normaloff>:/databrowser/images/database_edit</normaloff>:/databrowser/images/database_edit</iconset>
</property>
<property name="iconSize">
<size>
<width>16</width>
<height>16</height>
</size>
</property>
<property name="autoRaise">
<bool>true</bool>
</property>
</widget>
</item>
<item>
<widget class="QToolButton" name="deleteConection">
<property name="enabled">
<bool>false</bool>
</property>
<property name="text">
<string>...</string>
</property>
<property name="icon">
<iconset resource="lrdatabrowser.qrc">
<normaloff>:/databrowser/images/database_delete</normaloff>:/databrowser/images/database_delete</iconset>
</property>
<property name="iconSize">
<size>
<width>16</width>
<height>16</height>
</size>
</property>
<property name="autoRaise">
<bool>true</bool>
</property>
</widget>
</item>
<item>
<widget class="QToolButton" name="pbConnect">
<property name="enabled">
<bool>false</bool>
</property>
<property name="text">
<string>...</string>
</property>
<property name="icon">
<iconset resource="lrdatabrowser.qrc">
<normaloff>:/databrowser/images/plug-connect.png</normaloff>:/databrowser/images/plug-connect.png</iconset>
</property>
<property name="iconSize">
<size>
<width>16</width>
<height>16</height>
</size>
</property>
<property name="autoRaise">
<bool>true</bool>
</property>
</widget>
</item>
<item>
<widget class="QLabel" name="label">
<property name="frameShape">
<enum>QFrame::VLine</enum>
</property>
<property name="frameShadow">
<enum>QFrame::Sunken</enum>
</property>
<property name="text">
<string/>
</property>
</widget>
</item>
<item>
<widget class="QToolButton" name="addDataSource">
2016-02-17 10:39:17 +03:00
<property name="toolTip">
<string>Add new datasource</string>
</property>
2016-02-17 10:11:00 +03:00
<property name="text">
<string>...</string>
</property>
<property name="icon">
<iconset resource="lrdatabrowser.qrc">
<normaloff>:/databrowser/images/table_add</normaloff>:/databrowser/images/table_add</iconset>
</property>
<property name="iconSize">
<size>
<width>16</width>
<height>16</height>
</size>
</property>
<property name="autoRaise">
<bool>true</bool>
</property>
</widget>
</item>
<item>
<widget class="QToolButton" name="viewDataSource">
<property name="enabled">
<bool>false</bool>
</property>
2016-02-17 10:39:17 +03:00
<property name="toolTip">
<string>View data</string>
</property>
2016-02-17 10:11:00 +03:00
<property name="text">
<string>...</string>
</property>
<property name="icon">
<iconset resource="lrdatabrowser.qrc">
<normaloff>:/databrowser/images/table_view</normaloff>:/databrowser/images/table_view</iconset>
</property>
<property name="iconSize">
<size>
<width>16</width>
<height>16</height>
</size>
</property>
<property name="autoRaise">
<bool>true</bool>
</property>
</widget>
</item>
<item>
<widget class="QToolButton" name="editDataSource">
<property name="enabled">
<bool>false</bool>
</property>
2016-02-17 10:39:17 +03:00
<property name="toolTip">
<string>Change datasource</string>
</property>
2016-02-17 10:11:00 +03:00
<property name="text">
<string>...</string>
</property>
<property name="icon">
<iconset resource="lrdatabrowser.qrc">
<normaloff>:/databrowser/images/table_edit</normaloff>:/databrowser/images/table_edit</iconset>
</property>
<property name="iconSize">
<size>
<width>16</width>
<height>16</height>
</size>
</property>
<property name="autoRaise">
<bool>true</bool>
</property>
</widget>
</item>
<item>
<widget class="QToolButton" name="deleteDataSource">
<property name="enabled">
<bool>false</bool>
</property>
2016-02-17 10:39:17 +03:00
<property name="toolTip">
<string>Delete datasource</string>
</property>
2016-02-17 10:11:00 +03:00
<property name="text">
<string>...</string>
</property>
<property name="icon">
<iconset resource="lrdatabrowser.qrc">
<normaloff>:/databrowser/images/table_delete</normaloff>:/databrowser/images/table_delete</iconset>
</property>
<property name="iconSize">
<size>
<width>16</width>
<height>16</height>
</size>
</property>
<property name="autoRaise">
<bool>true</bool>
</property>
</widget>
</item>
<item>
<widget class="QToolButton" name="errorMessage">
<property name="enabled">
<bool>false</bool>
</property>
2016-02-17 10:39:17 +03:00
<property name="toolTip">
<string>Show error</string>
</property>
2016-02-17 10:11:00 +03:00
<property name="text">
<string>...</string>
</property>
<property name="icon">
<iconset resource="lrdatabrowser.qrc">
<normaloff>:/databrowser/images/error_message_2.png</normaloff>:/databrowser/images/error_message_2.png</iconset>
</property>
<property name="iconSize">
<size>
<width>16</width>
<height>16</height>
</size>
</property>
<property name="autoRaise">
<bool>true</bool>
</property>
</widget>
</item>
<item>
<spacer name="horizontalSpacer_2">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>40</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
</layout>
</item>
<item>
<widget class="DataBrowserTree" name="dataTree">
<property name="enabled">
<bool>true</bool>
</property>
<property name="dragEnabled">
<bool>true</bool>
</property>
<property name="dragDropMode">
<enum>QAbstractItemView::DragOnly</enum>
</property>
<attribute name="headerVisible">
<bool>false</bool>
</attribute>
<column>
<property name="text">
<string notr="true">1</string>
</property>
</column>
</widget>
</item>
</layout>
</widget>
<widget class="QWidget" name="tab_2">
<attribute name="title">
<string>Variables</string>
</attribute>
<layout class="QVBoxLayout" name="verticalLayout_3">
<property name="leftMargin">
<number>2</number>
</property>
<property name="topMargin">
<number>2</number>
</property>
<property name="rightMargin">
<number>2</number>
</property>
<property name="bottomMargin">
<number>2</number>
</property>
<item>
<layout class="QHBoxLayout" name="horizontalLayout_2">
<property name="spacing">
<number>2</number>
</property>
<item>
<widget class="QToolButton" name="addVariable">
2016-02-17 10:39:17 +03:00
<property name="toolTip">
<string>Add new variable</string>
</property>
2016-02-17 10:11:00 +03:00
<property name="text">
<string>...</string>
</property>
<property name="icon">
<iconset resource="lrdatabrowser.qrc">
<normaloff>:/databrowser/images/value_add</normaloff>:/databrowser/images/value_add</iconset>
</property>
<property name="iconSize">
<size>
<width>16</width>
<height>16</height>
</size>
</property>
<property name="popupMode">
<enum>QToolButton::DelayedPopup</enum>
</property>
<property name="autoRaise">
<bool>true</bool>
</property>
</widget>
</item>
<item>
<widget class="QToolButton" name="editVariable">
<property name="enabled">
<bool>false</bool>
</property>
2016-02-17 10:39:17 +03:00
<property name="toolTip">
<string>Edit variable</string>
</property>
2016-02-17 10:11:00 +03:00
<property name="text">
<string>...</string>
</property>
<property name="icon">
<iconset resource="lrdatabrowser.qrc">
<normaloff>:/databrowser/images/value_edit</normaloff>:/databrowser/images/value_edit</iconset>
</property>
<property name="iconSize">
<size>
<width>16</width>
<height>16</height>
</size>
</property>
<property name="autoRaise">
<bool>true</bool>
</property>
</widget>
</item>
<item>
<widget class="QToolButton" name="deleteVariable">
<property name="enabled">
<bool>false</bool>
</property>
2016-02-17 10:39:17 +03:00
<property name="toolTip">
<string>Delete variable</string>
</property>
2016-02-17 10:11:00 +03:00
<property name="text">
<string>...</string>
</property>
<property name="icon">
<iconset resource="lrdatabrowser.qrc">
<normaloff>:/databrowser/images/value_delete</normaloff>:/databrowser/images/value_delete</iconset>
</property>
<property name="iconSize">
<size>
<width>16</width>
<height>16</height>
</size>
</property>
<property name="autoRaise">
<bool>true</bool>
</property>
</widget>
</item>
2016-06-07 00:44:21 +03:00
<item>
<widget class="QToolButton" name="varToReport">
<property name="enabled">
<bool>false</bool>
</property>
<property name="toolTip">
<string>Grab variable</string>
</property>
<property name="text">
<string>...</string>
</property>
<property name="icon">
<iconset resource="lrdatabrowser.qrc">
<normaloff>:/databrowser/images/varToReport</normaloff>:/databrowser/images/varToReport</iconset>
</property>
<property name="autoRaise">
<bool>true</bool>
</property>
</widget>
</item>
2016-02-17 10:11:00 +03:00
<item>
<spacer name="horizontalSpacer_3">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>40</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
</layout>
</item>
<item>
<widget class="DataBrowserTree" name="variablesTree">
<property name="dragEnabled">
<bool>true</bool>
</property>
<property name="dragDropMode">
<enum>QAbstractItemView::DragOnly</enum>
</property>
<property name="rootIsDecorated">
<bool>true</bool>
</property>
<property name="columnCount">
<number>1</number>
</property>
<attribute name="headerVisible">
<bool>false</bool>
</attribute>
<column>
<property name="text">
<string notr="true">1</string>
</property>
</column>
</widget>
</item>
</layout>
</widget>
</widget>
</item>
</layout>
</widget>
<customwidgets>
<customwidget>
<class>DataBrowserTree</class>
<extends>QTreeWidget</extends>
<header>lrdatabrowsertree.h</header>
</customwidget>
</customwidgets>
<tabstops>
<tabstop>dataTree</tabstop>
<tabstop>addConnection</tabstop>
<tabstop>changeConnection</tabstop>
<tabstop>deleteConection</tabstop>
<tabstop>pbConnect</tabstop>
<tabstop>addDataSource</tabstop>
<tabstop>viewDataSource</tabstop>
<tabstop>editDataSource</tabstop>
<tabstop>deleteDataSource</tabstop>
<tabstop>variablesTree</tabstop>
<tabstop>addVariable</tabstop>
<tabstop>editVariable</tabstop>
<tabstop>deleteVariable</tabstop>
<tabstop>tabWidget</tabstop>
</tabstops>
<resources>
<include location="lrdatabrowser.qrc"/>
</resources>
<connections/>
<slots>
<slot>slotAddDataSource()</slot>
<slot>slotDeleteDataSource()</slot>
</slots>
</ui>