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

229 lines
6.6 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
<class>EntityUpdaterWidget</class>
<widget class="QWidget" name="EntityUpdaterWidget">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>275</width>
<height>322</height>
</rect>
</property>
<property name="windowTitle">
<string>Form</string>
</property>
<property name="styleSheet">
<string notr="true">QGroupBox#groupBox {
border: 2px solid #FF6400;
border-radius: 10px;
padding: 5px;
padding-top: 10px;
}
QGroupBox#groupBox::title {
background: transparent;
subcontrol-origin: margin;
subcontrol-position: top center;
padding: 5px;
}</string>
</property>
<layout class="QVBoxLayout" name="verticalLayout_6">
<property name="leftMargin">
<number>0</number>
</property>
<property name="topMargin">
<number>0</number>
</property>
<property name="rightMargin">
<number>0</number>
</property>
<property name="bottomMargin">
<number>0</number>
</property>
<item>
<widget class="QGroupBox" name="groupBox">
<property name="title">
<string>Database records update</string>
</property>
<property name="alignment">
<set>Qt::AlignmentFlag::AlignCenter</set>
</property>
<property name="flat">
<bool>true</bool>
</property>
<layout class="QVBoxLayout" name="verticalLayout_2">
<property name="spacing">
<number>6</number>
</property>
<item>
<widget class="QLabel" name="labelCurrentTable">
<property name="text">
<string>Current table:</string>
</property>
</widget>
</item>
<item>
<widget class="QComboBox" name="comboBoxCurrentTable"/>
</item>
<item>
<widget class="EntityFinderWidget" name="primaryKeyFinder" native="true"/>
</item>
<item>
<widget class="QLabel" name="labelCurrentColumn">
<property name="text">
<string>Current column:</string>
</property>
</widget>
</item>
<item>
<widget class="QComboBox" name="comboBoxCurrentColumn"/>
</item>
<item>
<widget class="QStackedWidget" name="stackedWidget">
<property name="frameShape">
<enum>QFrame::Shape::StyledPanel</enum>
</property>
<property name="currentIndex">
<number>4</number>
</property>
<widget class="QWidget" name="pageSpinBox">
<layout class="QVBoxLayout" name="verticalLayout_4">
<item>
<widget class="QLabel" name="labelSpinBox">
<property name="text">
<string>Enter integer value:</string>
</property>
</widget>
</item>
<item>
<widget class="QSpinBox" name="spinBox"/>
</item>
<item>
<spacer name="verticalSpacer_4">
<property name="orientation">
<enum>Qt::Orientation::Vertical</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>20</width>
<height>40</height>
</size>
</property>
</spacer>
</item>
</layout>
</widget>
<widget class="QWidget" name="pageDoubleSpinBox">
<layout class="QVBoxLayout" name="verticalLayout_3">
<item>
<widget class="QLabel" name="labelDoubleSpinBox">
<property name="text">
<string>Enter a value with a floating point:</string>
</property>
</widget>
</item>
<item>
<widget class="QDoubleSpinBox" name="doubleSpinBox"/>
</item>
<item>
<spacer name="verticalSpacer_2">
<property name="orientation">
<enum>Qt::Orientation::Vertical</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>20</width>
<height>40</height>
</size>
</property>
</spacer>
</item>
</layout>
</widget>
<widget class="QWidget" name="pageLineEdit">
<layout class="QVBoxLayout" name="verticalLayout_5">
<item>
<widget class="QLabel" name="labelLineEdit">
<property name="text">
<string>Enter text data:</string>
</property>
</widget>
</item>
<item>
<widget class="QLineEdit" name="lineEdit"/>
</item>
<item>
<spacer name="verticalSpacer_3">
<property name="orientation">
<enum>Qt::Orientation::Vertical</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>20</width>
<height>40</height>
</size>
</property>
</spacer>
</item>
</layout>
</widget>
<widget class="QWidget" name="pageDateTimeEdit">
<layout class="QVBoxLayout" name="verticalLayout_7">
<item>
<widget class="QLabel" name="labelDateTimeEdit">
<property name="text">
<string>Enter the date and time:</string>
</property>
</widget>
</item>
<item>
<widget class="QDateTimeEdit" name="dateTimeEdit"/>
</item>
<item>
<spacer name="verticalSpacer">
<property name="orientation">
<enum>Qt::Orientation::Vertical</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>20</width>
<height>40</height>
</size>
</property>
</spacer>
</item>
</layout>
</widget>
<widget class="QWidget" name="pageChildFinderWidget">
<layout class="QVBoxLayout" name="verticalLayout">
<item>
<widget class="EntityFinderWidget" name="foreignKeyFinder" native="true"/>
</item>
</layout>
</widget>
</widget>
</item>
<item>
<widget class="QPushButton" name="pushButtonUpdate">
<property name="text">
<string>Update</string>
</property>
</widget>
</item>
</layout>
</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>