9 #ifndef INFODIALOGHVDXIB_H
10 #define INFODIALOGHVDXIB_H
12 #include <QtCore/QVariant>
13 #include <QtWidgets/QApplication>
14 #include <QtWidgets/QCheckBox>
15 #include <QtWidgets/QDialog>
16 #include <QtWidgets/QGridLayout>
17 #include <QtWidgets/QLabel>
18 #include <QtWidgets/QPlainTextEdit>
19 #include <QtWidgets/QPushButton>
26 QGridLayout *gridLayout;
30 QLabel *copyrightLabel;
32 QLabel *commentsLabel;
36 QLabel *permissionsInfo;
39 QLabel *modifiedLabel;
41 QLabel *versionLabell;
42 QLabel *copyrightInfo;
43 QLabel *openWithLabel;
44 QLabel *permissionsLabel;
45 QCheckBox *executableCheckBox;
49 QPushButton *changeOpenWithButton;
50 QPlainTextEdit *plainTextEdit;
55 InfoDialog->setObjectName(QString::fromUtf8(
"InfoDialog"));
57 QSizePolicy sizePolicy(QSizePolicy::Fixed, QSizePolicy::Preferred);
58 sizePolicy.setHorizontalStretch(0);
59 sizePolicy.setVerticalStretch(0);
60 sizePolicy.setHeightForWidth(
InfoDialog->sizePolicy().hasHeightForWidth());
63 gridLayout->setSpacing(6);
64 gridLayout->setContentsMargins(11, 11, 11, 11);
65 gridLayout->setObjectName(QString::fromUtf8(
"gridLayout"));
67 typeInfo->setObjectName(QString::fromUtf8(
"typeInfo"));
70 typeInfo->setFont(font);
72 gridLayout->addWidget(typeInfo, 7, 1, 1, 1);
75 modifiedInfo->setObjectName(QString::fromUtf8(
"modifiedInfo"));
76 modifiedInfo->setFont(font);
78 gridLayout->addWidget(modifiedInfo, 4, 1, 1, 1);
81 versionInfo->setObjectName(QString::fromUtf8(
"versionInfo"));
83 gridLayout->addWidget(versionInfo, 10, 1, 1, 1);
86 copyrightLabel->setObjectName(QString::fromUtf8(
"copyrightLabel"));
87 copyrightLabel->setFont(font);
88 copyrightLabel->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);
90 gridLayout->addWidget(copyrightLabel, 11, 0, 1, 1);
93 iconLabel->setObjectName(QString::fromUtf8(
"iconLabel"));
94 iconLabel->setFont(font);
95 iconLabel->setAlignment(Qt::AlignBottom|Qt::AlignRight|Qt::AlignTrailing);
97 gridLayout->addWidget(iconLabel, 0, 0, 1, 1);
100 commentsLabel->setObjectName(QString::fromUtf8(
"commentsLabel"));
101 commentsLabel->setFont(font);
102 commentsLabel->setAlignment(Qt::AlignRight|Qt::AlignTop|Qt::AlignTrailing);
104 gridLayout->addWidget(commentsLabel, 13, 0, 1, 1);
107 pathInfo->setObjectName(QString::fromUtf8(
"pathInfo"));
108 pathInfo->setFont(font);
110 gridLayout->addWidget(pathInfo, 1, 1, 1, 1);
113 openWithInfo->setObjectName(QString::fromUtf8(
"openWithInfo"));
114 openWithInfo->setFont(font);
116 gridLayout->addWidget(openWithInfo, 8, 1, 1, 1);
119 createdLabel->setObjectName(QString::fromUtf8(
"createdLabel"));
120 createdLabel->setFont(font);
121 createdLabel->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);
123 gridLayout->addWidget(createdLabel, 3, 0, 1, 1);
126 permissionsInfo->setObjectName(QString::fromUtf8(
"permissionsInfo"));
127 permissionsInfo->setFont(font);
129 gridLayout->addWidget(permissionsInfo, 5, 1, 1, 1);
132 typeLabel->setObjectName(QString::fromUtf8(
"typeLabel"));
133 typeLabel->setFont(font);
134 typeLabel->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);
136 gridLayout->addWidget(typeLabel, 7, 0, 1, 1);
139 sizeInfo->setObjectName(QString::fromUtf8(
"sizeInfo"));
140 sizeInfo->setFont(font);
142 gridLayout->addWidget(sizeInfo, 2, 1, 1, 1);
145 modifiedLabel->setObjectName(QString::fromUtf8(
"modifiedLabel"));
146 modifiedLabel->setFont(font);
147 modifiedLabel->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);
149 gridLayout->addWidget(modifiedLabel, 4, 0, 1, 1);
152 iconInfo->setObjectName(QString::fromUtf8(
"iconInfo"));
153 iconInfo->setMinimumSize(QSize(0, 128));
154 iconInfo->setFont(font);
156 gridLayout->addWidget(iconInfo, 0, 1, 1, 1);
159 versionLabell->setObjectName(QString::fromUtf8(
"versionLabell"));
160 versionLabell->setFont(font);
161 versionLabell->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);
163 gridLayout->addWidget(versionLabell, 10, 0, 1, 1);
166 copyrightInfo->setObjectName(QString::fromUtf8(
"copyrightInfo"));
168 gridLayout->addWidget(copyrightInfo, 11, 1, 1, 1);
171 openWithLabel->setObjectName(QString::fromUtf8(
"openWithLabel"));
172 openWithLabel->setFont(font);
173 openWithLabel->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);
175 gridLayout->addWidget(openWithLabel, 8, 0, 1, 1);
178 permissionsLabel->setObjectName(QString::fromUtf8(
"permissionsLabel"));
179 permissionsLabel->setFont(font);
180 permissionsLabel->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);
182 gridLayout->addWidget(permissionsLabel, 5, 0, 1, 1);
184 executableCheckBox =
new QCheckBox(
InfoDialog);
185 executableCheckBox->setObjectName(QString::fromUtf8(
"executableCheckBox"));
186 executableCheckBox->setFont(font);
188 gridLayout->addWidget(executableCheckBox, 6, 1, 1, 1);
191 createdInfo->setObjectName(QString::fromUtf8(
"createdInfo"));
192 createdInfo->setFont(font);
194 gridLayout->addWidget(createdInfo, 3, 1, 1, 1);
197 sizeLabel->setObjectName(QString::fromUtf8(
"sizeLabel"));
198 sizeLabel->setFont(font);
199 sizeLabel->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);
201 gridLayout->addWidget(sizeLabel, 2, 0, 1, 1);
204 pathLabel->setObjectName(QString::fromUtf8(
"pathLabel"));
205 pathLabel->setFont(font);
206 pathLabel->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);
208 gridLayout->addWidget(pathLabel, 1, 0, 1, 1);
210 changeOpenWithButton =
new QPushButton(
InfoDialog);
211 changeOpenWithButton->setObjectName(QString::fromUtf8(
"changeOpenWithButton"));
213 font1.setPointSize(12);
214 changeOpenWithButton->setFont(font1);
215 changeOpenWithButton->setAutoDefault(
false);
216 changeOpenWithButton->setFlat(
false);
218 gridLayout->addWidget(changeOpenWithButton, 9, 1, 1, 1);
220 plainTextEdit =
new QPlainTextEdit(
InfoDialog);
221 plainTextEdit->setObjectName(QString::fromUtf8(
"plainTextEdit"));
222 QSizePolicy sizePolicy1(QSizePolicy::MinimumExpanding, QSizePolicy::Expanding);
223 sizePolicy1.setHorizontalStretch(0);
224 sizePolicy1.setVerticalStretch(0);
225 sizePolicy1.setHeightForWidth(plainTextEdit->sizePolicy().hasHeightForWidth());
226 plainTextEdit->setSizePolicy(sizePolicy1);
228 gridLayout->addWidget(plainTextEdit, 13, 1, 1, 1);
238 InfoDialog->setWindowTitle(QCoreApplication::translate(
"InfoDialog",
"Dialog",
nullptr));
239 versionInfo->setText(QString());
240 copyrightLabel->setText(QCoreApplication::translate(
"InfoDialog",
"Copyright:",
nullptr));
241 iconLabel->setText(QCoreApplication::translate(
"InfoDialog",
"Icon:",
nullptr));
242 commentsLabel->setText(QCoreApplication::translate(
"InfoDialog",
"Comments:",
nullptr));
243 createdLabel->setText(QCoreApplication::translate(
"InfoDialog",
"Created:",
nullptr));
244 typeLabel->setText(QCoreApplication::translate(
"InfoDialog",
"Type:",
nullptr));
245 modifiedLabel->setText(QCoreApplication::translate(
"InfoDialog",
"Modified:",
nullptr));
246 iconInfo->setText(QString());
247 versionLabell->setText(QCoreApplication::translate(
"InfoDialog",
"Version:",
nullptr));
248 copyrightInfo->setText(QString());
249 openWithLabel->setText(QCoreApplication::translate(
"InfoDialog",
"Open With:",
nullptr));
250 permissionsLabel->setText(QCoreApplication::translate(
"InfoDialog",
"Permissions:",
nullptr));
251 executableCheckBox->setText(QCoreApplication::translate(
"InfoDialog",
"Execute as an application",
nullptr));
252 sizeLabel->setText(QCoreApplication::translate(
"InfoDialog",
"Size:",
nullptr));
253 pathLabel->setText(QCoreApplication::translate(
"InfoDialog",
"Path:",
nullptr));
254 changeOpenWithButton->setText(QCoreApplication::translate(
"InfoDialog",
"Change...",
nullptr));
The InfoDialog class represents a dialog to display information about a file or directory.
Definition: InfoDialog.h:42
Definition: ui_InfoDialog.h:260
Definition: ui_InfoDialog.h:24