2011-04-27 10:05:43 +00:00
|
|
|
/********************************************************************************
|
|
|
|
** Form generated from reading UI file 'languagesdialog.ui'
|
|
|
|
**
|
2012-12-13 12:48:18 +00:00
|
|
|
** Created by: Qt User Interface Compiler version 5.0.0
|
2011-04-27 10:05:43 +00:00
|
|
|
**
|
|
|
|
** WARNING! All changes made in this file will be lost when recompiling UI file!
|
|
|
|
********************************************************************************/
|
|
|
|
|
|
|
|
#ifndef LANGUAGESDIALOG_H
|
|
|
|
#define LANGUAGESDIALOG_H
|
|
|
|
|
|
|
|
#include <QtCore/QVariant>
|
2018-03-05 12:04:46 +00:00
|
|
|
#include <QtGui/QIcon>
|
2011-09-22 13:09:37 +00:00
|
|
|
#include <QtWidgets/QApplication>
|
|
|
|
#include <QtWidgets/QDialog>
|
|
|
|
#include <QtWidgets/QHBoxLayout>
|
|
|
|
#include <QtWidgets/QHeaderView>
|
|
|
|
#include <QtWidgets/QPushButton>
|
|
|
|
#include <QtWidgets/QSpacerItem>
|
|
|
|
#include <QtWidgets/QToolButton>
|
|
|
|
#include <QtWidgets/QTreeWidget>
|
|
|
|
#include <QtWidgets/QVBoxLayout>
|
2011-04-27 10:05:43 +00:00
|
|
|
|
|
|
|
QT_BEGIN_NAMESPACE
|
|
|
|
|
|
|
|
class Ui_LanguagesDialog
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
QVBoxLayout *verticalLayout;
|
|
|
|
QTreeWidget *languagesList;
|
|
|
|
QHBoxLayout *hboxLayout;
|
|
|
|
QToolButton *upButton;
|
|
|
|
QToolButton *downButton;
|
|
|
|
QToolButton *removeButton;
|
|
|
|
QToolButton *openFileButton;
|
|
|
|
QSpacerItem *spacerItem;
|
|
|
|
QPushButton *okButton;
|
|
|
|
|
|
|
|
void setupUi(QDialog *LanguagesDialog)
|
|
|
|
{
|
|
|
|
if (LanguagesDialog->objectName().isEmpty())
|
2018-07-13 09:02:14 +00:00
|
|
|
LanguagesDialog->setObjectName(QString::fromUtf8("LanguagesDialog"));
|
2011-04-27 10:05:43 +00:00
|
|
|
LanguagesDialog->resize(400, 300);
|
|
|
|
verticalLayout = new QVBoxLayout(LanguagesDialog);
|
2018-07-13 09:02:14 +00:00
|
|
|
verticalLayout->setObjectName(QString::fromUtf8("verticalLayout"));
|
2011-04-27 10:05:43 +00:00
|
|
|
languagesList = new QTreeWidget(LanguagesDialog);
|
2018-07-13 09:02:14 +00:00
|
|
|
languagesList->setObjectName(QString::fromUtf8("languagesList"));
|
2011-04-27 10:05:43 +00:00
|
|
|
languagesList->setIndentation(0);
|
|
|
|
|
|
|
|
verticalLayout->addWidget(languagesList);
|
|
|
|
|
|
|
|
hboxLayout = new QHBoxLayout();
|
2018-07-13 09:02:14 +00:00
|
|
|
hboxLayout->setObjectName(QString::fromUtf8("hboxLayout"));
|
2011-04-27 10:05:43 +00:00
|
|
|
upButton = new QToolButton(LanguagesDialog);
|
2018-07-13 09:02:14 +00:00
|
|
|
upButton->setObjectName(QString::fromUtf8("upButton"));
|
2011-04-27 10:05:43 +00:00
|
|
|
upButton->setEnabled(false);
|
|
|
|
QIcon icon;
|
2018-07-13 09:02:14 +00:00
|
|
|
icon.addFile(QString::fromUtf8(":/images/up.png"), QSize(), QIcon::Normal, QIcon::Off);
|
2011-04-27 10:05:43 +00:00
|
|
|
upButton->setIcon(icon);
|
|
|
|
|
|
|
|
hboxLayout->addWidget(upButton);
|
|
|
|
|
|
|
|
downButton = new QToolButton(LanguagesDialog);
|
2018-07-13 09:02:14 +00:00
|
|
|
downButton->setObjectName(QString::fromUtf8("downButton"));
|
2011-04-27 10:05:43 +00:00
|
|
|
downButton->setEnabled(false);
|
|
|
|
QIcon icon1;
|
2018-07-13 09:02:14 +00:00
|
|
|
icon1.addFile(QString::fromUtf8(":/images/down.png"), QSize(), QIcon::Normal, QIcon::Off);
|
2011-04-27 10:05:43 +00:00
|
|
|
downButton->setIcon(icon1);
|
|
|
|
|
|
|
|
hboxLayout->addWidget(downButton);
|
|
|
|
|
|
|
|
removeButton = new QToolButton(LanguagesDialog);
|
2018-07-13 09:02:14 +00:00
|
|
|
removeButton->setObjectName(QString::fromUtf8("removeButton"));
|
2011-04-27 10:05:43 +00:00
|
|
|
removeButton->setEnabled(false);
|
|
|
|
QIcon icon2;
|
2018-07-13 09:02:14 +00:00
|
|
|
icon2.addFile(QString::fromUtf8(":/images/editdelete.png"), QSize(), QIcon::Normal, QIcon::Off);
|
2011-04-27 10:05:43 +00:00
|
|
|
removeButton->setIcon(icon2);
|
|
|
|
|
|
|
|
hboxLayout->addWidget(removeButton);
|
|
|
|
|
|
|
|
openFileButton = new QToolButton(LanguagesDialog);
|
2018-07-13 09:02:14 +00:00
|
|
|
openFileButton->setObjectName(QString::fromUtf8("openFileButton"));
|
2011-04-27 10:05:43 +00:00
|
|
|
openFileButton->setEnabled(true);
|
|
|
|
QIcon icon3;
|
2018-07-13 09:02:14 +00:00
|
|
|
icon3.addFile(QString::fromUtf8(":/images/mac/fileopen.png"), QSize(), QIcon::Normal, QIcon::Off);
|
2011-04-27 10:05:43 +00:00
|
|
|
openFileButton->setIcon(icon3);
|
|
|
|
|
|
|
|
hboxLayout->addWidget(openFileButton);
|
|
|
|
|
|
|
|
spacerItem = new QSpacerItem(121, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
|
|
|
|
|
|
|
|
hboxLayout->addItem(spacerItem);
|
|
|
|
|
|
|
|
okButton = new QPushButton(LanguagesDialog);
|
2018-07-13 09:02:14 +00:00
|
|
|
okButton->setObjectName(QString::fromUtf8("okButton"));
|
2011-04-27 10:05:43 +00:00
|
|
|
|
|
|
|
hboxLayout->addWidget(okButton);
|
|
|
|
|
|
|
|
|
|
|
|
verticalLayout->addLayout(hboxLayout);
|
|
|
|
|
|
|
|
|
|
|
|
retranslateUi(LanguagesDialog);
|
|
|
|
QObject::connect(okButton, SIGNAL(clicked()), LanguagesDialog, SLOT(accept()));
|
|
|
|
|
|
|
|
QMetaObject::connectSlotsByName(LanguagesDialog);
|
|
|
|
} // setupUi
|
|
|
|
|
|
|
|
void retranslateUi(QDialog *LanguagesDialog)
|
|
|
|
{
|
2017-08-28 14:42:50 +00:00
|
|
|
LanguagesDialog->setWindowTitle(QApplication::translate("LanguagesDialog", "Auxiliary Languages", nullptr));
|
2011-04-27 10:05:43 +00:00
|
|
|
QTreeWidgetItem *___qtreewidgetitem = languagesList->headerItem();
|
2017-08-28 14:42:50 +00:00
|
|
|
___qtreewidgetitem->setText(1, QApplication::translate("LanguagesDialog", "File", nullptr));
|
|
|
|
___qtreewidgetitem->setText(0, QApplication::translate("LanguagesDialog", "Locale", nullptr));
|
2011-04-27 10:05:43 +00:00
|
|
|
#ifndef QT_NO_TOOLTIP
|
|
|
|
upButton->setToolTip(QApplication::translate("LanguagesDialog", "<html><head><meta name=\"qrichtext\" content=\"1\" /><style type=\"text/css\">\n"
|
|
|
|
"p, li { white-space: pre-wrap; }\n"
|
|
|
|
"</style></head><body style=\" font-family:'MS Shell Dlg 2'; font-size:8.25pt; font-weight:400; font-style:normal;\">\n"
|
2017-08-28 14:42:50 +00:00
|
|
|
"<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));
|
2011-04-27 10:05:43 +00:00
|
|
|
#endif // QT_NO_TOOLTIP
|
2017-08-28 14:42:50 +00:00
|
|
|
upButton->setText(QApplication::translate("LanguagesDialog", "up", nullptr));
|
2011-04-27 10:05:43 +00:00
|
|
|
#ifndef QT_NO_TOOLTIP
|
|
|
|
downButton->setToolTip(QApplication::translate("LanguagesDialog", "<html><head><meta name=\"qrichtext\" content=\"1\" /><style type=\"text/css\">\n"
|
|
|
|
"p, li { white-space: pre-wrap; }\n"
|
|
|
|
"</style></head><body style=\" font-family:'MS Shell Dlg 2'; font-size:8.25pt; font-weight:400; font-style:normal;\">\n"
|
2017-08-28 14:42:50 +00:00
|
|
|
"<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));
|
2011-04-27 10:05:43 +00:00
|
|
|
#endif // QT_NO_TOOLTIP
|
2017-08-28 14:42:50 +00:00
|
|
|
downButton->setText(QApplication::translate("LanguagesDialog", "down", nullptr));
|
2011-04-27 10:05:43 +00:00
|
|
|
#ifndef QT_NO_TOOLTIP
|
|
|
|
removeButton->setToolTip(QApplication::translate("LanguagesDialog", "<html><head><meta name=\"qrichtext\" content=\"1\" /><style type=\"text/css\">\n"
|
|
|
|
"p, li { white-space: pre-wrap; }\n"
|
|
|
|
"</style></head><body style=\" font-family:'MS Shell Dlg 2'; font-size:8.25pt; font-weight:400; font-style:normal;\">\n"
|
2017-08-28 14:42:50 +00:00
|
|
|
"<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));
|
2011-04-27 10:05:43 +00:00
|
|
|
#endif // QT_NO_TOOLTIP
|
2017-08-28 14:42:50 +00:00
|
|
|
removeButton->setText(QApplication::translate("LanguagesDialog", "remove", nullptr));
|
2011-04-27 10:05:43 +00:00
|
|
|
#ifndef QT_NO_TOOLTIP
|
|
|
|
openFileButton->setToolTip(QApplication::translate("LanguagesDialog", "<html><head><meta name=\"qrichtext\" content=\"1\" /><style type=\"text/css\">\n"
|
|
|
|
"p, li { white-space: pre-wrap; }\n"
|
|
|
|
"</style></head><body style=\" font-family:'MS Shell Dlg 2'; font-size:8.25pt; font-weight:400; font-style:normal;\">\n"
|
2017-08-28 14:42:50 +00:00
|
|
|
"<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));
|
2011-04-27 10:05:43 +00:00
|
|
|
#endif // QT_NO_TOOLTIP
|
2017-08-28 14:42:50 +00:00
|
|
|
openFileButton->setText(QApplication::translate("LanguagesDialog", "...", nullptr));
|
|
|
|
okButton->setText(QApplication::translate("LanguagesDialog", "OK", nullptr));
|
2011-04-27 10:05:43 +00:00
|
|
|
} // retranslateUi
|
|
|
|
|
|
|
|
};
|
|
|
|
|
|
|
|
namespace Ui {
|
|
|
|
class LanguagesDialog: public Ui_LanguagesDialog {};
|
|
|
|
} // namespace Ui
|
|
|
|
|
|
|
|
QT_END_NAMESPACE
|
|
|
|
|
|
|
|
#endif // LANGUAGESDIALOG_H
|