categoryadddialog.ui Example File
landmarkbrowser/categoryadddialog.ui
<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
<class>CategoryAddDialog</class>
<widget class="QDialog" name="CategoryAddDialog">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>184</width>
<height>157</height>
</rect>
</property>
<property name="windowTitle">
<string>Add Category</string>
</property>
<layout class="QVBoxLayout" name="verticalLayout">
<item>
<layout class="QGridLayout" name="gridLayout">
<item row="0" column="0">
<widget class="QLabel" name="label_3">
<property name="text">
<string>Name</string>
</property>
</widget>
</item>
<item row="0" column="1">
<widget class="QLineEdit" name="nameLineEdit"/>
</item>
</layout>
</item>
<item>
<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>
</layout>
</widget>
<resources/>
<connections>
<connection>
<sender>buttonBox</sender>
<signal>accepted()</signal>
<receiver>CategoryAddDialog</receiver>
<slot>accept()</slot>
<hints>
<hint type="sourcelabel">
<x>91</x>
<y>131</y>
</hint>
<hint type="destinationlabel">
<x>91</x>
<y>78</y>
</hint>
</hints>
</connection>
<connection>
<sender>buttonBox</sender>
<signal>rejected()</signal>
<receiver>CategoryAddDialog</receiver>
<slot>reject()</slot>
<hints>
<hint type="sourcelabel">
<x>91</x>
<y>131</y>
</hint>
<hint type="destinationlabel">
<x>91</x>
<y>78</y>
</hint>
</hints>
</connection>
</connections>
</ui>
[+] Documentation Feedback