ui_pqExpanderButton.h
Go to the documentation of this file.
1 /********************************************************************************
2 ** Form generated from reading UI file 'pqExpanderButton.ui'
3 **
4 ** Created by: Qt User Interface Compiler version 5.15.2
5 **
6 ** WARNING! All changes made in this file will be lost when recompiling UI file!
7 ********************************************************************************/
8 
9 #ifndef UI_PQEXPANDERBUTTON_H
10 #define UI_PQEXPANDERBUTTON_H
11 
12 #include <QtCore/QVariant>
13 #include <QtWidgets/QApplication>
14 #include <QtWidgets/QFrame>
15 #include <QtWidgets/QHBoxLayout>
16 #include <QtWidgets/QLabel>
17 
18 QT_BEGIN_NAMESPACE
19 
21 {
22 public:
23  QHBoxLayout *horizontalLayout;
24  QLabel *icon;
25  QLabel *label;
26 
27  void setupUi(QFrame *pqExpanderButton)
28  {
29  if (pqExpanderButton->objectName().isEmpty())
30  pqExpanderButton->setObjectName(QString::fromUtf8("pqExpanderButton"));
31  pqExpanderButton->resize(115, 27);
32  QSizePolicy sizePolicy(QSizePolicy::Minimum, QSizePolicy::Minimum);
33  sizePolicy.setHorizontalStretch(0);
34  sizePolicy.setVerticalStretch(0);
35  sizePolicy.setHeightForWidth(pqExpanderButton->sizePolicy().hasHeightForWidth());
36  pqExpanderButton->setSizePolicy(sizePolicy);
37  pqExpanderButton->setFrameShape(QFrame::StyledPanel);
38  pqExpanderButton->setFrameShadow(QFrame::Raised);
39  pqExpanderButton->setLineWidth(1);
40  horizontalLayout = new QHBoxLayout(pqExpanderButton);
41  horizontalLayout->setObjectName(QString::fromUtf8("horizontalLayout"));
42  horizontalLayout->setContentsMargins(-1, 4, -1, 4);
43  icon = new QLabel(pqExpanderButton);
44  icon->setObjectName(QString::fromUtf8("icon"));
45  sizePolicy.setHeightForWidth(icon->sizePolicy().hasHeightForWidth());
46  icon->setSizePolicy(sizePolicy);
47  icon->setPixmap(QPixmap(QString::fromUtf8(":/QtWidgets/Icons/pqPlus.svg")));
48 
49  horizontalLayout->addWidget(icon);
50 
51  label = new QLabel(pqExpanderButton);
52  label->setObjectName(QString::fromUtf8("label"));
53  QSizePolicy sizePolicy1(QSizePolicy::Ignored, QSizePolicy::Preferred);
54  sizePolicy1.setHorizontalStretch(0);
55  sizePolicy1.setVerticalStretch(0);
56  sizePolicy1.setHeightForWidth(label->sizePolicy().hasHeightForWidth());
57  label->setSizePolicy(sizePolicy1);
58  QFont font;
59  font.setBold(true);
60  font.setWeight(75);
61  label->setFont(font);
62 
63  horizontalLayout->addWidget(label);
64 
65  horizontalLayout->setStretch(1, 1);
66 
67  retranslateUi(pqExpanderButton);
68 
69  QMetaObject::connectSlotsByName(pqExpanderButton);
70  } // setupUi
71 
73  {
74  icon->setText(QString());
75  label->setText(QCoreApplication::translate("pqExpanderButton", "Properties", nullptr));
76  (void)pqExpanderButton;
77  } // retranslateUi
78 
79 };
80 
81 namespace Ui {
83 } // namespace Ui
84 
85 QT_END_NAMESPACE
86 
87 #endif // UI_PQEXPANDERBUTTON_H
pqExpanderButton provides a frame with a toggle mode.
void setupUi(QFrame *pqExpanderButton)
void retranslateUi(QFrame *pqExpanderButton)
QHBoxLayout * horizontalLayout