Files
cinema-ticket-management-sy…/ui/widgets/directories_management_widget.ui
2026-07-12 14:34:52 +04:00

170 lines
4.7 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
<class>DirectoriesManagementWidget</class>
<widget class="QWidget" name="DirectoriesManagementWidget">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>484</width>
<height>410</height>
</rect>
</property>
<property name="windowTitle">
<string>Directory management</string>
</property>
<layout class="QVBoxLayout" name="verticalLayout">
<item>
<widget class="QTabWidget" name="tabWidget">
<property name="currentIndex">
<number>0</number>
</property>
<widget class="QWidget" name="tabGenres">
<attribute name="title">
<string>Genres</string>
</attribute>
<layout class="QVBoxLayout" name="verticalLayoutGenres">
<item>
<widget class="QTableView" name="tableGenres">
<attribute name="horizontalHeaderStretchLastSection">
<bool>true</bool>
</attribute>
</widget>
</item>
<item>
<widget class="QLabel" name="labelGenreName">
<property name="text">
<string>Enter the name of the genre:</string>
</property>
</widget>
</item>
<item>
<widget class="QLineEdit" name="lineEditGenreName"/>
</item>
<item>
<widget class="QPushButton" name="btnAddGenre">
<property name="text">
<string>Add genre</string>
</property>
</widget>
</item>
</layout>
</widget>
<widget class="QWidget" name="tabHalls">
<attribute name="title">
<string>Halls</string>
</attribute>
<layout class="QVBoxLayout" name="verticalLayout_2">
<item>
<widget class="QTableView" name="tableHalls">
<attribute name="horizontalHeaderStretchLastSection">
<bool>true</bool>
</attribute>
</widget>
</item>
<item>
<widget class="QLabel" name="labelHallName">
<property name="text">
<string>Enter hall name:</string>
</property>
</widget>
</item>
<item>
<widget class="QLineEdit" name="lineEditHallName"/>
</item>
<item>
<widget class="QLabel" name="labelNumberOfSeats">
<property name="text">
<string>Enter the number of seats in the hall:</string>
</property>
</widget>
</item>
<item>
<widget class="QSpinBox" name="spinBoxNumberOfSeats">
<property name="minimum">
<number>1</number>
</property>
<property name="maximum">
<number>9999</number>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="btnAddHall">
<property name="text">
<string>Add hall</string>
</property>
</widget>
</item>
</layout>
</widget>
<widget class="QWidget" name="tabMovies">
<attribute name="title">
<string>Movies</string>
</attribute>
<layout class="QVBoxLayout" name="verticalLayout_4">
<item>
<widget class="QTableView" name="tableMovies">
<attribute name="horizontalHeaderStretchLastSection">
<bool>true</bool>
</attribute>
</widget>
</item>
<item>
<widget class="EntityFinderWidget" name="genreFinder" native="true"/>
</item>
<item>
<widget class="QLabel" name="labelMovieName">
<property name="text">
<string>Enter the name of the movie:</string>
</property>
</widget>
</item>
<item>
<widget class="QLineEdit" name="lineEditMovieName"/>
</item>
<item>
<widget class="QLabel" name="labelMovieDuration">
<property name="text">
<string>Enter the duration of the movie:</string>
</property>
</widget>
</item>
<item>
<widget class="QSpinBox" name="spinBoxMovieDuration">
<property name="suffix">
<string> minute(s)</string>
</property>
<property name="minimum">
<number>1</number>
</property>
<property name="maximum">
<number>1440</number>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="btnAddMovie">
<property name="text">
<string>Add movie</string>
</property>
</widget>
</item>
</layout>
</widget>
</widget>
</item>
</layout>
</widget>
<customwidgets>
<customwidget>
<class>EntityFinderWidget</class>
<extends>QWidget</extends>
<header>entity_finder_widget.h</header>
<container>1</container>
</customwidget>
</customwidgets>
<resources/>
<connections/>
</ui>