whyblocked/src/whyblocked.ui

468 lines
12 KiB
Plaintext
Raw Normal View History

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>
<property name="acceptDrops">
<bool>true</bool>
</property>
2018-10-06 21:33:02 +02:00
<property name="windowTitle">
<string>Whyblocked</string>
2018-10-06 21:33:02 +02:00
</property>
2018-10-20 00:34:00 +02:00
<property name="windowIcon">
<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">
<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">
<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>
<property name="tabKeyNavigation">
<bool>false</bool>
</property>
<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">
<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>
<attribute name="verticalHeaderVisible">
<bool>false</bool>
</attribute>
2018-10-06 21:33:02 +02:00
</widget>
</item>
<item>
<widget class="QLabel" name="label_receipts">
<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>
<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">
<string>Toolbar</string>
2018-10-06 21:33:02 +02:00
</property>
<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"/>
<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"/>
<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>&amp;Database</string>
</property>
<addaction name="action_add"/>
<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>&amp;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">
<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>&amp;Add</string>
2018-10-06 21:33:02 +02:00
</property>
<property name="toolTip">
<string>Add user or instance</string>
</property>
<property name="shortcut">
<string>Ctrl+N</string>
2018-10-06 21:33:02 +02:00
</property>
</action>
<action name="action_remove">
<property name="icon">
<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&amp;move</string>
2018-10-06 21:33:02 +02:00
</property>
<property name="toolTip">
<string>Remove user or instance</string>
</property>
<property name="shortcut">
<string>Del</string>
2018-10-06 21:33:02 +02:00
</property>
</action>
<action name="action_about">
<property name="icon">
<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">
<string>&amp;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">
<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>&amp;Reload</string>
2018-10-13 05:07:34 +02:00
</property>
<property name="toolTip">
<string>Reload database</string>
</property>
<property name="shortcut">
<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">
<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>&amp;Quit</string>
2018-10-13 05:59:56 +02:00
</property>
<property name="toolTip">
<string>Quit application</string>
</property>
<property name="shortcut">
<string>Ctrl+Q</string>
2018-10-13 05:59:56 +02:00
</property>
</action>
<action name="action_edit">
<property name="icon">
<iconset theme="edit-redo">
<normaloff>.</normaloff>.</iconset>
</property>
<property name="text">
<string>&amp;Edit</string>
</property>
<property name="toolTip">
<string>Edit entry</string>
</property>
<property name="shortcut">
<string notr="true">Ctrl+E</string>
</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>&amp;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/>
<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>
<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>
<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>
</connections>
<slots>
<slot>add()</slot>
<slot>remove()</slot>
<slot>populate_tableview()</slot>
<slot>about()</slot>
<slot>show_details(QModelIndex)</slot>
<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>
</slots>
2018-10-06 21:33:02 +02:00
</ui>