| 1 |
/******************************************************************************** |
| 2 |
** Form generated from reading UI file 'languagesdialog.ui' |
| 3 |
** |
| 4 |
** Created by: Qt User Interface Compiler version 5.12.0 |
| 5 |
** |
| 6 |
** WARNING! All changes made in this file will be lost when recompiling UI file! |
| 7 |
********************************************************************************/ |
| 8 |
|
| 9 |
#ifndef LANGUAGESDIALOG_H |
| 10 |
#define LANGUAGESDIALOG_H |
| 11 |
|
| 12 |
#include <QtCore/QVariant> |
| 13 |
#include <QtGui/QIcon> |
| 14 |
#include <QtWidgets/QApplication> |
| 15 |
#include <QtWidgets/QDialog> |
| 16 |
#include <QtWidgets/QHBoxLayout> |
| 17 |
#include <QtWidgets/QHeaderView> |
| 18 |
#include <QtWidgets/QPushButton> |
| 19 |
#include <QtWidgets/QSpacerItem> |
| 20 |
#include <QtWidgets/QToolButton> |
| 21 |
#include <QtWidgets/QTreeWidget> |
| 22 |
#include <QtWidgets/QVBoxLayout> |
| 23 |
|
| 24 |
QT_BEGIN_NAMESPACE |
| 25 |
|
| 26 |
class Ui_LanguagesDialog |
| 27 |
{ |
| 28 |
public: |
| 29 |
QVBoxLayout *verticalLayout; |
| 30 |
QTreeWidget *languagesList; |
| 31 |
QHBoxLayout *hboxLayout; |
| 32 |
QToolButton *upButton; |
| 33 |
QToolButton *downButton; |
| 34 |
QToolButton *removeButton; |
| 35 |
QToolButton *openFileButton; |
| 36 |
QSpacerItem *spacerItem; |
| 37 |
QPushButton *okButton; |
| 38 |
|
| 39 |
void setupUi(QDialog *LanguagesDialog) |
| 40 |
{ |
| 41 |
if (LanguagesDialog->objectName().isEmpty()) |
| 42 |
LanguagesDialog->setObjectName(QString::fromUtf8("LanguagesDialog")); |
| 43 |
LanguagesDialog->resize(400, 300); |
| 44 |
verticalLayout = new QVBoxLayout(LanguagesDialog); |
| 45 |
verticalLayout->setObjectName(QString::fromUtf8("verticalLayout")); |
| 46 |
languagesList = new QTreeWidget(LanguagesDialog); |
| 47 |
languagesList->setObjectName(QString::fromUtf8("languagesList")); |
| 48 |
languagesList->setIndentation(0); |
| 49 |
|
| 50 |
verticalLayout->addWidget(languagesList); |
| 51 |
|
| 52 |
hboxLayout = new QHBoxLayout(); |
| 53 |
hboxLayout->setObjectName(QString::fromUtf8("hboxLayout")); |
| 54 |
upButton = new QToolButton(LanguagesDialog); |
| 55 |
upButton->setObjectName(QString::fromUtf8("upButton")); |
| 56 |
upButton->setEnabled(false); |
| 57 |
QIcon icon; |
| 58 |
icon.addFile(QString::fromUtf8(":/images/up.png"), QSize(), QIcon::Normal, QIcon::Off); |
| 59 |
upButton->setIcon(icon); |
| 60 |
|
| 61 |
hboxLayout->addWidget(upButton); |
| 62 |
|
| 63 |
downButton = new QToolButton(LanguagesDialog); |
| 64 |
downButton->setObjectName(QString::fromUtf8("downButton")); |
| 65 |
downButton->setEnabled(false); |
| 66 |
QIcon icon1; |
| 67 |
icon1.addFile(QString::fromUtf8(":/images/down.png"), QSize(), QIcon::Normal, QIcon::Off); |
| 68 |
downButton->setIcon(icon1); |
| 69 |
|
| 70 |
hboxLayout->addWidget(downButton); |
| 71 |
|
| 72 |
removeButton = new QToolButton(LanguagesDialog); |
| 73 |
removeButton->setObjectName(QString::fromUtf8("removeButton")); |
| 74 |
removeButton->setEnabled(false); |
| 75 |
QIcon icon2; |
| 76 |
icon2.addFile(QString::fromUtf8(":/images/editdelete.png"), QSize(), QIcon::Normal, QIcon::Off); |
| 77 |
removeButton->setIcon(icon2); |
| 78 |
|
| 79 |
hboxLayout->addWidget(removeButton); |
| 80 |
|
| 81 |
openFileButton = new QToolButton(LanguagesDialog); |
| 82 |
openFileButton->setObjectName(QString::fromUtf8("openFileButton")); |
| 83 |
openFileButton->setEnabled(true); |
| 84 |
QIcon icon3; |
| 85 |
icon3.addFile(QString::fromUtf8(":/images/mac/fileopen.png"), QSize(), QIcon::Normal, QIcon::Off); |
| 86 |
openFileButton->setIcon(icon3); |
| 87 |
|
| 88 |
hboxLayout->addWidget(openFileButton); |
| 89 |
|
| 90 |
spacerItem = new QSpacerItem(121, 20, QSizePolicy::Expanding, QSizePolicy::Minimum); |
| 91 |
|
| 92 |
hboxLayout->addItem(spacerItem); |
| 93 |
|
| 94 |
okButton = new QPushButton(LanguagesDialog); |
| 95 |
okButton->setObjectName(QString::fromUtf8("okButton")); |
| 96 |
|
| 97 |
hboxLayout->addWidget(okButton); |
| 98 |
|
| 99 |
|
| 100 |
verticalLayout->addLayout(hboxLayout); |
| 101 |
|
| 102 |
|
| 103 |
retranslateUi(LanguagesDialog); |
| 104 |
QObject::connect(okButton, SIGNAL(clicked()), LanguagesDialog, SLOT(accept())); |
| 105 |
|
| 106 |
QMetaObject::connectSlotsByName(LanguagesDialog); |
| 107 |
} // setupUi |
| 108 |
|
| 109 |
void retranslateUi(QDialog *LanguagesDialog) |
| 110 |
{ |
| 111 |
LanguagesDialog->setWindowTitle(QCoreApplication::translate("LanguagesDialog", "Auxiliary Languages", nullptr)); |
| 112 |
QTreeWidgetItem *___qtreewidgetitem = languagesList->headerItem(); |
| 113 |
___qtreewidgetitem->setText(1, QCoreApplication::translate("LanguagesDialog", "File", nullptr)); |
| 114 |
___qtreewidgetitem->setText(0, QCoreApplication::translate("LanguagesDialog", "Locale", nullptr)); |
| 115 |
#if QT_CONFIG(tooltip) |
| 116 |
upButton->setToolTip(QCoreApplication::translate("LanguagesDialog", "<html><head><meta name=\"qrichtext\" content=\"1\" /><style type=\"text/css\">\n" |
| 117 |
"p, li { white-space: pre-wrap; }\n" |
| 118 |
"</style></head><body style=\" font-family:'MS Shell Dlg 2'; font-size:8.25pt; font-weight:400; font-style:normal;\">\n" |
| 119 |
"<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\">Move selected language up</p></body></html>", nullptr)); |
| 120 |
#endif // QT_CONFIG(tooltip) |
| 121 |
upButton->setText(QCoreApplication::translate("LanguagesDialog", "up", nullptr)); |
| 122 |
#if QT_CONFIG(tooltip) |
| 123 |
downButton->setToolTip(QCoreApplication::translate("LanguagesDialog", "<html><head><meta name=\"qrichtext\" content=\"1\" /><style type=\"text/css\">\n" |
| 124 |
"p, li { white-space: pre-wrap; }\n" |
| 125 |
"</style></head><body style=\" font-family:'MS Shell Dlg 2'; font-size:8.25pt; font-weight:400; font-style:normal;\">\n" |
| 126 |
"<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-size:8pt;\">Move selected language down</p></body></html>", nullptr)); |
| 127 |
#endif // QT_CONFIG(tooltip) |
| 128 |
downButton->setText(QCoreApplication::translate("LanguagesDialog", "down", nullptr)); |
| 129 |
#if QT_CONFIG(tooltip) |
| 130 |
removeButton->setToolTip(QCoreApplication::translate("LanguagesDialog", "<html><head><meta name=\"qrichtext\" content=\"1\" /><style type=\"text/css\">\n" |
| 131 |
"p, li { white-space: pre-wrap; }\n" |
| 132 |
"</style></head><body style=\" font-family:'MS Shell Dlg 2'; font-size:8.25pt; font-weight:400; font-style:normal;\">\n" |
| 133 |
"<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\">Remove selected language</p></body></html>", nullptr)); |
| 134 |
#endif // QT_CONFIG(tooltip) |
| 135 |
removeButton->setText(QCoreApplication::translate("LanguagesDialog", "remove", nullptr)); |
| 136 |
#if QT_CONFIG(tooltip) |
| 137 |
openFileButton->setToolTip(QCoreApplication::translate("LanguagesDialog", "<html><head><meta name=\"qrichtext\" content=\"1\" /><style type=\"text/css\">\n" |
| 138 |
"p, li { white-space: pre-wrap; }\n" |
| 139 |
"</style></head><body style=\" font-family:'MS Shell Dlg 2'; font-size:8.25pt; font-weight:400; font-style:normal;\">\n" |
| 140 |
"<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\">Open auxiliary language files</p></body></html>", nullptr)); |
| 141 |
#endif // QT_CONFIG(tooltip) |
| 142 |
openFileButton->setText(QCoreApplication::translate("LanguagesDialog", "...", nullptr)); |
| 143 |
okButton->setText(QCoreApplication::translate("LanguagesDialog", "OK", nullptr)); |
| 144 |
} // retranslateUi |
| 145 |
|
| 146 |
}; |
| 147 |
|
| 148 |
namespace Ui { |
| 149 |
class LanguagesDialog: public Ui_LanguagesDialog {}; |
| 150 |
} // namespace Ui |
| 151 |
|
| 152 |
QT_END_NAMESPACE |
| 153 |
|
| 154 |
#endif // LANGUAGESDIALOG_H |