2018-10-06 15:33:02 -04:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
<ui version="4.0">
|
|
|
|
<class>DialogAdd</class>
|
|
|
|
<widget class="QDialog" name="DialogAdd">
|
|
|
|
<property name="geometry">
|
|
|
|
<rect>
|
|
|
|
<x>0</x>
|
|
|
|
<y>0</y>
|
2018-10-13 19:26:22 -04:00
|
|
|
<width>400</width>
|
|
|
|
<height>300</height>
|
2018-10-06 15:33:02 -04:00
|
|
|
</rect>
|
|
|
|
</property>
|
|
|
|
<property name="windowTitle">
|
|
|
|
<string>Dialog</string>
|
|
|
|
</property>
|
2018-10-13 19:26:22 -04:00
|
|
|
<property name="locale">
|
|
|
|
<locale language="English" country="UnitedKingdom"/>
|
|
|
|
</property>
|
2018-10-06 15:33:02 -04:00
|
|
|
<layout class="QVBoxLayout" name="verticalLayout">
|
|
|
|
<item>
|
2018-10-13 19:26:22 -04:00
|
|
|
<layout class="QGridLayout" name="layout_grid" rowstretch="0,0,0,0,0,0,0,0">
|
|
|
|
<property name="sizeConstraint">
|
|
|
|
<enum>QLayout::SetDefaultConstraint</enum>
|
|
|
|
</property>
|
|
|
|
<property name="verticalSpacing">
|
|
|
|
<number>6</number>
|
|
|
|
</property>
|
|
|
|
<item row="4" column="0">
|
|
|
|
<widget class="QLabel" name="label_receipts">
|
|
|
|
<property name="sizePolicy">
|
|
|
|
<sizepolicy hsizetype="Preferred" vsizetype="Preferred">
|
|
|
|
<horstretch>0</horstretch>
|
|
|
|
<verstretch>0</verstretch>
|
|
|
|
</sizepolicy>
|
|
|
|
</property>
|
|
|
|
<property name="toolTip">
|
|
|
|
<string>Memory aids, proof</string>
|
|
|
|
</property>
|
2018-10-06 15:33:02 -04:00
|
|
|
<property name="text">
|
2018-10-13 19:26:22 -04:00
|
|
|
<string>Receipts</string>
|
|
|
|
</property>
|
|
|
|
<property name="alignment">
|
|
|
|
<set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop</set>
|
2018-10-06 15:33:02 -04:00
|
|
|
</property>
|
|
|
|
<property name="buddy">
|
2018-10-13 19:26:22 -04:00
|
|
|
<cstring>list_receipts</cstring>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item row="5" column="0">
|
|
|
|
<widget class="QPushButton" name="button_receipt_add">
|
|
|
|
<property name="toolTip">
|
|
|
|
<string>Add receipt</string>
|
|
|
|
</property>
|
|
|
|
<property name="text">
|
|
|
|
<string>Add</string>
|
|
|
|
</property>
|
|
|
|
<property name="icon">
|
|
|
|
<iconset theme="add"/>
|
2018-10-06 15:33:02 -04:00
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item row="1" column="1">
|
|
|
|
<widget class="QRadioButton" name="radio_blocked">
|
|
|
|
<property name="enabled">
|
|
|
|
<bool>true</bool>
|
|
|
|
</property>
|
|
|
|
<property name="sizePolicy">
|
|
|
|
<sizepolicy hsizetype="Expanding" vsizetype="Fixed">
|
|
|
|
<horstretch>0</horstretch>
|
|
|
|
<verstretch>0</verstretch>
|
|
|
|
</sizepolicy>
|
|
|
|
</property>
|
|
|
|
<property name="text">
|
|
|
|
<string>Blocked</string>
|
|
|
|
</property>
|
|
|
|
<property name="checked">
|
|
|
|
<bool>true</bool>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item row="0" column="1">
|
|
|
|
<widget class="QLineEdit" name="text_user"/>
|
|
|
|
</item>
|
|
|
|
<item row="2" column="1">
|
|
|
|
<widget class="QRadioButton" name="radio_silcenced">
|
|
|
|
<property name="sizePolicy">
|
|
|
|
<sizepolicy hsizetype="Expanding" vsizetype="Fixed">
|
|
|
|
<horstretch>0</horstretch>
|
|
|
|
<verstretch>0</verstretch>
|
|
|
|
</sizepolicy>
|
|
|
|
</property>
|
|
|
|
<property name="text">
|
|
|
|
<string>Silenced</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item row="3" column="0">
|
|
|
|
<widget class="QLabel" name="label_reason">
|
|
|
|
<property name="text">
|
|
|
|
<string>Reason</string>
|
|
|
|
</property>
|
|
|
|
<property name="buddy">
|
|
|
|
<cstring>text_reason</cstring>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item row="3" column="1">
|
|
|
|
<widget class="QLineEdit" name="text_reason"/>
|
|
|
|
</item>
|
2018-10-13 19:26:22 -04:00
|
|
|
<item row="7" column="1">
|
2018-10-12 23:59:56 -04:00
|
|
|
<widget class="QDialogButtonBox" name="buttonBox">
|
|
|
|
<property name="orientation">
|
|
|
|
<enum>Qt::Horizontal</enum>
|
|
|
|
</property>
|
|
|
|
<property name="standardButtons">
|
|
|
|
<set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
2018-10-13 19:26:22 -04:00
|
|
|
<item row="1" column="0">
|
|
|
|
<widget class="QLabel" name="label_blocked">
|
|
|
|
<property name="sizePolicy">
|
|
|
|
<sizepolicy hsizetype="Preferred" vsizetype="Preferred">
|
|
|
|
<horstretch>0</horstretch>
|
|
|
|
<verstretch>0</verstretch>
|
|
|
|
</sizepolicy>
|
|
|
|
</property>
|
|
|
|
<property name="text">
|
|
|
|
<string>Blocked/Silenced</string>
|
|
|
|
</property>
|
|
|
|
<property name="buddy">
|
|
|
|
<cstring>radio_blocked</cstring>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item row="0" column="0">
|
|
|
|
<widget class="QLabel" name="label_user">
|
|
|
|
<property name="text">
|
|
|
|
<string>User/Instance</string>
|
|
|
|
</property>
|
|
|
|
<property name="buddy">
|
|
|
|
<cstring>text_user</cstring>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item row="6" column="0">
|
|
|
|
<widget class="QPushButton" name="button_receipt_remove">
|
|
|
|
<property name="toolTip">
|
|
|
|
<string>Remove receipt</string>
|
|
|
|
</property>
|
|
|
|
<property name="text">
|
|
|
|
<string>Remove</string>
|
|
|
|
</property>
|
|
|
|
<property name="icon">
|
|
|
|
<iconset theme="remove"/>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item row="4" column="1" rowspan="3">
|
|
|
|
<widget class="QListWidget" name="list_receipts">
|
|
|
|
<property name="editTriggers">
|
|
|
|
<set>QAbstractItemView::DoubleClicked|QAbstractItemView::EditKeyPressed|QAbstractItemView::SelectedClicked</set>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
2018-10-06 15:33:02 -04:00
|
|
|
</layout>
|
|
|
|
</item>
|
|
|
|
</layout>
|
|
|
|
</widget>
|
|
|
|
<tabstops>
|
|
|
|
<tabstop>text_user</tabstop>
|
|
|
|
<tabstop>radio_blocked</tabstop>
|
|
|
|
<tabstop>radio_silcenced</tabstop>
|
|
|
|
<tabstop>text_reason</tabstop>
|
2018-10-13 19:26:22 -04:00
|
|
|
<tabstop>button_receipt_add</tabstop>
|
|
|
|
<tabstop>button_receipt_remove</tabstop>
|
|
|
|
<tabstop>list_receipts</tabstop>
|
2018-10-06 15:33:02 -04:00
|
|
|
</tabstops>
|
|
|
|
<resources/>
|
|
|
|
<connections>
|
|
|
|
<connection>
|
|
|
|
<sender>buttonBox</sender>
|
|
|
|
<signal>accepted()</signal>
|
|
|
|
<receiver>DialogAdd</receiver>
|
|
|
|
<slot>accept()</slot>
|
|
|
|
<hints>
|
|
|
|
<hint type="sourcelabel">
|
|
|
|
<x>227</x>
|
2018-10-13 19:26:22 -04:00
|
|
|
<y>256</y>
|
2018-10-06 15:33:02 -04:00
|
|
|
</hint>
|
|
|
|
<hint type="destinationlabel">
|
|
|
|
<x>157</x>
|
|
|
|
<y>169</y>
|
|
|
|
</hint>
|
|
|
|
</hints>
|
|
|
|
</connection>
|
|
|
|
<connection>
|
|
|
|
<sender>buttonBox</sender>
|
|
|
|
<signal>rejected()</signal>
|
|
|
|
<receiver>DialogAdd</receiver>
|
|
|
|
<slot>reject()</slot>
|
|
|
|
<hints>
|
|
|
|
<hint type="sourcelabel">
|
|
|
|
<x>290</x>
|
2018-10-13 19:26:22 -04:00
|
|
|
<y>262</y>
|
2018-10-06 15:33:02 -04:00
|
|
|
</hint>
|
|
|
|
<hint type="destinationlabel">
|
|
|
|
<x>286</x>
|
|
|
|
<y>169</y>
|
|
|
|
</hint>
|
|
|
|
</hints>
|
|
|
|
</connection>
|
|
|
|
</connections>
|
|
|
|
</ui>
|