9 #ifndef UI_ABOUTDIALOG_H 10 #define UI_ABOUTDIALOG_H 12 #include <QtCore/QVariant> 13 #include <QtGui/QAction> 14 #include <QtGui/QApplication> 15 #include <QtGui/QButtonGroup> 16 #include <QtGui/QDialog> 17 #include <QtGui/QDialogButtonBox> 18 #include <QtGui/QGridLayout> 19 #include <QtGui/QHBoxLayout> 20 #include <QtGui/QHeaderView> 21 #include <QtGui/QLabel> 22 #include <QtGui/QTabWidget> 23 #include <QtGui/QTextBrowser> 24 #include <QtGui/QVBoxLayout> 25 #include <QtGui/QWidget> 32 QVBoxLayout *verticalLayout;
34 QTabWidget *tabWidget;
36 QGridLayout *gridLayout_3;
37 QTextBrowser *aboutTextBrowser;
39 QGridLayout *gridLayout_4;
40 QTextBrowser *authorsTextBrowser;
42 QVBoxLayout *vboxLayout;
43 QTextBrowser *translatorsTextBrowser;
45 QHBoxLayout *horizontalLayout;
46 QTextBrowser *thanksToTextBrowser;
48 QGridLayout *gridLayout_2;
49 QTextBrowser *licenseTextBrowser;
50 QDialogButtonBox *buttonBox;
52 void setupUi(QDialog *AboutDialog)
54 if (AboutDialog->objectName().isEmpty())
55 AboutDialog->setObjectName(QString::fromUtf8(
"AboutDialog"));
56 AboutDialog->resize(523, 532);
57 verticalLayout =
new QVBoxLayout(AboutDialog);
58 verticalLayout->setObjectName(QString::fromUtf8(
"verticalLayout"));
59 verticalLayout->setContentsMargins(6, 9, 6, 6);
60 pixmapLabel =
new QLabel(AboutDialog);
61 pixmapLabel->setObjectName(QString::fromUtf8(
"pixmapLabel"));
62 pixmapLabel->setPixmap(QPixmap(QString::fromUtf8(
":/logo-qmmp.png")));
63 pixmapLabel->setAlignment(Qt::AlignCenter);
65 verticalLayout->addWidget(pixmapLabel);
67 tabWidget =
new QTabWidget(AboutDialog);
68 tabWidget->setObjectName(QString::fromUtf8(
"tabWidget"));
69 aboutTab =
new QWidget();
70 aboutTab->setObjectName(QString::fromUtf8(
"aboutTab"));
71 gridLayout_3 =
new QGridLayout(aboutTab);
72 gridLayout_3->setObjectName(QString::fromUtf8(
"gridLayout_3"));
73 aboutTextBrowser =
new QTextBrowser(aboutTab);
74 aboutTextBrowser->setObjectName(QString::fromUtf8(
"aboutTextBrowser"));
75 aboutTextBrowser->setOpenExternalLinks(
true);
77 gridLayout_3->addWidget(aboutTextBrowser, 0, 0, 1, 1);
79 tabWidget->addTab(aboutTab, QString());
80 authorsTab =
new QWidget();
81 authorsTab->setObjectName(QString::fromUtf8(
"authorsTab"));
82 gridLayout_4 =
new QGridLayout(authorsTab);
83 gridLayout_4->setObjectName(QString::fromUtf8(
"gridLayout_4"));
84 authorsTextBrowser =
new QTextBrowser(authorsTab);
85 authorsTextBrowser->setObjectName(QString::fromUtf8(
"authorsTextBrowser"));
86 authorsTextBrowser->setOpenExternalLinks(
true);
88 gridLayout_4->addWidget(authorsTextBrowser, 0, 0, 1, 1);
90 tabWidget->addTab(authorsTab, QString());
92 tab->setObjectName(QString::fromUtf8(
"tab"));
93 vboxLayout =
new QVBoxLayout(tab);
94 vboxLayout->setObjectName(QString::fromUtf8(
"vboxLayout"));
95 translatorsTextBrowser =
new QTextBrowser(tab);
96 translatorsTextBrowser->setObjectName(QString::fromUtf8(
"translatorsTextBrowser"));
97 translatorsTextBrowser->setOpenExternalLinks(
true);
99 vboxLayout->addWidget(translatorsTextBrowser);
101 tabWidget->addTab(tab, QString());
102 thanksToTab =
new QWidget();
103 thanksToTab->setObjectName(QString::fromUtf8(
"thanksToTab"));
104 horizontalLayout =
new QHBoxLayout(thanksToTab);
105 horizontalLayout->setObjectName(QString::fromUtf8(
"horizontalLayout"));
106 thanksToTextBrowser =
new QTextBrowser(thanksToTab);
107 thanksToTextBrowser->setObjectName(QString::fromUtf8(
"thanksToTextBrowser"));
108 thanksToTextBrowser->setOpenExternalLinks(
true);
110 horizontalLayout->addWidget(thanksToTextBrowser);
112 tabWidget->addTab(thanksToTab, QString());
113 licenseTab =
new QWidget();
114 licenseTab->setObjectName(QString::fromUtf8(
"licenseTab"));
115 gridLayout_2 =
new QGridLayout(licenseTab);
116 gridLayout_2->setObjectName(QString::fromUtf8(
"gridLayout_2"));
117 licenseTextBrowser =
new QTextBrowser(licenseTab);
118 licenseTextBrowser->setObjectName(QString::fromUtf8(
"licenseTextBrowser"));
119 licenseTextBrowser->setOpenExternalLinks(
true);
121 gridLayout_2->addWidget(licenseTextBrowser, 0, 0, 1, 1);
123 tabWidget->addTab(licenseTab, QString());
125 verticalLayout->addWidget(tabWidget);
127 buttonBox =
new QDialogButtonBox(AboutDialog);
128 buttonBox->setObjectName(QString::fromUtf8(
"buttonBox"));
129 buttonBox->setOrientation(Qt::Horizontal);
130 buttonBox->setStandardButtons(QDialogButtonBox::Ok);
132 verticalLayout->addWidget(buttonBox);
135 retranslateUi(AboutDialog);
136 QObject::connect(buttonBox, SIGNAL(accepted()), AboutDialog, SLOT(accept()));
137 QObject::connect(buttonBox, SIGNAL(rejected()), AboutDialog, SLOT(reject()));
139 tabWidget->setCurrentIndex(0);
142 QMetaObject::connectSlotsByName(AboutDialog);
145 void retranslateUi(QDialog *AboutDialog)
147 AboutDialog->setWindowTitle(QApplication::translate(
"AboutDialog",
"About Qmmp", 0, QApplication::UnicodeUTF8));
148 pixmapLabel->setText(QString());
149 tabWidget->setTabText(tabWidget->indexOf(aboutTab), QApplication::translate(
"AboutDialog",
"About", 0, QApplication::UnicodeUTF8));
150 tabWidget->setTabText(tabWidget->indexOf(authorsTab), QApplication::translate(
"AboutDialog",
"Authors", 0, QApplication::UnicodeUTF8));
151 tabWidget->setTabText(tabWidget->indexOf(tab), QApplication::translate(
"AboutDialog",
"Translators", 0, QApplication::UnicodeUTF8));
152 tabWidget->setTabText(tabWidget->indexOf(thanksToTab), QApplication::translate(
"AboutDialog",
"Thanks To", 0, QApplication::UnicodeUTF8));
153 tabWidget->setTabText(tabWidget->indexOf(licenseTab), QApplication::translate(
"AboutDialog",
"License Agreement", 0, QApplication::UnicodeUTF8));
159 class AboutDialog:
public Ui_AboutDialog {};
164 #endif // UI_ABOUTDIALOG_H