Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
122 lines (121 sloc) 2.97 KB
<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
<class>NewBook</class>
<widget class="QDialog" name="NewBook">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>431</width>
<height>548</height>
</rect>
</property>
<property name="windowTitle">
<string>New Book</string>
</property>
<layout class="QGridLayout" name="gridLayout">
<item row="0" column="0">
<widget class="QLabel" name="nameLabel">
<property name="text">
<string>Name:</string>
</property>
</widget>
</item>
<item row="1" column="0">
<widget class="QLineEdit" name="nameEdit"/>
</item>
<item row="2" column="0">
<widget class="QLabel" name="authorLabel">
<property name="text">
<string>Author:</string>
</property>
</widget>
</item>
<item row="3" column="0">
<widget class="QLineEdit" name="authorEdit"/>
</item>
<item row="4" column="0">
<widget class="QLabel" name="isbnLabel">
<property name="text">
<string>ISBN:</string>
</property>
</widget>
</item>
<item row="5" column="0">
<widget class="QLineEdit" name="isbnEdit"/>
</item>
<item row="6" column="0">
<widget class="QLabel" name="quantityLabel">
<property name="text">
<string>Quantity:</string>
</property>
</widget>
</item>
<item row="7" column="0">
<widget class="QLineEdit" name="quantityEdit"/>
</item>
<item row="8" column="0">
<widget class="QLabel" name="availableLabel">
<property name="text">
<string>Available:</string>
</property>
</widget>
</item>
<item row="9" column="0">
<widget class="QLineEdit" name="availableEdit"/>
</item>
<item row="10" column="0">
<widget class="QLabel" name="studentidlabel">
<property name="text">
<string>Taken By(Student ID):</string>
</property>
</widget>
</item>
<item row="12" column="0">
<widget class="QLineEdit" name="studentidEdit"/>
</item>
<item row="14" column="0">
<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>
<item row="13" column="0">
<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>
</layout>
</widget>
<resources/>
<connections>
<connection>
<sender>buttonBox</sender>
<signal>accepted()</signal>
<receiver>NewBook</receiver>
<slot>accept()</slot>
<hints>
<hint type="sourcelabel">
<x>257</x>
<y>538</y>
</hint>
<hint type="destinationlabel">
<x>157</x>
<y>274</y>
</hint>
</hints>
</connection>
</connections>
</ui>
Something went wrong with that request. Please try again.