ui_pqFontPropertyWidget.h
Go to the documentation of this file.
1 /********************************************************************************
2 ** Form generated from reading UI file 'pqFontPropertyWidget.ui'
3 **
4 ** Created by: Qt User Interface Compiler version 5.15.1
5 **
6 ** WARNING! All changes made in this file will be lost when recompiling UI file!
7 ********************************************************************************/
8 
9 #ifndef UI_PQFONTPROPERTYWIDGET_H
10 #define UI_PQFONTPROPERTYWIDGET_H
11 
12 #include <QtCore/QVariant>
13 #include <QtGui/QIcon>
14 #include <QtWidgets/QApplication>
15 #include <QtWidgets/QComboBox>
16 #include <QtWidgets/QDoubleSpinBox>
17 #include <QtWidgets/QHBoxLayout>
18 #include <QtWidgets/QSpinBox>
19 #include <QtWidgets/QToolButton>
20 #include <QtWidgets/QVBoxLayout>
21 #include <QtWidgets/QWidget>
23 #include "pqFileChooserWidget.h"
24 
25 QT_BEGIN_NAMESPACE
26 
28 {
29 public:
30  QVBoxLayout *verticalLayout;
31  QHBoxLayout *mainLayout;
32  QComboBox *FontFamily;
33  QSpinBox *FontSize;
35  QDoubleSpinBox *Opacity;
36  QToolButton *Bold;
37  QToolButton *Italics;
38  QToolButton *Shadow;
39  QToolButton *Justification;
41 
42  void setupUi(QWidget *FontPropertyWidget)
43  {
44  if (FontPropertyWidget->objectName().isEmpty())
45  FontPropertyWidget->setObjectName(QString::fromUtf8("FontPropertyWidget"));
46  FontPropertyWidget->resize(404, 55);
47  verticalLayout = new QVBoxLayout(FontPropertyWidget);
48  verticalLayout->setSpacing(2);
49  verticalLayout->setObjectName(QString::fromUtf8("verticalLayout"));
50  verticalLayout->setContentsMargins(0, 0, 0, 0);
51  mainLayout = new QHBoxLayout();
52  mainLayout->setSpacing(2);
53  mainLayout->setObjectName(QString::fromUtf8("mainLayout"));
54  FontFamily = new QComboBox(FontPropertyWidget);
55  FontFamily->setObjectName(QString::fromUtf8("FontFamily"));
56  FontFamily->setSizeAdjustPolicy(QComboBox::AdjustToContents);
57  FontFamily->setMinimumContentsLength(2);
58 
59  mainLayout->addWidget(FontFamily);
60 
61  FontSize = new QSpinBox(FontPropertyWidget);
62  FontSize->setObjectName(QString::fromUtf8("FontSize"));
63  FontSize->setMinimum(1);
64 
65  mainLayout->addWidget(FontSize);
66 
67  FontColor = new pqColorChooserButtonWithPalettes(FontPropertyWidget);
68  FontColor->setObjectName(QString::fromUtf8("FontColor"));
69 
70  mainLayout->addWidget(FontColor);
71 
72  Opacity = new QDoubleSpinBox(FontPropertyWidget);
73  Opacity->setObjectName(QString::fromUtf8("Opacity"));
74  Opacity->setMaximum(1.000000000000000);
75  Opacity->setSingleStep(0.100000000000000);
76 
77  mainLayout->addWidget(Opacity);
78 
79  Bold = new QToolButton(FontPropertyWidget);
80  Bold->setObjectName(QString::fromUtf8("Bold"));
81  QIcon icon;
82  icon.addFile(QString::fromUtf8(":/pqWidgets/Icons/pqBold24.png"), QSize(), QIcon::Normal, QIcon::Off);
83  Bold->setIcon(icon);
84  Bold->setCheckable(true);
85 
86  mainLayout->addWidget(Bold);
87 
88  Italics = new QToolButton(FontPropertyWidget);
89  Italics->setObjectName(QString::fromUtf8("Italics"));
90  QIcon icon1;
91  icon1.addFile(QString::fromUtf8(":/pqWidgets/Icons/pqItalics24.png"), QSize(), QIcon::Normal, QIcon::Off);
92  Italics->setIcon(icon1);
93  Italics->setCheckable(true);
94 
95  mainLayout->addWidget(Italics);
96 
97  Shadow = new QToolButton(FontPropertyWidget);
98  Shadow->setObjectName(QString::fromUtf8("Shadow"));
99  QIcon icon2;
100  icon2.addFile(QString::fromUtf8(":/pqWidgets/Icons/pqShadow24.png"), QSize(), QIcon::Normal, QIcon::Off);
101  Shadow->setIcon(icon2);
102  Shadow->setCheckable(true);
103 
104  mainLayout->addWidget(Shadow);
105 
106  Justification = new QToolButton(FontPropertyWidget);
107  Justification->setObjectName(QString::fromUtf8("Justification"));
108  Justification->setPopupMode(QToolButton::InstantPopup);
109 
110  mainLayout->addWidget(Justification);
111 
112  mainLayout->setStretch(0, 1);
113 
114  verticalLayout->addLayout(mainLayout);
115 
116  FontFile = new pqFileChooserWidget(FontPropertyWidget);
117  FontFile->setObjectName(QString::fromUtf8("FontFile"));
118  QSizePolicy sizePolicy(QSizePolicy::Expanding, QSizePolicy::Fixed);
119  sizePolicy.setHorizontalStretch(1);
120  sizePolicy.setVerticalStretch(0);
121  sizePolicy.setHeightForWidth(FontFile->sizePolicy().hasHeightForWidth());
122  FontFile->setSizePolicy(sizePolicy);
123 
124  verticalLayout->addWidget(FontFile);
125 
126 
127  retranslateUi(FontPropertyWidget);
128 
129  QMetaObject::connectSlotsByName(FontPropertyWidget);
130  } // setupUi
131 
132  void retranslateUi(QWidget *FontPropertyWidget)
133  {
134  FontPropertyWidget->setWindowTitle(QCoreApplication::translate("FontPropertyWidget", "Form", nullptr));
135 #if QT_CONFIG(tooltip)
136  FontFamily->setToolTip(QCoreApplication::translate("FontPropertyWidget", "Select font", nullptr));
137 #endif // QT_CONFIG(tooltip)
138 #if QT_CONFIG(tooltip)
139  FontSize->setToolTip(QCoreApplication::translate("FontPropertyWidget", "Set font size", nullptr));
140 #endif // QT_CONFIG(tooltip)
141 #if QT_CONFIG(tooltip)
142  FontColor->setToolTip(QCoreApplication::translate("FontPropertyWidget", "Set font color", nullptr));
143 #endif // QT_CONFIG(tooltip)
144  FontColor->setText(QString());
145 #if QT_CONFIG(tooltip)
146  Opacity->setToolTip(QCoreApplication::translate("FontPropertyWidget", "Set font opacity", nullptr));
147 #endif // QT_CONFIG(tooltip)
148 #if QT_CONFIG(tooltip)
149  Bold->setToolTip(QCoreApplication::translate("FontPropertyWidget", "Bold", nullptr));
150 #endif // QT_CONFIG(tooltip)
151  Bold->setText(QCoreApplication::translate("FontPropertyWidget", "...", nullptr));
152 #if QT_CONFIG(tooltip)
153  Italics->setToolTip(QCoreApplication::translate("FontPropertyWidget", "Italics", nullptr));
154 #endif // QT_CONFIG(tooltip)
155  Italics->setText(QCoreApplication::translate("FontPropertyWidget", "...", nullptr));
156 #if QT_CONFIG(tooltip)
157  Shadow->setToolTip(QCoreApplication::translate("FontPropertyWidget", "Shadow", nullptr));
158 #endif // QT_CONFIG(tooltip)
159  Shadow->setText(QCoreApplication::translate("FontPropertyWidget", "...", nullptr));
160  Justification->setText(QCoreApplication::translate("FontPropertyWidget", "...", nullptr));
161 #if QT_CONFIG(tooltip)
162  FontFile->setToolTip(QCoreApplication::translate("FontPropertyWidget", "Specify the path to a TTF file here.", nullptr));
163 #endif // QT_CONFIG(tooltip)
164  } // retranslateUi
165 
166 };
167 
168 namespace Ui {
170 } // namespace Ui
171 
172 QT_END_NAMESPACE
173 
174 #endif // UI_PQFONTPROPERTYWIDGET_H
void retranslateUi(QWidget *FontPropertyWidget)
pqColorChooserButtonWithPalettes * FontColor
pqColorChooserButtonWithPalettes extends pqColorChooserButton to add support for a menu that allows t...
pqFileChooserWidget * FontFile
file chooser widget which consists of a tool button and a line edit hitting the tool button will brin...
void setupUi(QWidget *FontPropertyWidget)