UI for data filtering.

Icons for plugin grid operations.
This commit is contained in:
2015-12-29 16:09:55 +01:00
parent 94fba56dab
commit d2f391558a
23 changed files with 700 additions and 13 deletions
+88 -1
View File
@@ -19,9 +19,28 @@
<layout class="QHBoxLayout" name="horizontalLayout">
<item>
<widget class="QToolButton" name="btnNew">
<property name="autoFillBackground">
<bool>false</bool>
</property>
<property name="text">
<string>N</string>
</property>
<property name="icon">
<iconset resource="rc.qrc">
<normaloff>:/icons/new.svg</normaloff>:/icons/new.svg</iconset>
</property>
<property name="iconSize">
<size>
<width>24</width>
<height>24</height>
</size>
</property>
<property name="toolButtonStyle">
<enum>Qt::ToolButtonFollowStyle</enum>
</property>
<property name="autoRaise">
<bool>true</bool>
</property>
</widget>
</item>
<item>
@@ -29,6 +48,19 @@
<property name="text">
<string>E</string>
</property>
<property name="icon">
<iconset resource="rc.qrc">
<normaloff>:/icons/edit.svg</normaloff>:/icons/edit.svg</iconset>
</property>
<property name="iconSize">
<size>
<width>24</width>
<height>24</height>
</size>
</property>
<property name="autoRaise">
<bool>true</bool>
</property>
</widget>
</item>
<item>
@@ -36,6 +68,19 @@
<property name="text">
<string>D</string>
</property>
<property name="icon">
<iconset resource="rc.qrc">
<normaloff>:/icons/remove.svg</normaloff>:/icons/remove.svg</iconset>
</property>
<property name="iconSize">
<size>
<width>24</width>
<height>24</height>
</size>
</property>
<property name="autoRaise">
<bool>true</bool>
</property>
</widget>
</item>
<item>
@@ -43,6 +88,22 @@
<property name="text">
<string>F</string>
</property>
<property name="icon">
<iconset resource="rc.qrc">
<normaloff>:/icons/filter.svg</normaloff>:/icons/filter.svg</iconset>
</property>
<property name="iconSize">
<size>
<width>24</width>
<height>24</height>
</size>
</property>
<property name="checkable">
<bool>true</bool>
</property>
<property name="autoRaise">
<bool>true</bool>
</property>
</widget>
</item>
<item>
@@ -50,6 +111,19 @@
<property name="text">
<string>P</string>
</property>
<property name="icon">
<iconset resource="rc.qrc">
<normaloff>:/icons/print.svg</normaloff>:/icons/print.svg</iconset>
</property>
<property name="iconSize">
<size>
<width>24</width>
<height>24</height>
</size>
</property>
<property name="autoRaise">
<bool>true</bool>
</property>
</widget>
</item>
<item>
@@ -68,6 +142,17 @@
</layout>
</widget>
</item>
<item>
<widget class="QWidget" name="filterWidget" native="true">
<property name="maximumSize">
<size>
<width>16777215</width>
<height>150</height>
</size>
</property>
<layout class="QVBoxLayout" name="verticalLayout_2"/>
</widget>
</item>
<item>
<widget class="QTableView" name="tableView">
<property name="contextMenuPolicy">
@@ -91,6 +176,8 @@
</property>
</action>
</widget>
<resources/>
<resources>
<include location="rc.qrc"/>
</resources>
<connections/>
</ui>