231 lines
5.4 KiB
XML
231 lines
5.4 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>800</width>
|
|
<height>600</height>
|
|
</rect>
|
|
</property>
|
|
<property name="windowTitle">
|
|
<string>Reading Helper</string>
|
|
</property>
|
|
<widget class="QWidget" name="centralwidget">
|
|
<layout class="QHBoxLayout" name="horizontalLayout">
|
|
<item>
|
|
<widget class="QListView" name="peopleView"/>
|
|
</item>
|
|
<item>
|
|
<widget class="QWidget" name="widget" native="true">
|
|
<layout class="QVBoxLayout" name="verticalLayout">
|
|
<item>
|
|
<widget class="QPushButton" name="readBtn">
|
|
<property name="text">
|
|
<string>Read</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QPushButton" name="editBtn">
|
|
<property name="text">
|
|
<string>Edit</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="Line" name="line">
|
|
<property name="orientation">
|
|
<enum>Qt::Horizontal</enum>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<spacer name="verticalSpacer">
|
|
<property name="orientation">
|
|
<enum>Qt::Vertical</enum>
|
|
</property>
|
|
<property name="sizeHint" stdset="0">
|
|
<size>
|
|
<width>20</width>
|
|
<height>40</height>
|
|
</size>
|
|
</property>
|
|
</spacer>
|
|
</item>
|
|
<item>
|
|
<widget class="QPushButton" name="bookBtn">
|
|
<property name="text">
|
|
<string>Add Book</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QPushButton" name="addBtn">
|
|
<property name="text">
|
|
<string>Add Person</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
<widget class="QMenuBar" name="menubar">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>0</x>
|
|
<y>0</y>
|
|
<width>800</width>
|
|
<height>32</height>
|
|
</rect>
|
|
</property>
|
|
<widget class="QMenu" name="menuFile">
|
|
<property name="title">
|
|
<string>File</string>
|
|
</property>
|
|
<addaction name="actionQuit"/>
|
|
</widget>
|
|
<widget class="QMenu" name="menuBooks">
|
|
<property name="title">
|
|
<string>Edit</string>
|
|
</property>
|
|
<widget class="QMenu" name="menuBooks_2">
|
|
<property name="title">
|
|
<string>Books</string>
|
|
</property>
|
|
<addaction name="actionAddBook"/>
|
|
<addaction name="actionEditBook"/>
|
|
</widget>
|
|
<widget class="QMenu" name="menuPeople">
|
|
<property name="title">
|
|
<string>People</string>
|
|
</property>
|
|
<addaction name="actionAddPerson"/>
|
|
<addaction name="actionEditPerson"/>
|
|
</widget>
|
|
<addaction name="menuBooks_2"/>
|
|
<addaction name="menuPeople"/>
|
|
</widget>
|
|
<addaction name="menuFile"/>
|
|
<addaction name="menuBooks"/>
|
|
</widget>
|
|
<widget class="QStatusBar" name="statusbar"/>
|
|
<action name="actionQuit">
|
|
<property name="text">
|
|
<string>Quit</string>
|
|
</property>
|
|
</action>
|
|
<action name="actionAddBook">
|
|
<property name="text">
|
|
<string>Add</string>
|
|
</property>
|
|
<property name="toolTip">
|
|
<string>Add Book</string>
|
|
</property>
|
|
</action>
|
|
<action name="actionEditBook">
|
|
<property name="text">
|
|
<string>Edit</string>
|
|
</property>
|
|
<property name="toolTip">
|
|
<string>Edit Book</string>
|
|
</property>
|
|
</action>
|
|
<action name="actionAddPerson">
|
|
<property name="text">
|
|
<string>Add</string>
|
|
</property>
|
|
<property name="toolTip">
|
|
<string>Add A Person</string>
|
|
</property>
|
|
</action>
|
|
<action name="actionEditPerson">
|
|
<property name="text">
|
|
<string>Edit</string>
|
|
</property>
|
|
<property name="toolTip">
|
|
<string>Edit A Person</string>
|
|
</property>
|
|
</action>
|
|
<action name="actionRead">
|
|
<property name="text">
|
|
<string>Read</string>
|
|
</property>
|
|
<property name="toolTip">
|
|
<string>Read Book</string>
|
|
</property>
|
|
</action>
|
|
</widget>
|
|
<resources/>
|
|
<connections>
|
|
<connection>
|
|
<sender>editBtn</sender>
|
|
<signal>clicked()</signal>
|
|
<receiver>actionEditPerson</receiver>
|
|
<slot>trigger()</slot>
|
|
<hints>
|
|
<hint type="sourcelabel">
|
|
<x>722</x>
|
|
<y>117</y>
|
|
</hint>
|
|
<hint type="destinationlabel">
|
|
<x>-1</x>
|
|
<y>-1</y>
|
|
</hint>
|
|
</hints>
|
|
</connection>
|
|
<connection>
|
|
<sender>addBtn</sender>
|
|
<signal>clicked()</signal>
|
|
<receiver>actionAddPerson</receiver>
|
|
<slot>trigger()</slot>
|
|
<hints>
|
|
<hint type="sourcelabel">
|
|
<x>722</x>
|
|
<y>532</y>
|
|
</hint>
|
|
<hint type="destinationlabel">
|
|
<x>-1</x>
|
|
<y>-1</y>
|
|
</hint>
|
|
</hints>
|
|
</connection>
|
|
<connection>
|
|
<sender>bookBtn</sender>
|
|
<signal>clicked()</signal>
|
|
<receiver>actionAddBook</receiver>
|
|
<slot>trigger()</slot>
|
|
<hints>
|
|
<hint type="sourcelabel">
|
|
<x>722</x>
|
|
<y>491</y>
|
|
</hint>
|
|
<hint type="destinationlabel">
|
|
<x>-1</x>
|
|
<y>-1</y>
|
|
</hint>
|
|
</hints>
|
|
</connection>
|
|
<connection>
|
|
<sender>readBtn</sender>
|
|
<signal>clicked()</signal>
|
|
<receiver>actionRead</receiver>
|
|
<slot>trigger()</slot>
|
|
<hints>
|
|
<hint type="sourcelabel">
|
|
<x>722</x>
|
|
<y>67</y>
|
|
</hint>
|
|
<hint type="destinationlabel">
|
|
<x>-1</x>
|
|
<y>-1</y>
|
|
</hint>
|
|
</hints>
|
|
</connection>
|
|
</connections>
|
|
</ui>
|