ui_pqImageCompressorWidget.h
Go to the documentation of this file.
1 /********************************************************************************
2 ** Form generated from reading UI file 'pqImageCompressorWidget.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_PQIMAGECOMPRESSORWIDGET_H
10 #define UI_PQIMAGECOMPRESSORWIDGET_H
11 
12 #include <QtCore/QVariant>
13 #include <QtWidgets/QApplication>
14 #include <QtWidgets/QCheckBox>
15 #include <QtWidgets/QComboBox>
16 #include <QtWidgets/QHBoxLayout>
17 #include <QtWidgets/QLabel>
18 #include <QtWidgets/QSpacerItem>
19 #include <QtWidgets/QVBoxLayout>
20 #include <QtWidgets/QWidget>
21 #include "pqIntRangeWidget.h"
22 
23 QT_BEGIN_NAMESPACE
24 
26 {
27 public:
28  QVBoxLayout *mainLayout;
29  QLabel *label;
30  QComboBox *compressionType;
31  QLabel *squirtLabel;
33  QLabel *zlibLabel1;
35  QLabel *zlibLabel2;
37  QCheckBox *zlibStripAlpha;
38  QLabel *nvpLabel;
40  QHBoxLayout *compressorBWLayout;
41  QLabel *label_9;
42  QComboBox *compressorBWOpt;
43  QLabel *label_10;
44  QSpacerItem *horizontalSpacer_3;
45  QSpacerItem *verticalSpacer;
46 
47  void setupUi(QWidget *ImageCompressorWidget)
48  {
49  if (ImageCompressorWidget->objectName().isEmpty())
50  ImageCompressorWidget->setObjectName(QString::fromUtf8("ImageCompressorWidget"));
51  ImageCompressorWidget->resize(551, 304);
52  mainLayout = new QVBoxLayout(ImageCompressorWidget);
53  mainLayout->setContentsMargins(0, 0, 0, 0);
54  mainLayout->setObjectName(QString::fromUtf8("mainLayout"));
55  label = new QLabel(ImageCompressorWidget);
56  label->setObjectName(QString::fromUtf8("label"));
57  label->setWordWrap(true);
58 
59  mainLayout->addWidget(label);
60 
61  compressionType = new QComboBox(ImageCompressorWidget);
62  compressionType->addItem(QString());
63  compressionType->addItem(QString());
64  compressionType->addItem(QString());
65  compressionType->addItem(QString());
66  compressionType->setObjectName(QString::fromUtf8("compressionType"));
67 
68  mainLayout->addWidget(compressionType);
69 
70  squirtLabel = new QLabel(ImageCompressorWidget);
71  squirtLabel->setObjectName(QString::fromUtf8("squirtLabel"));
72  squirtLabel->setWordWrap(true);
73 
74  mainLayout->addWidget(squirtLabel);
75 
76  squirtColorSpace = new pqIntRangeWidget(ImageCompressorWidget);
77  squirtColorSpace->setObjectName(QString::fromUtf8("squirtColorSpace"));
78  squirtColorSpace->setProperty("minimum", QVariant(0));
79  squirtColorSpace->setProperty("maximum", QVariant(5));
80  squirtColorSpace->setProperty("value", QVariant(3));
81 
82  mainLayout->addWidget(squirtColorSpace);
83 
84  zlibLabel1 = new QLabel(ImageCompressorWidget);
85  zlibLabel1->setObjectName(QString::fromUtf8("zlibLabel1"));
86  zlibLabel1->setWordWrap(true);
87 
88  mainLayout->addWidget(zlibLabel1);
89 
90  zlibLevel = new pqIntRangeWidget(ImageCompressorWidget);
91  zlibLevel->setObjectName(QString::fromUtf8("zlibLevel"));
92  zlibLevel->setProperty("minimum", QVariant(1));
93  zlibLevel->setProperty("maximum", QVariant(9));
94  zlibLevel->setProperty("value", QVariant(1));
95 
96  mainLayout->addWidget(zlibLevel);
97 
98  zlibLabel2 = new QLabel(ImageCompressorWidget);
99  zlibLabel2->setObjectName(QString::fromUtf8("zlibLabel2"));
100  zlibLabel2->setWordWrap(true);
101 
102  mainLayout->addWidget(zlibLabel2);
103 
104  zlibColorSpace = new pqIntRangeWidget(ImageCompressorWidget);
105  zlibColorSpace->setObjectName(QString::fromUtf8("zlibColorSpace"));
106  zlibColorSpace->setProperty("minimum", QVariant(0));
107  zlibColorSpace->setProperty("maximum", QVariant(5));
108  zlibColorSpace->setProperty("value", QVariant(3));
109 
110  mainLayout->addWidget(zlibColorSpace);
111 
112  zlibStripAlpha = new QCheckBox(ImageCompressorWidget);
113  zlibStripAlpha->setObjectName(QString::fromUtf8("zlibStripAlpha"));
114 
115  mainLayout->addWidget(zlibStripAlpha);
116 
117  nvpLabel = new QLabel(ImageCompressorWidget);
118  nvpLabel->setObjectName(QString::fromUtf8("nvpLabel"));
119  nvpLabel->setWordWrap(true);
120 
121  mainLayout->addWidget(nvpLabel);
122 
123  nvpLevel = new pqIntRangeWidget(ImageCompressorWidget);
124  nvpLevel->setObjectName(QString::fromUtf8("nvpLevel"));
125  nvpLevel->setProperty("minimum", QVariant(1));
126  nvpLevel->setProperty("maximum", QVariant(5));
127  nvpLevel->setProperty("value", QVariant(4));
128 
129  mainLayout->addWidget(nvpLevel);
130 
131  compressorBWLayout = new QHBoxLayout();
132  compressorBWLayout->setObjectName(QString::fromUtf8("compressorBWLayout"));
133  label_9 = new QLabel(ImageCompressorWidget);
134  label_9->setObjectName(QString::fromUtf8("label_9"));
135  label_9->setWordWrap(false);
136 
137  compressorBWLayout->addWidget(label_9);
138 
139  compressorBWOpt = new QComboBox(ImageCompressorWidget);
140  compressorBWOpt->addItem(QString());
141  compressorBWOpt->addItem(QString());
142  compressorBWOpt->addItem(QString());
143  compressorBWOpt->addItem(QString());
144  compressorBWOpt->addItem(QString());
145  compressorBWOpt->addItem(QString());
146  compressorBWOpt->setObjectName(QString::fromUtf8("compressorBWOpt"));
147 
148  compressorBWLayout->addWidget(compressorBWOpt);
149 
150  label_10 = new QLabel(ImageCompressorWidget);
151  label_10->setObjectName(QString::fromUtf8("label_10"));
152  label_10->setWordWrap(false);
153 
154  compressorBWLayout->addWidget(label_10);
155 
156  horizontalSpacer_3 = new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
157 
158  compressorBWLayout->addItem(horizontalSpacer_3);
159 
160 
161  mainLayout->addLayout(compressorBWLayout);
162 
163  verticalSpacer = new QSpacerItem(20, 0, QSizePolicy::Minimum, QSizePolicy::MinimumExpanding);
164 
165  mainLayout->addItem(verticalSpacer);
166 
167 
168  retranslateUi(ImageCompressorWidget);
169 
170  QMetaObject::connectSlotsByName(ImageCompressorWidget);
171  } // setupUi
172 
173  void retranslateUi(QWidget *ImageCompressorWidget)
174  {
175  ImageCompressorWidget->setWindowTitle(QCoreApplication::translate("ImageCompressorWidget", "Form", nullptr));
176  label->setText(QCoreApplication::translate("ImageCompressorWidget", "Set the compression method used when transferring rendered images from the server to the client.", nullptr));
177  compressionType->setItemText(0, QCoreApplication::translate("ImageCompressorWidget", "None", nullptr));
178  compressionType->setItemText(1, QCoreApplication::translate("ImageCompressorWidget", "LZ4", nullptr));
179  compressionType->setItemText(2, QCoreApplication::translate("ImageCompressorWidget", "Squirt (run-length encoding based compression)", nullptr));
180  compressionType->setItemText(3, QCoreApplication::translate("ImageCompressorWidget", "Zlib", nullptr));
181 
182  squirtLabel->setText(QCoreApplication::translate("ImageCompressorWidget", "Set the Squirt/LZ4 compression level. Move to right for better compression ratio at the cost of reduced image quality.", nullptr));
183  zlibLabel1->setText(QCoreApplication::translate("ImageCompressorWidget", "Set the Zlib compression level. 1 is the fastest compression possible at the cost of compression ratio, while 9 give the best compression possible, but may be slower.", nullptr));
184  zlibLabel2->setText(QCoreApplication::translate("ImageCompressorWidget", "Set the Zlib the color sampling space width factor. Move to right for better compression ratio at the cost of image quality.", nullptr));
185  zlibStripAlpha->setText(QCoreApplication::translate("ImageCompressorWidget", "Set whether to strip alpha channel.", nullptr));
186  nvpLabel->setText(QCoreApplication::translate("ImageCompressorWidget", "Set the NvPipe compression level. 1 is high image quality; 5 is low image quality. Even at the highest setting the bandwidth cost is well below LZ4 or Squirt.\n"
187 " ", nullptr));
188 #if QT_CONFIG(tooltip)
189  label_9->setToolTip(QCoreApplication::translate("ImageCompressorWidget", "Configure the compressor using default settings tailored to a selected connection type.", nullptr));
190 #endif // QT_CONFIG(tooltip)
191  label_9->setText(QCoreApplication::translate("ImageCompressorWidget", "Apply presets for", nullptr));
192  compressorBWOpt->setItemText(0, QCoreApplication::translate("ImageCompressorWidget", "...", nullptr));
193  compressorBWOpt->setItemText(1, QCoreApplication::translate("ImageCompressorWidget", "consumer broadband/DSL", nullptr));
194  compressorBWOpt->setItemText(2, QCoreApplication::translate("ImageCompressorWidget", "Megabit Ethernet / 802.11* wireless", nullptr));
195  compressorBWOpt->setItemText(3, QCoreApplication::translate("ImageCompressorWidget", "Gigabit Ethernet", nullptr));
196  compressorBWOpt->setItemText(4, QCoreApplication::translate("ImageCompressorWidget", "10 Gigabit Ethernet", nullptr));
197  compressorBWOpt->setItemText(5, QCoreApplication::translate("ImageCompressorWidget", "shared memory/localhost", nullptr));
198 
199 #if QT_CONFIG(tooltip)
200  compressorBWOpt->setToolTip(QCoreApplication::translate("ImageCompressorWidget", "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.0//EN\" \"http://www.w3.org/TR/REC-html40/strict.dtd\">\n"
201 "<html><head><meta name=\"qrichtext\" content=\"1\" /><style type=\"text/css\">\n"
202 "p, li { white-space: pre-wrap; }\n"
203 "</style></head><body style=\" font-family:'DejaVu Sans'; font-size:9pt; font-weight:400; font-style:normal;\">\n"
204 "<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"><span style=\" font-weight:600;\">Presets. </span>Configure the image compressor based on a network type. These settings will provide reasonable performance and place to start when optimizing the compressor setting for a specific network.</p></body></html>", nullptr));
205 #endif // QT_CONFIG(tooltip)
206 #if QT_CONFIG(tooltip)
207  label_10->setToolTip(QCoreApplication::translate("ImageCompressorWidget", "Configure the compressor using default settings tailored to a selected connection type.", nullptr));
208 #endif // QT_CONFIG(tooltip)
209  label_10->setText(QCoreApplication::translate("ImageCompressorWidget", "connection.", nullptr));
210  } // retranslateUi
211 
212 };
213 
214 namespace Ui {
216 } // namespace Ui
217 
218 QT_END_NAMESPACE
219 
220 #endif // UI_PQIMAGECOMPRESSORWIDGET_H
a widget with a tied slider and line edit for editing a int property
void setupUi(QWidget *ImageCompressorWidget)
void retranslateUi(QWidget *ImageCompressorWidget)