9 #ifndef UI_HDS_ABOUT_WID_H
10 #define UI_HDS_ABOUT_WID_H
12 #include <QtCore/QVariant>
13 #include <QtGui/QAction>
14 #include <QtGui/QApplication>
15 #include <QtGui/QButtonGroup>
16 #include <QtGui/QGridLayout>
17 #include <QtGui/QHeaderView>
18 #include <QtGui/QLabel>
19 #include <QtGui/QWidget>
26 QGridLayout *gridLayout;
28 QLabel *copyrightLabel;
32 void setupUi(QWidget *HDSAboutWid)
34 if (HDSAboutWid->objectName().isEmpty())
35 HDSAboutWid->setObjectName(QString::fromUtf8(
"HDSAboutWid"));
36 HDSAboutWid->resize(534, 403);
37 QSizePolicy sizePolicy(QSizePolicy::Fixed, QSizePolicy::Fixed);
38 sizePolicy.setHorizontalStretch(0);
39 sizePolicy.setVerticalStretch(0);
40 sizePolicy.setHeightForWidth(HDSAboutWid->sizePolicy().hasHeightForWidth());
41 HDSAboutWid->setSizePolicy(sizePolicy);
42 gridLayout =
new QGridLayout(HDSAboutWid);
43 gridLayout->setObjectName(QString::fromUtf8(
"gridLayout"));
44 logoLabel =
new QLabel(HDSAboutWid);
45 logoLabel->setObjectName(QString::fromUtf8(
"logoLabel"));
46 QSizePolicy sizePolicy1(QSizePolicy::MinimumExpanding, QSizePolicy::MinimumExpanding);
47 sizePolicy1.setHorizontalStretch(0);
48 sizePolicy1.setVerticalStretch(0);
49 sizePolicy1.setHeightForWidth(logoLabel->sizePolicy().hasHeightForWidth());
50 logoLabel->setSizePolicy(sizePolicy1);
51 logoLabel->setPixmap(QPixmap(QString::fromUtf8(
":/images/hds_logo.png")));
52 logoLabel->setScaledContents(
true);
54 gridLayout->addWidget(logoLabel, 1, 0, 1, 1);
56 copyrightLabel =
new QLabel(HDSAboutWid);
57 copyrightLabel->setObjectName(QString::fromUtf8(
"copyrightLabel"));
58 copyrightLabel->setEnabled(
true);
59 QSizePolicy sizePolicy2(QSizePolicy::Preferred, QSizePolicy::Preferred);
60 sizePolicy2.setHorizontalStretch(0);
61 sizePolicy2.setVerticalStretch(0);
62 sizePolicy2.setHeightForWidth(copyrightLabel->sizePolicy().hasHeightForWidth());
63 copyrightLabel->setSizePolicy(sizePolicy2);
64 copyrightLabel->setLayoutDirection(Qt::LeftToRight);
65 copyrightLabel->setScaledContents(
true);
66 copyrightLabel->setAlignment(Qt::AlignCenter);
68 gridLayout->addWidget(copyrightLabel, 4, 0, 1, 1);
70 appNameLabel =
new QLabel(HDSAboutWid);
71 appNameLabel->setObjectName(QString::fromUtf8(
"appNameLabel"));
72 appNameLabel->setLayoutDirection(Qt::RightToLeft);
73 appNameLabel->setAlignment(Qt::AlignCenter);
75 gridLayout->addWidget(appNameLabel, 2, 0, 1, 1);
77 infoLabel =
new QLabel(HDSAboutWid);
78 infoLabel->setObjectName(QString::fromUtf8(
"infoLabel"));
79 infoLabel->setScaledContents(
false);
80 infoLabel->setAlignment(Qt::AlignCenter);
82 gridLayout->addWidget(infoLabel, 3, 0, 1, 1);
85 retranslateUi(HDSAboutWid);
87 QMetaObject::connectSlotsByName(HDSAboutWid);
90 void retranslateUi(QWidget *HDSAboutWid)
92 HDSAboutWid->setWindowTitle(QApplication::translate(
"HDSAboutWid",
"About", 0, QApplication::UnicodeUTF8));
93 logoLabel->setText(QString());
94 copyrightLabel->setText(QApplication::translate(
"HDSAboutWid",
"Copyright (C) 2014 UNIS Ltd.", 0, QApplication::UnicodeUTF8));
95 appNameLabel->setText(QApplication::translate(
"HDSAboutWid",
"Application name", 0, QApplication::UnicodeUTF8));
96 infoLabel->setText(QApplication::translate(
"HDSAboutWid",
"Additional info", 0, QApplication::UnicodeUTF8));
107 #endif // UI_HDS_ABOUT_WID_H
Definition: ui_hds_about_wid.h:102
Definition: ui_hds_about_wid.h:23