ui_pqViewResolutionPropertyWidget.h
Go to the documentation of this file.
1 /********************************************************************************
2 ** Form generated from reading UI file 'pqViewResolutionPropertyWidget.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_PQVIEWRESOLUTIONPROPERTYWIDGET_H
10 #define UI_PQVIEWRESOLUTIONPROPERTYWIDGET_H
11 
12 #include <QtCore/QVariant>
13 #include <QtGui/QIcon>
14 #include <QtWidgets/QApplication>
15 #include <QtWidgets/QHBoxLayout>
16 #include <QtWidgets/QLabel>
17 #include <QtWidgets/QToolButton>
18 #include <QtWidgets/QWidget>
20 #include "pqLineEdit.h"
21 #include "pqScaleByButton.h"
22 
23 QT_BEGIN_NAMESPACE
24 
26 {
27 public:
28  QHBoxLayout *horizontalLayout;
30  QLabel *label;
33  QToolButton *lockAspectRatio;
35 
36  void setupUi(QWidget *ViewResolutionPropertyWidget)
37  {
38  if (ViewResolutionPropertyWidget->objectName().isEmpty())
39  ViewResolutionPropertyWidget->setObjectName(QString::fromUtf8("ViewResolutionPropertyWidget"));
40  ViewResolutionPropertyWidget->resize(277, 27);
41  horizontalLayout = new QHBoxLayout(ViewResolutionPropertyWidget);
42  horizontalLayout->setSpacing(2);
43  horizontalLayout->setContentsMargins(0, 0, 0, 0);
44  horizontalLayout->setObjectName(QString::fromUtf8("horizontalLayout"));
45  width = new pqLineEdit(ViewResolutionPropertyWidget);
46  width->setObjectName(QString::fromUtf8("width"));
47 
48  horizontalLayout->addWidget(width);
49 
50  label = new QLabel(ViewResolutionPropertyWidget);
51  label->setObjectName(QString::fromUtf8("label"));
52 
53  horizontalLayout->addWidget(label);
54 
55  height = new pqLineEdit(ViewResolutionPropertyWidget);
56  height->setObjectName(QString::fromUtf8("height"));
57 
58  horizontalLayout->addWidget(height);
59 
60  scaleBy = new pqScaleByButton(ViewResolutionPropertyWidget);
61  scaleBy->setObjectName(QString::fromUtf8("scaleBy"));
62 
63  horizontalLayout->addWidget(scaleBy);
64 
65  lockAspectRatio = new QToolButton(ViewResolutionPropertyWidget);
66  lockAspectRatio->setObjectName(QString::fromUtf8("lockAspectRatio"));
67  QIcon icon;
68  icon.addFile(QString::fromUtf8(":/pqWidgets/Icons/pqLock24.png"), QSize(), QIcon::Normal, QIcon::Off);
69  lockAspectRatio->setIcon(icon);
70  lockAspectRatio->setCheckable(true);
71  lockAspectRatio->setChecked(false);
72 
73  horizontalLayout->addWidget(lockAspectRatio);
74 
75  reset = new pqHighlightableToolButton(ViewResolutionPropertyWidget);
76  reset->setObjectName(QString::fromUtf8("reset"));
77  QIcon icon1;
78  icon1.addFile(QString::fromUtf8(":/pqWidgets/Icons/pqReset.svg"), QSize(), QIcon::Normal, QIcon::Off);
79  reset->setIcon(icon1);
80 
81  horizontalLayout->addWidget(reset);
82 
83  horizontalLayout->setStretch(0, 1);
84  horizontalLayout->setStretch(2, 1);
85 
86  retranslateUi(ViewResolutionPropertyWidget);
87 
88  QMetaObject::connectSlotsByName(ViewResolutionPropertyWidget);
89  } // setupUi
90 
91  void retranslateUi(QWidget *ViewResolutionPropertyWidget)
92  {
93  ViewResolutionPropertyWidget->setWindowTitle(QCoreApplication::translate("ViewResolutionPropertyWidget", "Form", nullptr));
94  width->setPlaceholderText(QCoreApplication::translate("ViewResolutionPropertyWidget", "width", nullptr));
95  label->setText(QCoreApplication::translate("ViewResolutionPropertyWidget", "x", nullptr));
96  height->setPlaceholderText(QCoreApplication::translate("ViewResolutionPropertyWidget", "height", nullptr));
97 #if QT_CONFIG(tooltip)
98  lockAspectRatio->setToolTip(QCoreApplication::translate("ViewResolutionPropertyWidget", "Lock aspect ratio", nullptr));
99 #endif // QT_CONFIG(tooltip)
100  lockAspectRatio->setText(QString());
101 #if QT_CONFIG(tooltip)
102  reset->setToolTip(QCoreApplication::translate("ViewResolutionPropertyWidget", "Reset to default based on current values", nullptr));
103 #endif // QT_CONFIG(tooltip)
104  reset->setText(QString());
105  } // retranslateUi
106 
107 };
108 
109 namespace Ui {
111 } // namespace Ui
112 
113 QT_END_NAMESPACE
114 
115 #endif // UI_PQVIEWRESOLUTIONPROPERTYWIDGET_H
QToolButton with ability to highlight the button.
pqLineEdit is a specialization of QLineEdit which provide a new property &#39;text2&#39;. ...
Definition: pqLineEdit.h:53
void retranslateUi(QWidget *ViewResolutionPropertyWidget)
void setupUi(QWidget *ViewResolutionPropertyWidget)
Custom QToolButton that adds a menu to key user scale by a factor.