12 #include <QtCore/QVariant> 13 #include <QtWidgets/QAction> 14 #include <QtWidgets/QApplication> 15 #include <QtWidgets/QButtonGroup> 16 #include <QtWidgets/QHBoxLayout> 17 #include <QtWidgets/QHeaderView> 18 #include <QtWidgets/QLabel> 19 #include <QtWidgets/QSpacerItem> 20 #include <QtWidgets/QTabBar> 21 #include <QtWidgets/QVBoxLayout> 22 #include <QtWidgets/QWidget> 43 if (TitleBar->objectName().isEmpty())
44 TitleBar->setObjectName(QStringLiteral(
"TitleBar"));
45 TitleBar->resize(722, 33);
46 horizontalLayout =
new QHBoxLayout(TitleBar);
47 horizontalLayout->setSpacing(2);
48 horizontalLayout->setObjectName(QStringLiteral(
"horizontalLayout"));
49 horizontalLayout->setContentsMargins(0, 0, 20, 0);
50 widgetLogo =
new QWidget(TitleBar);
51 widgetLogo->setObjectName(QStringLiteral(
"widgetLogo"));
52 widgetLogo->setMaximumSize(QSize(150, 16777215));
53 verticalLayout_2 =
new QVBoxLayout(widgetLogo);
54 verticalLayout_2->setSpacing(0);
55 verticalLayout_2->setObjectName(QStringLiteral(
"verticalLayout_2"));
56 verticalLayout_2->setContentsMargins(0, 0, 0, 0);
57 verticalSpacer =
new QSpacerItem(43, 0, QSizePolicy::Minimum, QSizePolicy::Expanding);
59 verticalLayout_2->addItem(verticalSpacer);
62 horizontalLayout->addWidget(widgetLogo);
64 horizontalSpacer_3 =
new QSpacerItem(20, 20, QSizePolicy::Fixed, QSizePolicy::Minimum);
66 horizontalLayout->addItem(horizontalSpacer_3);
68 verticalLayout_3 =
new QVBoxLayout();
69 verticalLayout_3->setSpacing(0);
70 verticalLayout_3->setObjectName(QStringLiteral(
"verticalLayout_3"));
71 verticalLayout_3->setContentsMargins(-1, -1, -1, 0);
72 verticalSpacer_3 =
new QSpacerItem(20, 5, QSizePolicy::Minimum, QSizePolicy::Expanding);
74 verticalLayout_3->addItem(verticalSpacer_3);
76 tabWidget =
new QTabBar(TitleBar);
77 tabWidget->setObjectName(QStringLiteral(
"tabWidget"));
78 tabWidget->setMinimumSize(QSize(0, 35));
80 verticalLayout_3->addWidget(tabWidget);
83 horizontalLayout->addLayout(verticalLayout_3);
85 horizontalSpacer =
new QSpacerItem(0, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
87 horizontalLayout->addItem(horizontalSpacer);
89 verticalLayout =
new QVBoxLayout();
90 verticalLayout->setObjectName(QStringLiteral(
"verticalLayout"));
91 lblBalance =
new QLabel(TitleBar);
92 lblBalance->setObjectName(QStringLiteral(
"lblBalance"));
93 lblBalance->setMinimumSize(QSize(20, 0));
95 font.setPointSize(17);
96 lblBalance->setFont(font);
97 lblBalance->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);
99 verticalLayout->addWidget(lblBalance);
102 horizontalLayout->addLayout(verticalLayout);
107 QMetaObject::connectSlotsByName(TitleBar);
112 TitleBar->setWindowTitle(QApplication::translate(
"TitleBar",
"Form", 0));
113 lblBalance->setText(QString());
124 #endif // UI_TITLEBAR_H QSpacerItem * horizontalSpacer_3
QHBoxLayout * horizontalLayout
QVBoxLayout * verticalLayout
QVBoxLayout * verticalLayout_3
void retranslateUi(QWidget *TitleBar)
The TitleBar class Title bar widget.
QSpacerItem * horizontalSpacer
void setupUi(QWidget *TitleBar)
QSpacerItem * verticalSpacer
QSpacerItem * verticalSpacer_3
QVBoxLayout * verticalLayout_2