whyblocked/src/whyblocked.ui

361 lines
8.8 KiB
XML

<?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="windowTitle">
<string>Whyblocked</string>
</property>
<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">
<property name="toolTip">
<string>Click or press enter to view receipts</string>
</property>
<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>
<attribute name="horizontalHeaderDefaultSectionSize">
<number>125</number>
</attribute>
<attribute name="horizontalHeaderShowSortIndicator" stdset="0">
<bool>true</bool>
</attribute>
<attribute name="horizontalHeaderStretchLastSection">
<bool>true</bool>
</attribute>
<attribute name="verticalHeaderVisible">
<bool>false</bool>
</attribute>
</widget>
</item>
<item>
<widget class="QLabel" name="label_receipts">
<property name="focusPolicy">
<enum>Qt::TabFocus</enum>
</property>
<property name="toolTip">
<string>Memory aids, proof</string>
</property>
<property name="text">
<string/>
</property>
<property name="textFormat">
<enum>Qt::AutoText</enum>
</property>
<property name="wordWrap">
<bool>true</bool>
</property>
<property name="openExternalLinks">
<bool>true</bool>
</property>
<property name="textInteractionFlags">
<set>Qt::LinksAccessibleByKeyboard|Qt::LinksAccessibleByMouse|Qt::TextBrowserInteraction|Qt::TextSelectableByKeyboard|Qt::TextSelectableByMouse</set>
</property>
</widget>
</item>
</layout>
</widget>
<widget class="QStatusBar" name="statusbar"/>
<widget class="QToolBar" name="toolbar">
<property name="windowTitle">
<string>toolBar</string>
</property>
<attribute name="toolBarArea">
<enum>TopToolBarArea</enum>
</attribute>
<attribute name="toolBarBreak">
<bool>false</bool>
</attribute>
<addaction name="action_add"/>
<addaction name="action_edit"/>
<addaction name="action_remove"/>
<addaction name="action_reload"/>
<addaction name="action_about"/>
<addaction name="action_quit"/>
</widget>
<widget class="QMenuBar" name="menuBar">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>600</width>
<height>21</height>
</rect>
</property>
<widget class="QMenu" name="menuDatabase">
<property name="title">
<string>&amp;Database</string>
</property>
<addaction name="action_add"/>
<addaction name="action_edit"/>
<addaction name="action_remove"/>
<addaction name="action_reload"/>
<addaction name="action_quit"/>
</widget>
<widget class="QMenu" name="menuHelp">
<property name="title">
<string>&amp;Help</string>
</property>
<addaction name="action_about"/>
</widget>
<addaction name="menuDatabase"/>
<addaction name="menuHelp"/>
</widget>
<action name="action_add">
<property name="icon">
<iconset theme="add">
<normaloff>.</normaloff>.</iconset>
</property>
<property name="text">
<string>&amp;Add</string>
</property>
<property name="toolTip">
<string>Add user or instance</string>
</property>
<property name="shortcut">
<string>Ctrl+N</string>
</property>
</action>
<action name="action_remove">
<property name="icon">
<iconset theme="remove">
<normaloff>.</normaloff>.</iconset>
</property>
<property name="text">
<string>Re&amp;move</string>
</property>
<property name="toolTip">
<string>Remove user or instance</string>
</property>
<property name="shortcut">
<string>Del</string>
</property>
</action>
<action name="action_about">
<property name="icon">
<iconset theme="info">
<normaloff>.</normaloff>.</iconset>
</property>
<property name="text">
<string>&amp;About</string>
</property>
<property name="toolTip">
<string>About this application</string>
</property>
</action>
<action name="action_reload">
<property name="icon">
<iconset theme="reload">
<normaloff>.</normaloff>.</iconset>
</property>
<property name="text">
<string>&amp;Reload</string>
</property>
<property name="toolTip">
<string>Reload database</string>
</property>
<property name="shortcut">
<string>Ctrl+R</string>
</property>
</action>
<action name="action_quit">
<property name="icon">
<iconset theme="exit">
<normaloff>.</normaloff>.</iconset>
</property>
<property name="text">
<string>&amp;Quit</string>
</property>
<property name="toolTip">
<string>Quit application</string>
</property>
<property name="shortcut">
<string>Ctrl+Q</string>
</property>
</action>
<action name="action_edit">
<property name="icon">
<iconset theme="edit-redo"/>
</property>
<property name="text">
<string>&amp;Edit</string>
</property>
<property name="toolTip">
<string>Edit entry</string>
</property>
<property name="shortcut">
<string>Ctrl+E</string>
</property>
</action>
</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>
<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>
<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>
</connections>
<slots>
<slot>add()</slot>
<slot>remove()</slot>
<slot>populate_tableview()</slot>
<slot>about()</slot>
<slot>show_details(QModelIndex)</slot>
<slot>edit()</slot>
</slots>
</ui>