1 // Copyright (C) 2010 Jaakko Kyro <jkyro@korjaussarja.net>
2 // This file is licenced under GPL, see COPYING
3 // for full licence information
4 /********************************************************************************
5 ** Form generated from reading UI file 'evesettingsdialog.ui'
7 ** Created: Fri May 7 20:57:37 2010
8 ** by: Qt User Interface Compiler version 4.6.2
10 ** WARNING! All changes made in this file will be lost when recompiling UI file!
11 ********************************************************************************/
13 #ifndef UI_EVESETTINGSDIALOG_H
14 #define UI_EVESETTINGSDIALOG_H
16 #include <QtCore/QVariant>
17 #include <QtGui/QAction>
18 #include <QtGui/QApplication>
19 #include <QtGui/QButtonGroup>
20 #include <QtGui/QComboBox>
21 #include <QtGui/QDialog>
22 #include <QtGui/QDialogButtonBox>
23 #include <QtGui/QHeaderView>
24 #include <QtGui/QLabel>
25 #include <QtGui/QLineEdit>
26 #include <QtGui/QPushButton>
27 #include <QtGui/QScrollArea>
28 #include <QtGui/QWidget>
32 class Ui_EveSettingsDialog
35 QDialogButtonBox *buttonBox;
37 QScrollArea *scrollArea;
38 QWidget *scrollAreaWidgetContents;
39 QLineEdit *apiKeyEdit;
42 QLineEdit *userIdEdit;
43 QComboBox *characterCombo;
45 QPushButton *getCharactersButton;
47 void setupUi(QDialog *EveSettingsDialog)
49 if (EveSettingsDialog->objectName().isEmpty())
50 EveSettingsDialog->setObjectName(QString::fromUtf8("EveSettingsDialog"));
51 EveSettingsDialog->resize(800, 300);
52 buttonBox = new QDialogButtonBox(EveSettingsDialog);
53 buttonBox->setObjectName(QString::fromUtf8("buttonBox"));
54 buttonBox->setGeometry(QRect(710, 20, 81, 241));
55 buttonBox->setOrientation(Qt::Vertical);
56 buttonBox->setStandardButtons(QDialogButtonBox::Cancel|QDialogButtonBox::Ok);
57 label_4 = new QLabel(EveSettingsDialog);
58 label_4->setObjectName(QString::fromUtf8("label_4"));
59 label_4->setGeometry(QRect(20, 10, 171, 34));
60 label_4->setOpenExternalLinks(true);
61 scrollArea = new QScrollArea(EveSettingsDialog);
62 scrollArea->setObjectName(QString::fromUtf8("scrollArea"));
63 scrollArea->setGeometry(QRect(10, 50, 701, 241));
64 scrollArea->setWidgetResizable(true);
65 scrollAreaWidgetContents = new QWidget();
66 scrollAreaWidgetContents->setObjectName(QString::fromUtf8("scrollAreaWidgetContents"));
67 scrollAreaWidgetContents->setGeometry(QRect(0, 0, 695, 235));
68 apiKeyEdit = new QLineEdit(scrollAreaWidgetContents);
69 apiKeyEdit->setObjectName(QString::fromUtf8("apiKeyEdit"));
70 apiKeyEdit->setGeometry(QRect(10, 10, 671, 61));
71 QSizePolicy sizePolicy(QSizePolicy::Expanding, QSizePolicy::Expanding);
72 sizePolicy.setHorizontalStretch(0);
73 sizePolicy.setVerticalStretch(0);
74 sizePolicy.setHeightForWidth(apiKeyEdit->sizePolicy().hasHeightForWidth());
75 apiKeyEdit->setSizePolicy(sizePolicy);
77 font.setPointSize(24);
78 apiKeyEdit->setFont(font);
79 apiKeyEdit->setFrame(true);
80 label = new QLabel(scrollAreaWidgetContents);
81 label->setObjectName(QString::fromUtf8("label"));
82 label->setGeometry(QRect(20, 0, 39, 16));
83 label_2 = new QLabel(scrollAreaWidgetContents);
84 label_2->setObjectName(QString::fromUtf8("label_2"));
85 label_2->setGeometry(QRect(20, 70, 34, 16));
86 userIdEdit = new QLineEdit(scrollAreaWidgetContents);
87 userIdEdit->setObjectName(QString::fromUtf8("userIdEdit"));
88 userIdEdit->setGeometry(QRect(10, 90, 661, 61));
89 sizePolicy.setHeightForWidth(userIdEdit->sizePolicy().hasHeightForWidth());
90 userIdEdit->setSizePolicy(sizePolicy);
91 userIdEdit->setFont(font);
92 characterCombo = new QComboBox(scrollAreaWidgetContents);
93 characterCombo->setObjectName(QString::fromUtf8("characterCombo"));
94 characterCombo->setGeometry(QRect(20, 170, 70, 24));
95 label_3 = new QLabel(scrollAreaWidgetContents);
96 label_3->setObjectName(QString::fromUtf8("label_3"));
97 label_3->setGeometry(QRect(20, 153, 87, 16));
98 getCharactersButton = new QPushButton(scrollAreaWidgetContents);
99 getCharactersButton->setObjectName(QString::fromUtf8("getCharactersButton"));
100 getCharactersButton->setGeometry(QRect(540, 180, 121, 22));
101 scrollArea->setWidget(scrollAreaWidgetContents);
103 retranslateUi(EveSettingsDialog);
104 QObject::connect(buttonBox, SIGNAL(accepted()), EveSettingsDialog, SLOT(accept()));
105 QObject::connect(buttonBox, SIGNAL(rejected()), EveSettingsDialog, SLOT(reject()));
107 QMetaObject::connectSlotsByName(EveSettingsDialog);
110 void retranslateUi(QDialog *EveSettingsDialog)
112 EveSettingsDialog->setWindowTitle(QApplication::translate("EveSettingsDialog", "EVE settings", 0, QApplication::UnicodeUTF8));
113 label_4->setText(QApplication::translate("EveSettingsDialog", "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.0//EN\" \"http://www.w3.org/TR/REC-html40/strict.dtd\">\n"
114 "<html><head><meta name=\"qrichtext\" content=\"1\" /><style type=\"text/css\">\n"
115 "p, li { white-space: pre-wrap; }\n"
116 "</style></head><body style=\" font-family:'DejaVu Sans'; font-size:8pt; font-weight:400; font-style:normal;\">\n"
117 "<table style=\"-qt-table-type: root; margin-top:4px; margin-bottom:4px; margin-left:4px; margin-right:4px;\">\n"
119 "<td style=\"border: none;\">\n"
120 "<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\">To see character info visit<br /><a href=\"http://www.eveonline.com/api/\"><span style=\" text-decoration: underline; color:#0057ae;\">EVE Online account page</span></a></p></td></tr></table></body></html>", 0, QApplication::UnicodeUTF8));
121 label->setText(QApplication::translate("EveSettingsDialog", "API key", 0, QApplication::UnicodeUTF8));
122 label_2->setText(QApplication::translate("EveSettingsDialog", "UserID", 0, QApplication::UnicodeUTF8));
123 label_3->setText(QApplication::translate("EveSettingsDialog", "Choose character", 0, QApplication::UnicodeUTF8));
124 getCharactersButton->setText(QApplication::translate("EveSettingsDialog", "Fetch characters", 0, QApplication::UnicodeUTF8));
130 class EveSettingsDialog: public Ui_EveSettingsDialog {};
135 #endif // UI_EVESETTINGSDIALOG_H