00001
00002
00003
00004
00005
00006
00007
00008
00009
00010 #ifndef UI_SETTINGSCREEN_H
00011 #define UI_SETTINGSCREEN_H
00012
00013 #include <QtCore/QVariant>
00014 #include <QtGui/QAction>
00015 #include <QtGui/QApplication>
00016 #include <QtGui/QButtonGroup>
00017 #include <QtGui/QCheckBox>
00018 #include <QtGui/QFrame>
00019 #include <QtGui/QGroupBox>
00020 #include <QtGui/QHBoxLayout>
00021 #include <QtGui/QHeaderView>
00022 #include <QtGui/QLabel>
00023 #include <QtGui/QPushButton>
00024 #include <QtGui/QRadioButton>
00025 #include <QtGui/QScrollArea>
00026 #include <QtGui/QSlider>
00027 #include <QtGui/QVBoxLayout>
00028 #include <QtGui/QWidget>
00029
00030 QT_BEGIN_NAMESPACE
00031
00032 class Ui_SettingScreenClass
00033 {
00034 public:
00035 QVBoxLayout *verticalLayout_9;
00036 QLabel *label_5;
00037 QScrollArea *settingScroll;
00038 QWidget *scrollAreaWidgetContents_3;
00039 QVBoxLayout *verticalLayout;
00040 QGroupBox *groupBox;
00041 QVBoxLayout *verticalLayout_5;
00042 QPushButton *ipokiButton;
00043 QPushButton *addServiceButton;
00044 QFrame *line_2;
00045 QGroupBox *groupBox_2;
00046 QVBoxLayout *verticalLayout_7;
00047 QGroupBox *modeRadioBox;
00048 QHBoxLayout *horizontalLayout_5;
00049 QRadioButton *radioGPS;
00050 QRadioButton *radioWifi;
00051 QRadioButton *radioWifiGPS;
00052 QFrame *line_3;
00053 QGroupBox *levelRadioBox;
00054 QHBoxLayout *horizontalLayout_6;
00055 QVBoxLayout *verticalLayout_3;
00056 QSlider *levelSlider;
00057 QHBoxLayout *horizontalLayout_2;
00058 QLabel *label_3;
00059 QLabel *label_4;
00060 QLabel *label_2;
00061 QFrame *line_5;
00062 QGroupBox *storageBox;
00063 QVBoxLayout *verticalLayout_2;
00064 QCheckBox *checkTemporal;
00065 QVBoxLayout *verticalLayout_4;
00066 QSlider *ttlSlider;
00067 QHBoxLayout *horizontalLayout;
00068 QLabel *label;
00069 QLabel *label_6;
00070 QFrame *line;
00071 QGroupBox *saBox;
00072 QVBoxLayout *verticalLayout_8;
00073 QPushButton *addFriendButton;
00074 QFrame *line_4;
00075 QPushButton *resetButton;
00076 QPushButton *backButton;
00077
00078 void setupUi(QWidget *SettingScreenClass)
00079 {
00080 if (SettingScreenClass->objectName().isEmpty())
00081 SettingScreenClass->setObjectName(QString::fromUtf8("SettingScreenClass"));
00082 SettingScreenClass->resize(360, 640);
00083 verticalLayout_9 = new QVBoxLayout(SettingScreenClass);
00084 verticalLayout_9->setSpacing(4);
00085 verticalLayout_9->setContentsMargins(0, 0, 0, 0);
00086 verticalLayout_9->setObjectName(QString::fromUtf8("verticalLayout_9"));
00087 label_5 = new QLabel(SettingScreenClass);
00088 label_5->setObjectName(QString::fromUtf8("label_5"));
00089 label_5->setMaximumSize(QSize(16777215, 30));
00090 QFont font;
00091 font.setPointSize(10);
00092 font.setBold(true);
00093 font.setWeight(75);
00094 label_5->setFont(font);
00095
00096 verticalLayout_9->addWidget(label_5);
00097
00098 settingScroll = new QScrollArea(SettingScreenClass);
00099 settingScroll->setObjectName(QString::fromUtf8("settingScroll"));
00100 settingScroll->setWidgetResizable(true);
00101 scrollAreaWidgetContents_3 = new QWidget();
00102 scrollAreaWidgetContents_3->setObjectName(QString::fromUtf8("scrollAreaWidgetContents_3"));
00103 scrollAreaWidgetContents_3->setGeometry(QRect(0, 0, 340, 568));
00104 verticalLayout = new QVBoxLayout(scrollAreaWidgetContents_3);
00105 verticalLayout->setSpacing(4);
00106 verticalLayout->setContentsMargins(0, 0, 0, 0);
00107 verticalLayout->setObjectName(QString::fromUtf8("verticalLayout"));
00108 groupBox = new QGroupBox(scrollAreaWidgetContents_3);
00109 groupBox->setObjectName(QString::fromUtf8("groupBox"));
00110 verticalLayout_5 = new QVBoxLayout(groupBox);
00111 verticalLayout_5->setSpacing(4);
00112 verticalLayout_5->setContentsMargins(3, 3, 3, 3);
00113 verticalLayout_5->setObjectName(QString::fromUtf8("verticalLayout_5"));
00114 ipokiButton = new QPushButton(groupBox);
00115 ipokiButton->setObjectName(QString::fromUtf8("ipokiButton"));
00116
00117 verticalLayout_5->addWidget(ipokiButton);
00118
00119 addServiceButton = new QPushButton(groupBox);
00120 addServiceButton->setObjectName(QString::fromUtf8("addServiceButton"));
00121
00122 verticalLayout_5->addWidget(addServiceButton);
00123
00124
00125 verticalLayout->addWidget(groupBox);
00126
00127 line_2 = new QFrame(scrollAreaWidgetContents_3);
00128 line_2->setObjectName(QString::fromUtf8("line_2"));
00129 line_2->setFrameShape(QFrame::HLine);
00130 line_2->setFrameShadow(QFrame::Sunken);
00131
00132 verticalLayout->addWidget(line_2);
00133
00134 groupBox_2 = new QGroupBox(scrollAreaWidgetContents_3);
00135 groupBox_2->setObjectName(QString::fromUtf8("groupBox_2"));
00136 verticalLayout_7 = new QVBoxLayout(groupBox_2);
00137 verticalLayout_7->setSpacing(4);
00138 verticalLayout_7->setContentsMargins(3, 3, 3, 3);
00139 verticalLayout_7->setObjectName(QString::fromUtf8("verticalLayout_7"));
00140 modeRadioBox = new QGroupBox(groupBox_2);
00141 modeRadioBox->setObjectName(QString::fromUtf8("modeRadioBox"));
00142 horizontalLayout_5 = new QHBoxLayout(modeRadioBox);
00143 horizontalLayout_5->setSpacing(4);
00144 horizontalLayout_5->setContentsMargins(3, 3, 3, 3);
00145 horizontalLayout_5->setObjectName(QString::fromUtf8("horizontalLayout_5"));
00146 radioGPS = new QRadioButton(modeRadioBox);
00147 radioGPS->setObjectName(QString::fromUtf8("radioGPS"));
00148 radioGPS->setProperty("mode", QVariant(1));
00149
00150 horizontalLayout_5->addWidget(radioGPS);
00151
00152 radioWifi = new QRadioButton(modeRadioBox);
00153 radioWifi->setObjectName(QString::fromUtf8("radioWifi"));
00154 radioWifi->setProperty("mode", QVariant(0));
00155
00156 horizontalLayout_5->addWidget(radioWifi);
00157
00158 radioWifiGPS = new QRadioButton(modeRadioBox);
00159 radioWifiGPS->setObjectName(QString::fromUtf8("radioWifiGPS"));
00160 radioWifiGPS->setProperty("mode", QVariant(2));
00161
00162 horizontalLayout_5->addWidget(radioWifiGPS);
00163
00164
00165 verticalLayout_7->addWidget(modeRadioBox);
00166
00167 line_3 = new QFrame(groupBox_2);
00168 line_3->setObjectName(QString::fromUtf8("line_3"));
00169 line_3->setFrameShape(QFrame::HLine);
00170 line_3->setFrameShadow(QFrame::Sunken);
00171
00172 verticalLayout_7->addWidget(line_3);
00173
00174 levelRadioBox = new QGroupBox(groupBox_2);
00175 levelRadioBox->setObjectName(QString::fromUtf8("levelRadioBox"));
00176 horizontalLayout_6 = new QHBoxLayout(levelRadioBox);
00177 horizontalLayout_6->setSpacing(4);
00178 horizontalLayout_6->setContentsMargins(0, 0, 0, 0);
00179 horizontalLayout_6->setObjectName(QString::fromUtf8("horizontalLayout_6"));
00180 verticalLayout_3 = new QVBoxLayout();
00181 verticalLayout_3->setSpacing(4);
00182 verticalLayout_3->setObjectName(QString::fromUtf8("verticalLayout_3"));
00183 verticalLayout_3->setContentsMargins(9, -1, 9, -1);
00184 levelSlider = new QSlider(levelRadioBox);
00185 levelSlider->setObjectName(QString::fromUtf8("levelSlider"));
00186 levelSlider->setMaximum(2);
00187 levelSlider->setOrientation(Qt::Horizontal);
00188
00189 verticalLayout_3->addWidget(levelSlider);
00190
00191 horizontalLayout_2 = new QHBoxLayout();
00192 horizontalLayout_2->setSpacing(4);
00193 horizontalLayout_2->setObjectName(QString::fromUtf8("horizontalLayout_2"));
00194 label_3 = new QLabel(levelRadioBox);
00195 label_3->setObjectName(QString::fromUtf8("label_3"));
00196
00197 horizontalLayout_2->addWidget(label_3);
00198
00199 label_4 = new QLabel(levelRadioBox);
00200 label_4->setObjectName(QString::fromUtf8("label_4"));
00201 label_4->setAlignment(Qt::AlignCenter);
00202
00203 horizontalLayout_2->addWidget(label_4);
00204
00205 label_2 = new QLabel(levelRadioBox);
00206 label_2->setObjectName(QString::fromUtf8("label_2"));
00207 label_2->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);
00208
00209 horizontalLayout_2->addWidget(label_2);
00210
00211
00212 verticalLayout_3->addLayout(horizontalLayout_2);
00213
00214
00215 horizontalLayout_6->addLayout(verticalLayout_3);
00216
00217
00218 verticalLayout_7->addWidget(levelRadioBox);
00219
00220 line_5 = new QFrame(groupBox_2);
00221 line_5->setObjectName(QString::fromUtf8("line_5"));
00222 line_5->setFrameShape(QFrame::HLine);
00223 line_5->setFrameShadow(QFrame::Sunken);
00224
00225 verticalLayout_7->addWidget(line_5);
00226
00227 storageBox = new QGroupBox(groupBox_2);
00228 storageBox->setObjectName(QString::fromUtf8("storageBox"));
00229 verticalLayout_2 = new QVBoxLayout(storageBox);
00230 verticalLayout_2->setSpacing(4);
00231 verticalLayout_2->setContentsMargins(0, 0, 0, 0);
00232 verticalLayout_2->setObjectName(QString::fromUtf8("verticalLayout_2"));
00233 checkTemporal = new QCheckBox(storageBox);
00234 checkTemporal->setObjectName(QString::fromUtf8("checkTemporal"));
00235 checkTemporal->setChecked(true);
00236
00237 verticalLayout_2->addWidget(checkTemporal);
00238
00239 verticalLayout_4 = new QVBoxLayout();
00240 verticalLayout_4->setSpacing(4);
00241 verticalLayout_4->setObjectName(QString::fromUtf8("verticalLayout_4"));
00242 verticalLayout_4->setContentsMargins(9, -1, 9, -1);
00243 ttlSlider = new QSlider(storageBox);
00244 ttlSlider->setObjectName(QString::fromUtf8("ttlSlider"));
00245 ttlSlider->setMinimum(8);
00246 ttlSlider->setMaximum(160);
00247 ttlSlider->setSingleStep(32);
00248 ttlSlider->setOrientation(Qt::Horizontal);
00249
00250 verticalLayout_4->addWidget(ttlSlider);
00251
00252 horizontalLayout = new QHBoxLayout();
00253 horizontalLayout->setSpacing(4);
00254 horizontalLayout->setObjectName(QString::fromUtf8("horizontalLayout"));
00255 label = new QLabel(storageBox);
00256 label->setObjectName(QString::fromUtf8("label"));
00257
00258 horizontalLayout->addWidget(label);
00259
00260 label_6 = new QLabel(storageBox);
00261 label_6->setObjectName(QString::fromUtf8("label_6"));
00262 label_6->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);
00263
00264 horizontalLayout->addWidget(label_6);
00265
00266
00267 verticalLayout_4->addLayout(horizontalLayout);
00268
00269
00270 verticalLayout_2->addLayout(verticalLayout_4);
00271
00272
00273 verticalLayout_7->addWidget(storageBox);
00274
00275
00276 verticalLayout->addWidget(groupBox_2);
00277
00278 line = new QFrame(scrollAreaWidgetContents_3);
00279 line->setObjectName(QString::fromUtf8("line"));
00280 line->setFrameShape(QFrame::HLine);
00281 line->setFrameShadow(QFrame::Sunken);
00282
00283 verticalLayout->addWidget(line);
00284
00285 saBox = new QGroupBox(scrollAreaWidgetContents_3);
00286 saBox->setObjectName(QString::fromUtf8("saBox"));
00287 saBox->setMinimumSize(QSize(0, 0));
00288 verticalLayout_8 = new QVBoxLayout(saBox);
00289 verticalLayout_8->setSpacing(4);
00290 verticalLayout_8->setContentsMargins(3, 3, 3, 3);
00291 verticalLayout_8->setObjectName(QString::fromUtf8("verticalLayout_8"));
00292 addFriendButton = new QPushButton(saBox);
00293 addFriendButton->setObjectName(QString::fromUtf8("addFriendButton"));
00294
00295 verticalLayout_8->addWidget(addFriendButton);
00296
00297
00298 verticalLayout->addWidget(saBox);
00299
00300 line_4 = new QFrame(scrollAreaWidgetContents_3);
00301 line_4->setObjectName(QString::fromUtf8("line_4"));
00302 line_4->setFrameShape(QFrame::HLine);
00303 line_4->setFrameShadow(QFrame::Sunken);
00304
00305 verticalLayout->addWidget(line_4);
00306
00307 resetButton = new QPushButton(scrollAreaWidgetContents_3);
00308 resetButton->setObjectName(QString::fromUtf8("resetButton"));
00309
00310 verticalLayout->addWidget(resetButton);
00311
00312 settingScroll->setWidget(scrollAreaWidgetContents_3);
00313
00314 verticalLayout_9->addWidget(settingScroll);
00315
00316 backButton = new QPushButton(SettingScreenClass);
00317 backButton->setObjectName(QString::fromUtf8("backButton"));
00318
00319 verticalLayout_9->addWidget(backButton);
00320
00321
00322 retranslateUi(SettingScreenClass);
00323
00324 QMetaObject::connectSlotsByName(SettingScreenClass);
00325 }
00326
00327 void retranslateUi(QWidget *SettingScreenClass)
00328 {
00329 SettingScreenClass->setWindowTitle(QApplication::translate("SettingScreenClass", "SettingScreen", 0, QApplication::UnicodeUTF8));
00330 label_5->setText(QApplication::translate("SettingScreenClass", "PrivL : Settings", 0, QApplication::UnicodeUTF8));
00331 groupBox->setTitle(QApplication::translate("SettingScreenClass", "Sharing Service", 0, QApplication::UnicodeUTF8));
00332 ipokiButton->setText(QApplication::translate("SettingScreenClass", "ipoki.com", 0, QApplication::UnicodeUTF8));
00333 addServiceButton->setText(QApplication::translate("SettingScreenClass", "+ Add Service", 0, QApplication::UnicodeUTF8));
00334 groupBox_2->setTitle(QApplication::translate("SettingScreenClass", "Privacy Preferences", 0, QApplication::UnicodeUTF8));
00335 modeRadioBox->setTitle(QApplication::translate("SettingScreenClass", "Positioning Mode", 0, QApplication::UnicodeUTF8));
00336 radioGPS->setText(QApplication::translate("SettingScreenClass", "GPS", 0, QApplication::UnicodeUTF8));
00337 radioWifi->setText(QApplication::translate("SettingScreenClass", "WiFi", 0, QApplication::UnicodeUTF8));
00338 radioWifiGPS->setText(QApplication::translate("SettingScreenClass", "Mixed", 0, QApplication::UnicodeUTF8));
00339 levelRadioBox->setTitle(QApplication::translate("SettingScreenClass", "Privacy Level", 0, QApplication::UnicodeUTF8));
00340 label_3->setText(QApplication::translate("SettingScreenClass", "Low", 0, QApplication::UnicodeUTF8));
00341 label_4->setText(QApplication::translate("SettingScreenClass", "Medium", 0, QApplication::UnicodeUTF8));
00342 label_2->setText(QApplication::translate("SettingScreenClass", "High", 0, QApplication::UnicodeUTF8));
00343 storageBox->setTitle(QApplication::translate("SettingScreenClass", "Storage Mode", 0, QApplication::UnicodeUTF8));
00344 checkTemporal->setText(QApplication::translate("SettingScreenClass", "active temporal storage: 8h TTL", 0, QApplication::UnicodeUTF8));
00345 label->setText(QApplication::translate("SettingScreenClass", "Short TTL", 0, QApplication::UnicodeUTF8));
00346 label_6->setText(QApplication::translate("SettingScreenClass", "Long TTL", 0, QApplication::UnicodeUTF8));
00347 saBox->setTitle(QApplication::translate("SettingScreenClass", "Security Associations", 0, QApplication::UnicodeUTF8));
00348 addFriendButton->setText(QApplication::translate("SettingScreenClass", "Add Friend", 0, QApplication::UnicodeUTF8));
00349 resetButton->setText(QApplication::translate("SettingScreenClass", "Reset Cache", 0, QApplication::UnicodeUTF8));
00350 backButton->setText(QApplication::translate("SettingScreenClass", "Back", 0, QApplication::UnicodeUTF8));
00351 }
00352
00353 };
00354
00355 namespace Ui {
00356 class SettingScreenClass: public Ui_SettingScreenClass {};
00357 }
00358
00359 QT_END_NAMESPACE
00360
00361 #endif // UI_SETTINGSCREEN_H