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