2018-10-06 21:33:02 +02: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>600</width>
|
|
|
|
<height>600</height>
|
|
|
|
</rect>
|
|
|
|
</property>
|
2018-11-02 11:54:40 +01:00
|
|
|
<property name="acceptDrops">
|
|
|
|
<bool>true</bool>
|
|
|
|
</property>
|
2018-10-06 21:33:02 +02:00
|
|
|
<property name="windowTitle">
|
2018-10-16 17:41:44 +02:00
|
|
|
<string>Whyblocked</string>
|
2018-10-06 21:33:02 +02:00
|
|
|
</property>
|
2018-10-20 00:34:00 +02:00
|
|
|
<property name="windowIcon">
|
2018-10-20 01:11:08 +02:00
|
|
|
<iconset theme="de.tastytea.Whyblocked">
|
|
|
|
<normaloff>.</normaloff>.</iconset>
|
2018-10-20 00:34:00 +02:00
|
|
|
</property>
|
2018-10-06 21:33:02 +02:00
|
|
|
<property name="locale">
|
|
|
|
<locale language="English" country="UnitedKingdom"/>
|
|
|
|
</property>
|
|
|
|
<widget class="QWidget" name="centralwidget">
|
|
|
|
<layout class="QVBoxLayout" name="verticalLayout">
|
2019-01-11 18:58:20 +01:00
|
|
|
<item>
|
|
|
|
<widget class="QWidget" name="widget_find" native="true">
|
|
|
|
<layout class="QHBoxLayout" name="hbox_find">
|
|
|
|
<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>
|
|
|
|
<widget class="QLineEdit" name="text_find">
|
|
|
|
<property name="enabled">
|
|
|
|
<bool>true</bool>
|
|
|
|
</property>
|
|
|
|
<property name="clearButtonEnabled">
|
2019-01-12 22:03:18 +01:00
|
|
|
<bool>false</bool>
|
2019-01-11 18:58:20 +01:00
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<widget class="QCheckBox" name="check_user">
|
|
|
|
<property name="toolTip">
|
|
|
|
<string>Search for Users/Instances</string>
|
|
|
|
</property>
|
|
|
|
<property name="text">
|
|
|
|
<string>User/Instance</string>
|
|
|
|
</property>
|
|
|
|
<property name="checked">
|
|
|
|
<bool>true</bool>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<widget class="QCheckBox" name="check_reason">
|
|
|
|
<property name="toolTip">
|
|
|
|
<string>Search for Reasons</string>
|
|
|
|
</property>
|
|
|
|
<property name="text">
|
|
|
|
<string>Reason</string>
|
|
|
|
</property>
|
|
|
|
<property name="checked">
|
|
|
|
<bool>true</bool>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
</layout>
|
|
|
|
</widget>
|
|
|
|
</item>
|
2018-10-06 21:33:02 +02:00
|
|
|
<item>
|
|
|
|
<widget class="QTableView" name="tableview">
|
2018-11-02 11:54:40 +01:00
|
|
|
<property name="acceptDrops">
|
|
|
|
<bool>false</bool>
|
|
|
|
</property>
|
2018-10-07 01:40:04 +02:00
|
|
|
<property name="toolTip">
|
|
|
|
<string>Click or press enter to view receipts</string>
|
|
|
|
</property>
|
2018-10-06 21:33:02 +02:00
|
|
|
<property name="editTriggers">
|
|
|
|
<set>QAbstractItemView::NoEditTriggers</set>
|
|
|
|
</property>
|
2018-10-15 00:06:38 +02:00
|
|
|
<property name="tabKeyNavigation">
|
|
|
|
<bool>false</bool>
|
|
|
|
</property>
|
2018-10-14 04:29:11 +02:00
|
|
|
<property name="alternatingRowColors">
|
|
|
|
<bool>true</bool>
|
|
|
|
</property>
|
|
|
|
<property name="selectionBehavior">
|
|
|
|
<enum>QAbstractItemView::SelectRows</enum>
|
|
|
|
</property>
|
|
|
|
<property name="showGrid">
|
|
|
|
<bool>false</bool>
|
|
|
|
</property>
|
|
|
|
<property name="sortingEnabled">
|
|
|
|
<bool>true</bool>
|
|
|
|
</property>
|
|
|
|
<attribute name="horizontalHeaderVisible">
|
|
|
|
<bool>true</bool>
|
|
|
|
</attribute>
|
2018-10-06 21:33:02 +02:00
|
|
|
<attribute name="horizontalHeaderDefaultSectionSize">
|
2018-10-14 04:29:11 +02:00
|
|
|
<number>125</number>
|
2018-10-06 21:33:02 +02:00
|
|
|
</attribute>
|
|
|
|
<attribute name="horizontalHeaderShowSortIndicator" stdset="0">
|
|
|
|
<bool>true</bool>
|
|
|
|
</attribute>
|
|
|
|
<attribute name="horizontalHeaderStretchLastSection">
|
|
|
|
<bool>true</bool>
|
|
|
|
</attribute>
|
2018-10-14 04:29:11 +02:00
|
|
|
<attribute name="verticalHeaderVisible">
|
|
|
|
<bool>false</bool>
|
|
|
|
</attribute>
|
2018-10-06 21:33:02 +02:00
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<widget class="QLabel" name="label_receipts">
|
2018-10-15 00:06:38 +02:00
|
|
|
<property name="focusPolicy">
|
|
|
|
<enum>Qt::TabFocus</enum>
|
|
|
|
</property>
|
2018-10-07 01:40:04 +02:00
|
|
|
<property name="toolTip">
|
|
|
|
<string>Memory aids, proof</string>
|
|
|
|
</property>
|
2018-10-06 21:33:02 +02:00
|
|
|
<property name="text">
|
|
|
|
<string/>
|
|
|
|
</property>
|
2018-10-07 01:40:04 +02:00
|
|
|
<property name="textFormat">
|
|
|
|
<enum>Qt::AutoText</enum>
|
|
|
|
</property>
|
2018-10-16 22:37:11 +02:00
|
|
|
<property name="wordWrap">
|
|
|
|
<bool>true</bool>
|
|
|
|
</property>
|
2018-10-07 01:40:04 +02:00
|
|
|
<property name="openExternalLinks">
|
|
|
|
<bool>true</bool>
|
|
|
|
</property>
|
2018-10-06 21:33:02 +02:00
|
|
|
<property name="textInteractionFlags">
|
2018-10-07 01:40:04 +02:00
|
|
|
<set>Qt::LinksAccessibleByKeyboard|Qt::LinksAccessibleByMouse|Qt::TextBrowserInteraction|Qt::TextSelectableByKeyboard|Qt::TextSelectableByMouse</set>
|
2018-10-06 21:33:02 +02:00
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
</layout>
|
|
|
|
</widget>
|
|
|
|
<widget class="QStatusBar" name="statusbar"/>
|
|
|
|
<widget class="QToolBar" name="toolbar">
|
|
|
|
<property name="windowTitle">
|
2018-10-20 01:11:08 +02:00
|
|
|
<string>Toolbar</string>
|
2018-10-06 21:33:02 +02:00
|
|
|
</property>
|
2018-11-03 12:59:49 +01:00
|
|
|
<property name="floatable">
|
|
|
|
<bool>false</bool>
|
|
|
|
</property>
|
2018-10-06 21:33:02 +02:00
|
|
|
<attribute name="toolBarArea">
|
|
|
|
<enum>TopToolBarArea</enum>
|
|
|
|
</attribute>
|
|
|
|
<attribute name="toolBarBreak">
|
|
|
|
<bool>false</bool>
|
|
|
|
</attribute>
|
|
|
|
<addaction name="action_add"/>
|
2018-10-17 20:44:58 +02:00
|
|
|
<addaction name="action_edit"/>
|
2018-10-06 21:33:02 +02:00
|
|
|
<addaction name="action_remove"/>
|
2018-10-13 05:07:34 +02:00
|
|
|
<addaction name="action_reload"/>
|
2019-01-11 18:58:20 +01:00
|
|
|
<addaction name="action_find"/>
|
2018-10-25 00:43:52 +02:00
|
|
|
<addaction name="separator"/>
|
2018-10-06 21:33:02 +02:00
|
|
|
<addaction name="action_about"/>
|
2018-10-13 05:59:56 +02:00
|
|
|
<addaction name="action_quit"/>
|
2018-10-06 21:33:02 +02:00
|
|
|
</widget>
|
2018-10-20 06:35:41 +02:00
|
|
|
<widget class="QMenuBar" name="menubar">
|
2018-10-14 02:31:42 +02:00
|
|
|
<property name="geometry">
|
|
|
|
<rect>
|
|
|
|
<x>0</x>
|
|
|
|
<y>0</y>
|
|
|
|
<width>600</width>
|
|
|
|
<height>21</height>
|
|
|
|
</rect>
|
|
|
|
</property>
|
2018-10-20 06:35:41 +02:00
|
|
|
<widget class="QMenu" name="menu_database">
|
2018-10-14 02:31:42 +02:00
|
|
|
<property name="title">
|
|
|
|
<string>&Database</string>
|
|
|
|
</property>
|
|
|
|
<addaction name="action_add"/>
|
2018-10-17 20:44:58 +02:00
|
|
|
<addaction name="action_edit"/>
|
2018-10-14 02:31:42 +02:00
|
|
|
<addaction name="action_remove"/>
|
|
|
|
<addaction name="action_reload"/>
|
2019-01-11 18:58:20 +01:00
|
|
|
<addaction name="action_find"/>
|
2018-10-14 02:31:42 +02:00
|
|
|
<addaction name="action_quit"/>
|
|
|
|
</widget>
|
2018-10-20 06:35:41 +02:00
|
|
|
<widget class="QMenu" name="menu_help">
|
2018-10-14 02:31:42 +02:00
|
|
|
<property name="title">
|
|
|
|
<string>&Help</string>
|
|
|
|
</property>
|
|
|
|
<addaction name="action_about"/>
|
|
|
|
</widget>
|
2018-10-20 06:35:41 +02:00
|
|
|
<addaction name="menu_database"/>
|
|
|
|
<addaction name="menu_help"/>
|
2018-10-14 02:31:42 +02:00
|
|
|
</widget>
|
2018-10-06 21:33:02 +02:00
|
|
|
<action name="action_add">
|
|
|
|
<property name="icon">
|
2018-10-25 00:43:52 +02:00
|
|
|
<iconset theme="list-add">
|
2018-10-13 05:07:34 +02:00
|
|
|
<normaloff>.</normaloff>.</iconset>
|
2018-10-06 21:33:02 +02:00
|
|
|
</property>
|
|
|
|
<property name="text">
|
2018-10-14 02:31:42 +02:00
|
|
|
<string>&Add</string>
|
2018-10-06 21:33:02 +02:00
|
|
|
</property>
|
|
|
|
<property name="toolTip">
|
|
|
|
<string>Add user or instance</string>
|
|
|
|
</property>
|
|
|
|
<property name="shortcut">
|
2018-10-25 00:43:52 +02:00
|
|
|
<string>Ctrl+N</string>
|
2018-10-06 21:33:02 +02:00
|
|
|
</property>
|
|
|
|
</action>
|
|
|
|
<action name="action_remove">
|
|
|
|
<property name="icon">
|
2018-10-25 00:43:52 +02:00
|
|
|
<iconset theme="list-remove">
|
2018-10-13 05:07:34 +02:00
|
|
|
<normaloff>.</normaloff>.</iconset>
|
2018-10-06 21:33:02 +02:00
|
|
|
</property>
|
|
|
|
<property name="text">
|
2018-10-14 02:31:42 +02:00
|
|
|
<string>Re&move</string>
|
2018-10-06 21:33:02 +02:00
|
|
|
</property>
|
|
|
|
<property name="toolTip">
|
|
|
|
<string>Remove user or instance</string>
|
|
|
|
</property>
|
|
|
|
<property name="shortcut">
|
2018-10-25 00:43:52 +02:00
|
|
|
<string>Del</string>
|
2018-10-06 21:33:02 +02:00
|
|
|
</property>
|
|
|
|
</action>
|
|
|
|
<action name="action_about">
|
|
|
|
<property name="icon">
|
2018-10-25 00:43:52 +02:00
|
|
|
<iconset theme="help-about">
|
2018-10-13 05:07:34 +02:00
|
|
|
<normaloff>.</normaloff>.</iconset>
|
2018-10-06 21:33:02 +02:00
|
|
|
</property>
|
|
|
|
<property name="text">
|
2018-10-14 19:58:11 +02:00
|
|
|
<string>&About</string>
|
2018-10-06 21:33:02 +02:00
|
|
|
</property>
|
|
|
|
<property name="toolTip">
|
|
|
|
<string>About this application</string>
|
|
|
|
</property>
|
|
|
|
</action>
|
2018-10-13 05:07:34 +02:00
|
|
|
<action name="action_reload">
|
|
|
|
<property name="icon">
|
2018-10-25 00:43:52 +02:00
|
|
|
<iconset theme="view-refresh">
|
2018-10-13 05:59:56 +02:00
|
|
|
<normaloff>.</normaloff>.</iconset>
|
2018-10-13 05:07:34 +02:00
|
|
|
</property>
|
|
|
|
<property name="text">
|
2018-10-14 02:31:42 +02:00
|
|
|
<string>&Reload</string>
|
2018-10-13 05:07:34 +02:00
|
|
|
</property>
|
|
|
|
<property name="toolTip">
|
|
|
|
<string>Reload database</string>
|
|
|
|
</property>
|
|
|
|
<property name="shortcut">
|
2018-10-25 00:43:52 +02:00
|
|
|
<string>Ctrl+R</string>
|
2018-10-13 05:07:34 +02:00
|
|
|
</property>
|
|
|
|
</action>
|
2018-10-13 05:59:56 +02:00
|
|
|
<action name="action_quit">
|
|
|
|
<property name="icon">
|
2018-10-25 00:43:52 +02:00
|
|
|
<iconset theme="application-exit">
|
2018-10-14 02:31:42 +02:00
|
|
|
<normaloff>.</normaloff>.</iconset>
|
2018-10-13 05:59:56 +02:00
|
|
|
</property>
|
|
|
|
<property name="text">
|
2018-10-14 02:31:42 +02:00
|
|
|
<string>&Quit</string>
|
2018-10-13 05:59:56 +02:00
|
|
|
</property>
|
|
|
|
<property name="toolTip">
|
|
|
|
<string>Quit application</string>
|
|
|
|
</property>
|
|
|
|
<property name="shortcut">
|
2018-10-25 00:43:52 +02:00
|
|
|
<string>Ctrl+Q</string>
|
2018-10-13 05:59:56 +02:00
|
|
|
</property>
|
|
|
|
</action>
|
2018-10-17 20:44:58 +02:00
|
|
|
<action name="action_edit">
|
|
|
|
<property name="icon">
|
2018-10-18 00:18:11 +02:00
|
|
|
<iconset theme="edit-redo">
|
|
|
|
<normaloff>.</normaloff>.</iconset>
|
2018-10-17 20:44:58 +02:00
|
|
|
</property>
|
|
|
|
<property name="text">
|
|
|
|
<string>&Edit</string>
|
|
|
|
</property>
|
|
|
|
<property name="toolTip">
|
|
|
|
<string>Edit entry</string>
|
|
|
|
</property>
|
|
|
|
<property name="shortcut">
|
2018-10-20 00:40:45 +02:00
|
|
|
<string notr="true">Ctrl+E</string>
|
2018-10-17 20:44:58 +02:00
|
|
|
</property>
|
|
|
|
</action>
|
2019-01-11 18:58:20 +01:00
|
|
|
<action name="action_find">
|
|
|
|
<property name="checkable">
|
|
|
|
<bool>true</bool>
|
|
|
|
</property>
|
|
|
|
<property name="icon">
|
2019-01-11 20:50:22 +01:00
|
|
|
<iconset theme="edit-find">
|
|
|
|
<normaloff>.</normaloff>.</iconset>
|
2019-01-11 18:58:20 +01:00
|
|
|
</property>
|
|
|
|
<property name="text">
|
|
|
|
<string>&Find</string>
|
|
|
|
</property>
|
|
|
|
<property name="toolTip">
|
|
|
|
<string>Find entries</string>
|
|
|
|
</property>
|
|
|
|
<property name="shortcut">
|
|
|
|
<string>Ctrl+F</string>
|
|
|
|
</property>
|
|
|
|
</action>
|
2018-10-06 21:33:02 +02:00
|
|
|
</widget>
|
|
|
|
<resources/>
|
2018-10-14 04:29:11 +02:00
|
|
|
<connections>
|
|
|
|
<connection>
|
|
|
|
<sender>action_about</sender>
|
|
|
|
<signal>triggered()</signal>
|
|
|
|
<receiver>MainWindow</receiver>
|
|
|
|
<slot>about()</slot>
|
|
|
|
<hints>
|
|
|
|
<hint type="sourcelabel">
|
|
|
|
<x>-1</x>
|
|
|
|
<y>-1</y>
|
|
|
|
</hint>
|
|
|
|
<hint type="destinationlabel">
|
|
|
|
<x>299</x>
|
|
|
|
<y>299</y>
|
|
|
|
</hint>
|
|
|
|
</hints>
|
|
|
|
</connection>
|
|
|
|
<connection>
|
|
|
|
<sender>action_add</sender>
|
|
|
|
<signal>triggered()</signal>
|
|
|
|
<receiver>MainWindow</receiver>
|
|
|
|
<slot>add()</slot>
|
|
|
|
<hints>
|
|
|
|
<hint type="sourcelabel">
|
|
|
|
<x>-1</x>
|
|
|
|
<y>-1</y>
|
|
|
|
</hint>
|
|
|
|
<hint type="destinationlabel">
|
|
|
|
<x>299</x>
|
|
|
|
<y>299</y>
|
|
|
|
</hint>
|
|
|
|
</hints>
|
|
|
|
</connection>
|
|
|
|
<connection>
|
|
|
|
<sender>action_quit</sender>
|
|
|
|
<signal>triggered()</signal>
|
|
|
|
<receiver>MainWindow</receiver>
|
|
|
|
<slot>close()</slot>
|
|
|
|
<hints>
|
|
|
|
<hint type="sourcelabel">
|
|
|
|
<x>-1</x>
|
|
|
|
<y>-1</y>
|
|
|
|
</hint>
|
|
|
|
<hint type="destinationlabel">
|
|
|
|
<x>299</x>
|
|
|
|
<y>299</y>
|
|
|
|
</hint>
|
|
|
|
</hints>
|
|
|
|
</connection>
|
|
|
|
<connection>
|
|
|
|
<sender>action_reload</sender>
|
|
|
|
<signal>triggered()</signal>
|
|
|
|
<receiver>MainWindow</receiver>
|
2019-01-11 20:50:22 +01:00
|
|
|
<slot>reload()</slot>
|
2018-10-14 04:29:11 +02:00
|
|
|
<hints>
|
|
|
|
<hint type="sourcelabel">
|
|
|
|
<x>-1</x>
|
|
|
|
<y>-1</y>
|
|
|
|
</hint>
|
|
|
|
<hint type="destinationlabel">
|
|
|
|
<x>299</x>
|
|
|
|
<y>299</y>
|
|
|
|
</hint>
|
|
|
|
</hints>
|
|
|
|
</connection>
|
|
|
|
<connection>
|
|
|
|
<sender>action_remove</sender>
|
|
|
|
<signal>triggered()</signal>
|
|
|
|
<receiver>MainWindow</receiver>
|
|
|
|
<slot>remove()</slot>
|
|
|
|
<hints>
|
|
|
|
<hint type="sourcelabel">
|
|
|
|
<x>-1</x>
|
|
|
|
<y>-1</y>
|
|
|
|
</hint>
|
|
|
|
<hint type="destinationlabel">
|
|
|
|
<x>299</x>
|
|
|
|
<y>299</y>
|
|
|
|
</hint>
|
|
|
|
</hints>
|
|
|
|
</connection>
|
|
|
|
<connection>
|
|
|
|
<sender>tableview</sender>
|
|
|
|
<signal>activated(QModelIndex)</signal>
|
|
|
|
<receiver>MainWindow</receiver>
|
|
|
|
<slot>show_details(QModelIndex)</slot>
|
|
|
|
<hints>
|
|
|
|
<hint type="sourcelabel">
|
|
|
|
<x>182</x>
|
|
|
|
<y>390</y>
|
|
|
|
</hint>
|
|
|
|
<hint type="destinationlabel">
|
|
|
|
<x>203</x>
|
|
|
|
<y>551</y>
|
|
|
|
</hint>
|
|
|
|
</hints>
|
|
|
|
</connection>
|
|
|
|
<connection>
|
|
|
|
<sender>tableview</sender>
|
|
|
|
<signal>clicked(QModelIndex)</signal>
|
|
|
|
<receiver>MainWindow</receiver>
|
|
|
|
<slot>show_details(QModelIndex)</slot>
|
|
|
|
<hints>
|
|
|
|
<hint type="sourcelabel">
|
|
|
|
<x>387</x>
|
|
|
|
<y>408</y>
|
|
|
|
</hint>
|
|
|
|
<hint type="destinationlabel">
|
|
|
|
<x>412</x>
|
|
|
|
<y>551</y>
|
|
|
|
</hint>
|
|
|
|
</hints>
|
|
|
|
</connection>
|
2018-10-17 20:44:58 +02:00
|
|
|
<connection>
|
|
|
|
<sender>action_edit</sender>
|
|
|
|
<signal>triggered()</signal>
|
|
|
|
<receiver>MainWindow</receiver>
|
|
|
|
<slot>edit()</slot>
|
|
|
|
<hints>
|
|
|
|
<hint type="sourcelabel">
|
|
|
|
<x>-1</x>
|
|
|
|
<y>-1</y>
|
|
|
|
</hint>
|
|
|
|
<hint type="destinationlabel">
|
|
|
|
<x>299</x>
|
|
|
|
<y>299</y>
|
|
|
|
</hint>
|
|
|
|
</hints>
|
|
|
|
</connection>
|
2019-01-11 18:58:20 +01:00
|
|
|
<connection>
|
|
|
|
<sender>action_find</sender>
|
|
|
|
<signal>triggered()</signal>
|
|
|
|
<receiver>MainWindow</receiver>
|
|
|
|
<slot>find()</slot>
|
|
|
|
<hints>
|
|
|
|
<hint type="sourcelabel">
|
|
|
|
<x>-1</x>
|
|
|
|
<y>-1</y>
|
|
|
|
</hint>
|
|
|
|
<hint type="destinationlabel">
|
|
|
|
<x>299</x>
|
|
|
|
<y>299</y>
|
|
|
|
</hint>
|
|
|
|
</hints>
|
|
|
|
</connection>
|
2018-10-14 04:29:11 +02:00
|
|
|
</connections>
|
|
|
|
<slots>
|
|
|
|
<slot>add()</slot>
|
|
|
|
<slot>remove()</slot>
|
|
|
|
<slot>populate_tableview()</slot>
|
|
|
|
<slot>about()</slot>
|
|
|
|
<slot>show_details(QModelIndex)</slot>
|
2018-10-17 20:44:58 +02:00
|
|
|
<slot>edit()</slot>
|
2019-01-11 18:58:20 +01:00
|
|
|
<slot>find()</slot>
|
2019-01-11 20:50:22 +01:00
|
|
|
<slot>reload()</slot>
|
2018-10-14 04:29:11 +02:00
|
|
|
</slots>
|
2018-10-06 21:33:02 +02:00
|
|
|
</ui>
|