2018-10-06 15:33:02 -04: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 06:54:40 -04:00
|
|
|
<property name="acceptDrops">
|
|
|
|
<bool>true</bool>
|
|
|
|
</property>
|
2018-10-06 15:33:02 -04:00
|
|
|
<property name="windowTitle">
|
2018-10-16 11:41:44 -04:00
|
|
|
<string>Whyblocked</string>
|
2018-10-06 15:33:02 -04:00
|
|
|
</property>
|
2018-10-19 18:34:00 -04:00
|
|
|
<property name="windowIcon">
|
2018-10-19 19:11:08 -04:00
|
|
|
<iconset theme="de.tastytea.Whyblocked">
|
|
|
|
<normaloff>.</normaloff>.</iconset>
|
2018-10-19 18:34:00 -04:00
|
|
|
</property>
|
2018-10-06 15:33:02 -04:00
|
|
|
<property name="locale">
|
|
|
|
<locale language="English" country="UnitedKingdom"/>
|
|
|
|
</property>
|
|
|
|
<widget class="QWidget" name="centralwidget">
|
|
|
|
<layout class="QVBoxLayout" name="verticalLayout">
|
|
|
|
<item>
|
|
|
|
<widget class="QTableView" name="tableview">
|
2018-11-02 06:54:40 -04:00
|
|
|
<property name="acceptDrops">
|
|
|
|
<bool>false</bool>
|
|
|
|
</property>
|
2018-10-06 19:40:04 -04:00
|
|
|
<property name="toolTip">
|
|
|
|
<string>Click or press enter to view receipts</string>
|
|
|
|
</property>
|
2018-10-06 15:33:02 -04:00
|
|
|
<property name="editTriggers">
|
|
|
|
<set>QAbstractItemView::NoEditTriggers</set>
|
|
|
|
</property>
|
2018-10-14 18:06:38 -04:00
|
|
|
<property name="tabKeyNavigation">
|
|
|
|
<bool>false</bool>
|
|
|
|
</property>
|
2018-10-13 22:29:11 -04: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 15:33:02 -04:00
|
|
|
<attribute name="horizontalHeaderDefaultSectionSize">
|
2018-10-13 22:29:11 -04:00
|
|
|
<number>125</number>
|
2018-10-06 15:33:02 -04:00
|
|
|
</attribute>
|
|
|
|
<attribute name="horizontalHeaderShowSortIndicator" stdset="0">
|
|
|
|
<bool>true</bool>
|
|
|
|
</attribute>
|
|
|
|
<attribute name="horizontalHeaderStretchLastSection">
|
|
|
|
<bool>true</bool>
|
|
|
|
</attribute>
|
2018-10-13 22:29:11 -04:00
|
|
|
<attribute name="verticalHeaderVisible">
|
|
|
|
<bool>false</bool>
|
|
|
|
</attribute>
|
2018-10-06 15:33:02 -04:00
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<widget class="QLabel" name="label_receipts">
|
2018-10-14 18:06:38 -04:00
|
|
|
<property name="focusPolicy">
|
|
|
|
<enum>Qt::TabFocus</enum>
|
|
|
|
</property>
|
2018-10-06 19:40:04 -04:00
|
|
|
<property name="toolTip">
|
|
|
|
<string>Memory aids, proof</string>
|
|
|
|
</property>
|
2018-10-06 15:33:02 -04:00
|
|
|
<property name="text">
|
|
|
|
<string/>
|
|
|
|
</property>
|
2018-10-06 19:40:04 -04:00
|
|
|
<property name="textFormat">
|
|
|
|
<enum>Qt::AutoText</enum>
|
|
|
|
</property>
|
2018-10-16 16:37:11 -04:00
|
|
|
<property name="wordWrap">
|
|
|
|
<bool>true</bool>
|
|
|
|
</property>
|
2018-10-06 19:40:04 -04:00
|
|
|
<property name="openExternalLinks">
|
|
|
|
<bool>true</bool>
|
|
|
|
</property>
|
2018-10-06 15:33:02 -04:00
|
|
|
<property name="textInteractionFlags">
|
2018-10-06 19:40:04 -04:00
|
|
|
<set>Qt::LinksAccessibleByKeyboard|Qt::LinksAccessibleByMouse|Qt::TextBrowserInteraction|Qt::TextSelectableByKeyboard|Qt::TextSelectableByMouse</set>
|
2018-10-06 15:33:02 -04:00
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
</layout>
|
|
|
|
</widget>
|
|
|
|
<widget class="QStatusBar" name="statusbar"/>
|
|
|
|
<widget class="QToolBar" name="toolbar">
|
|
|
|
<property name="windowTitle">
|
2018-10-19 19:11:08 -04:00
|
|
|
<string>Toolbar</string>
|
2018-10-06 15:33:02 -04:00
|
|
|
</property>
|
|
|
|
<attribute name="toolBarArea">
|
|
|
|
<enum>TopToolBarArea</enum>
|
|
|
|
</attribute>
|
|
|
|
<attribute name="toolBarBreak">
|
|
|
|
<bool>false</bool>
|
|
|
|
</attribute>
|
|
|
|
<addaction name="action_add"/>
|
2018-10-17 14:44:58 -04:00
|
|
|
<addaction name="action_edit"/>
|
2018-10-06 15:33:02 -04:00
|
|
|
<addaction name="action_remove"/>
|
2018-10-12 23:07:34 -04:00
|
|
|
<addaction name="action_reload"/>
|
2018-10-24 18:43:52 -04:00
|
|
|
<addaction name="separator"/>
|
2018-10-06 15:33:02 -04:00
|
|
|
<addaction name="action_about"/>
|
2018-10-12 23:59:56 -04:00
|
|
|
<addaction name="action_quit"/>
|
2018-10-06 15:33:02 -04:00
|
|
|
</widget>
|
2018-10-20 00:35:41 -04:00
|
|
|
<widget class="QMenuBar" name="menubar">
|
2018-10-13 20:31:42 -04:00
|
|
|
<property name="geometry">
|
|
|
|
<rect>
|
|
|
|
<x>0</x>
|
|
|
|
<y>0</y>
|
|
|
|
<width>600</width>
|
|
|
|
<height>21</height>
|
|
|
|
</rect>
|
|
|
|
</property>
|
2018-10-20 00:35:41 -04:00
|
|
|
<widget class="QMenu" name="menu_database">
|
2018-10-13 20:31:42 -04:00
|
|
|
<property name="title">
|
|
|
|
<string>&Database</string>
|
|
|
|
</property>
|
|
|
|
<addaction name="action_add"/>
|
2018-10-17 14:44:58 -04:00
|
|
|
<addaction name="action_edit"/>
|
2018-10-13 20:31:42 -04:00
|
|
|
<addaction name="action_remove"/>
|
|
|
|
<addaction name="action_reload"/>
|
|
|
|
<addaction name="action_quit"/>
|
|
|
|
</widget>
|
2018-10-20 00:35:41 -04:00
|
|
|
<widget class="QMenu" name="menu_help">
|
2018-10-13 20:31:42 -04:00
|
|
|
<property name="title">
|
|
|
|
<string>&Help</string>
|
|
|
|
</property>
|
|
|
|
<addaction name="action_about"/>
|
|
|
|
</widget>
|
2018-10-20 00:35:41 -04:00
|
|
|
<addaction name="menu_database"/>
|
|
|
|
<addaction name="menu_help"/>
|
2018-10-13 20:31:42 -04:00
|
|
|
</widget>
|
2018-10-06 15:33:02 -04:00
|
|
|
<action name="action_add">
|
|
|
|
<property name="icon">
|
2018-10-24 18:43:52 -04:00
|
|
|
<iconset theme="list-add">
|
2018-10-12 23:07:34 -04:00
|
|
|
<normaloff>.</normaloff>.</iconset>
|
2018-10-06 15:33:02 -04:00
|
|
|
</property>
|
|
|
|
<property name="text">
|
2018-10-13 20:31:42 -04:00
|
|
|
<string>&Add</string>
|
2018-10-06 15:33:02 -04:00
|
|
|
</property>
|
|
|
|
<property name="toolTip">
|
|
|
|
<string>Add user or instance</string>
|
|
|
|
</property>
|
|
|
|
<property name="shortcut">
|
2018-10-24 18:43:52 -04:00
|
|
|
<string>Ctrl+N</string>
|
2018-10-06 15:33:02 -04:00
|
|
|
</property>
|
|
|
|
</action>
|
|
|
|
<action name="action_remove">
|
|
|
|
<property name="icon">
|
2018-10-24 18:43:52 -04:00
|
|
|
<iconset theme="list-remove">
|
2018-10-12 23:07:34 -04:00
|
|
|
<normaloff>.</normaloff>.</iconset>
|
2018-10-06 15:33:02 -04:00
|
|
|
</property>
|
|
|
|
<property name="text">
|
2018-10-13 20:31:42 -04:00
|
|
|
<string>Re&move</string>
|
2018-10-06 15:33:02 -04:00
|
|
|
</property>
|
|
|
|
<property name="toolTip">
|
|
|
|
<string>Remove user or instance</string>
|
|
|
|
</property>
|
|
|
|
<property name="shortcut">
|
2018-10-24 18:43:52 -04:00
|
|
|
<string>Del</string>
|
2018-10-06 15:33:02 -04:00
|
|
|
</property>
|
|
|
|
</action>
|
|
|
|
<action name="action_about">
|
|
|
|
<property name="icon">
|
2018-10-24 18:43:52 -04:00
|
|
|
<iconset theme="help-about">
|
2018-10-12 23:07:34 -04:00
|
|
|
<normaloff>.</normaloff>.</iconset>
|
2018-10-06 15:33:02 -04:00
|
|
|
</property>
|
|
|
|
<property name="text">
|
2018-10-14 13:58:11 -04:00
|
|
|
<string>&About</string>
|
2018-10-06 15:33:02 -04:00
|
|
|
</property>
|
|
|
|
<property name="toolTip">
|
|
|
|
<string>About this application</string>
|
|
|
|
</property>
|
|
|
|
</action>
|
2018-10-12 23:07:34 -04:00
|
|
|
<action name="action_reload">
|
|
|
|
<property name="icon">
|
2018-10-24 18:43:52 -04:00
|
|
|
<iconset theme="view-refresh">
|
2018-10-12 23:59:56 -04:00
|
|
|
<normaloff>.</normaloff>.</iconset>
|
2018-10-12 23:07:34 -04:00
|
|
|
</property>
|
|
|
|
<property name="text">
|
2018-10-13 20:31:42 -04:00
|
|
|
<string>&Reload</string>
|
2018-10-12 23:07:34 -04:00
|
|
|
</property>
|
|
|
|
<property name="toolTip">
|
|
|
|
<string>Reload database</string>
|
|
|
|
</property>
|
|
|
|
<property name="shortcut">
|
2018-10-24 18:43:52 -04:00
|
|
|
<string>Ctrl+R</string>
|
2018-10-12 23:07:34 -04:00
|
|
|
</property>
|
|
|
|
</action>
|
2018-10-12 23:59:56 -04:00
|
|
|
<action name="action_quit">
|
|
|
|
<property name="icon">
|
2018-10-24 18:43:52 -04:00
|
|
|
<iconset theme="application-exit">
|
2018-10-13 20:31:42 -04:00
|
|
|
<normaloff>.</normaloff>.</iconset>
|
2018-10-12 23:59:56 -04:00
|
|
|
</property>
|
|
|
|
<property name="text">
|
2018-10-13 20:31:42 -04:00
|
|
|
<string>&Quit</string>
|
2018-10-12 23:59:56 -04:00
|
|
|
</property>
|
|
|
|
<property name="toolTip">
|
|
|
|
<string>Quit application</string>
|
|
|
|
</property>
|
|
|
|
<property name="shortcut">
|
2018-10-24 18:43:52 -04:00
|
|
|
<string>Ctrl+Q</string>
|
2018-10-12 23:59:56 -04:00
|
|
|
</property>
|
|
|
|
</action>
|
2018-10-17 14:44:58 -04:00
|
|
|
<action name="action_edit">
|
|
|
|
<property name="icon">
|
2018-10-17 18:18:11 -04:00
|
|
|
<iconset theme="edit-redo">
|
|
|
|
<normaloff>.</normaloff>.</iconset>
|
2018-10-17 14:44:58 -04:00
|
|
|
</property>
|
|
|
|
<property name="text">
|
|
|
|
<string>&Edit</string>
|
|
|
|
</property>
|
|
|
|
<property name="toolTip">
|
|
|
|
<string>Edit entry</string>
|
|
|
|
</property>
|
|
|
|
<property name="shortcut">
|
2018-10-19 18:40:45 -04:00
|
|
|
<string notr="true">Ctrl+E</string>
|
2018-10-17 14:44:58 -04:00
|
|
|
</property>
|
|
|
|
</action>
|
2018-10-06 15:33:02 -04:00
|
|
|
</widget>
|
|
|
|
<resources/>
|
2018-10-13 22:29:11 -04: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>
|
|
|
|
<slot>populate_tableview()</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_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 14:44:58 -04: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>
|
2018-10-13 22:29:11 -04:00
|
|
|
</connections>
|
|
|
|
<slots>
|
|
|
|
<slot>add()</slot>
|
|
|
|
<slot>remove()</slot>
|
|
|
|
<slot>populate_tableview()</slot>
|
|
|
|
<slot>about()</slot>
|
|
|
|
<slot>show_details(QModelIndex)</slot>
|
2018-10-17 14:44:58 -04:00
|
|
|
<slot>edit()</slot>
|
2018-10-13 22:29:11 -04:00
|
|
|
</slots>
|
2018-10-06 15:33:02 -04:00
|
|
|
</ui>
|