Thumbnail me
3.0
|
00001 /******************************************************************************** 00002 ** Form generated from reading UI file 'ImageShackUploadWidget.ui' 00003 ** 00004 ** Created: Mon 13. Feb 22:53:54 2012 00005 ** by: Qt User Interface Compiler version 4.8.0 00006 ** 00007 ** WARNING! All changes made in this file will be lost when recompiling UI file! 00008 ********************************************************************************/ 00009 00010 #ifndef UI_IMAGESHACKUPLOADWIDGET_H 00011 #define UI_IMAGESHACKUPLOADWIDGET_H 00012 00013 #include <QtCore/QVariant> 00014 #include <QtGui/QAction> 00015 #include <QtGui/QApplication> 00016 #include <QtGui/QButtonGroup> 00017 #include <QtGui/QComboBox> 00018 #include <QtGui/QFrame> 00019 #include <QtGui/QGridLayout> 00020 #include <QtGui/QGroupBox> 00021 #include <QtGui/QHBoxLayout> 00022 #include <QtGui/QHeaderView> 00023 #include <QtGui/QLabel> 00024 #include <QtGui/QLineEdit> 00025 #include <QtGui/QProgressBar> 00026 #include <QtGui/QPushButton> 00027 #include <QtGui/QRadioButton> 00028 #include <QtGui/QSpacerItem> 00029 #include <QtGui/QStackedWidget> 00030 #include <QtGui/QToolButton> 00031 #include <QtGui/QVBoxLayout> 00032 #include <QtGui/QWidget> 00033 00034 QT_BEGIN_NAMESPACE 00035 00036 class Ui_ImageShackUploadWidget 00037 { 00038 public: 00039 QVBoxLayout *verticalLayout; 00040 QHBoxLayout *topLayout; 00041 QSpacerItem *horizontalSpacer_8; 00042 QLabel *imageShackLabel; 00043 QSpacerItem *horizontalSpacer_7; 00044 QGroupBox *groupBox; 00045 QVBoxLayout *verticalLayout_2; 00046 QLabel *uploadModeLabel; 00047 QFrame *line_top; 00048 QHBoxLayout *uploadConfigurationLayout; 00049 QGridLayout *gridLayoutLeft; 00050 QLabel *thumbnailPreviewLabel; 00051 QHBoxLayout *filesUploadedLayout; 00052 QLabel *countFileLoaded; 00053 QSpacerItem *horizontalSpacer; 00054 QSpacerItem *horizontalSpacer_2; 00055 QSpacerItem *horizontalSpacer_4; 00056 QSpacerItem *horizontalSpacer_9; 00057 QFrame *line; 00058 QGridLayout *gridLayoutRight; 00059 QLabel *resizeLabel; 00060 QComboBox *resizeComboBox; 00061 QLabel *privacyLabel; 00062 QRadioButton *privacyPrivate; 00063 QRadioButton *privacyPublic; 00064 QLabel *tagsLabel; 00065 QLineEdit *tagsLineEdit; 00066 QLabel *separateCommaLabel; 00067 QFrame *line_2; 00068 QLabel *authenticationInstructionsLabel; 00069 QFrame *line_bottom; 00070 QStackedWidget *stackedUploadWidget; 00071 QWidget *page; 00072 QWidget *horizontalLayoutWidget; 00073 QHBoxLayout *horizontalLayout_2; 00074 QSpacerItem *horizontalSpacer_5; 00075 QToolButton *uploadNowButton; 00076 QSpacerItem *horizontalSpacer_6; 00077 QWidget *page_2; 00078 QWidget *horizontalLayoutWidget_2; 00079 QHBoxLayout *horizontalLayout_5; 00080 QSpacerItem *horizontalSpacer_10; 00081 QLabel *progressLabel; 00082 QLabel *label; 00083 QPushButton *cancelUploadButton; 00084 QSpacerItem *horizontalSpacer_3; 00085 QFrame *line_3; 00086 QHBoxLayout *indicatorProgressBarsLayout; 00087 QLabel *uploadProgressLabel; 00088 QProgressBar *uploadProgressBar; 00089 QFrame *line_4; 00090 QLabel *totalUploadProgressLabel_2; 00091 QProgressBar *totalUploadProgressBar; 00092 00093 void setupUi(QWidget *ImageShackUploadWidget) 00094 { 00095 if (ImageShackUploadWidget->objectName().isEmpty()) 00096 ImageShackUploadWidget->setObjectName(QString::fromUtf8("ImageShackUploadWidget")); 00097 ImageShackUploadWidget->setWindowModality(Qt::ApplicationModal); 00098 ImageShackUploadWidget->setEnabled(true); 00099 ImageShackUploadWidget->resize(728, 591); 00100 QSizePolicy sizePolicy(QSizePolicy::Fixed, QSizePolicy::Fixed); 00101 sizePolicy.setHorizontalStretch(0); 00102 sizePolicy.setVerticalStretch(0); 00103 sizePolicy.setHeightForWidth(ImageShackUploadWidget->sizePolicy().hasHeightForWidth()); 00104 ImageShackUploadWidget->setSizePolicy(sizePolicy); 00105 ImageShackUploadWidget->setFocusPolicy(Qt::NoFocus); 00106 verticalLayout = new QVBoxLayout(ImageShackUploadWidget); 00107 verticalLayout->setObjectName(QString::fromUtf8("verticalLayout")); 00108 verticalLayout->setSizeConstraint(QLayout::SetFixedSize); 00109 verticalLayout->setContentsMargins(0, -1, 0, 0); 00110 topLayout = new QHBoxLayout(); 00111 topLayout->setObjectName(QString::fromUtf8("topLayout")); 00112 horizontalSpacer_8 = new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum); 00113 00114 topLayout->addItem(horizontalSpacer_8); 00115 00116 imageShackLabel = new QLabel(ImageShackUploadWidget); 00117 imageShackLabel->setObjectName(QString::fromUtf8("imageShackLabel")); 00118 imageShackLabel->setEnabled(true); 00119 imageShackLabel->setMaximumSize(QSize(16777215, 120)); 00120 imageShackLabel->setLayoutDirection(Qt::LeftToRight); 00121 imageShackLabel->setPixmap(QPixmap(QString::fromUtf8(":/sprites/imageShack.png"))); 00122 00123 topLayout->addWidget(imageShackLabel); 00124 00125 horizontalSpacer_7 = new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum); 00126 00127 topLayout->addItem(horizontalSpacer_7); 00128 00129 00130 verticalLayout->addLayout(topLayout); 00131 00132 groupBox = new QGroupBox(ImageShackUploadWidget); 00133 groupBox->setObjectName(QString::fromUtf8("groupBox")); 00134 groupBox->setEnabled(true); 00135 sizePolicy.setHeightForWidth(groupBox->sizePolicy().hasHeightForWidth()); 00136 groupBox->setSizePolicy(sizePolicy); 00137 groupBox->setTitle(QString::fromUtf8("")); 00138 groupBox->setFlat(true); 00139 groupBox->setCheckable(false); 00140 verticalLayout_2 = new QVBoxLayout(groupBox); 00141 verticalLayout_2->setObjectName(QString::fromUtf8("verticalLayout_2")); 00142 uploadModeLabel = new QLabel(groupBox); 00143 uploadModeLabel->setObjectName(QString::fromUtf8("uploadModeLabel")); 00144 uploadModeLabel->setLayoutDirection(Qt::LeftToRight); 00145 uploadModeLabel->setFrameShape(QFrame::NoFrame); 00146 uploadModeLabel->setFrameShadow(QFrame::Plain); 00147 uploadModeLabel->setLineWidth(1); 00148 uploadModeLabel->setMidLineWidth(0); 00149 uploadModeLabel->setTextFormat(Qt::AutoText); 00150 uploadModeLabel->setScaledContents(false); 00151 uploadModeLabel->setAlignment(Qt::AlignCenter); 00152 00153 verticalLayout_2->addWidget(uploadModeLabel); 00154 00155 line_top = new QFrame(groupBox); 00156 line_top->setObjectName(QString::fromUtf8("line_top")); 00157 line_top->setFrameShape(QFrame::HLine); 00158 line_top->setFrameShadow(QFrame::Sunken); 00159 00160 verticalLayout_2->addWidget(line_top); 00161 00162 uploadConfigurationLayout = new QHBoxLayout(); 00163 uploadConfigurationLayout->setObjectName(QString::fromUtf8("uploadConfigurationLayout")); 00164 gridLayoutLeft = new QGridLayout(); 00165 gridLayoutLeft->setObjectName(QString::fromUtf8("gridLayoutLeft")); 00166 thumbnailPreviewLabel = new QLabel(groupBox); 00167 thumbnailPreviewLabel->setObjectName(QString::fromUtf8("thumbnailPreviewLabel")); 00168 thumbnailPreviewLabel->setEnabled(true); 00169 QSizePolicy sizePolicy1(QSizePolicy::Maximum, QSizePolicy::Maximum); 00170 sizePolicy1.setHorizontalStretch(0); 00171 sizePolicy1.setVerticalStretch(0); 00172 sizePolicy1.setHeightForWidth(thumbnailPreviewLabel->sizePolicy().hasHeightForWidth()); 00173 thumbnailPreviewLabel->setSizePolicy(sizePolicy1); 00174 thumbnailPreviewLabel->setMinimumSize(QSize(150, 150)); 00175 thumbnailPreviewLabel->setMaximumSize(QSize(150, 150)); 00176 thumbnailPreviewLabel->setAutoFillBackground(false); 00177 thumbnailPreviewLabel->setFrameShape(QFrame::Box); 00178 thumbnailPreviewLabel->setFrameShadow(QFrame::Raised); 00179 thumbnailPreviewLabel->setLineWidth(2); 00180 thumbnailPreviewLabel->setScaledContents(true); 00181 thumbnailPreviewLabel->setAlignment(Qt::AlignCenter); 00182 00183 gridLayoutLeft->addWidget(thumbnailPreviewLabel, 0, 1, 1, 1); 00184 00185 filesUploadedLayout = new QHBoxLayout(); 00186 filesUploadedLayout->setObjectName(QString::fromUtf8("filesUploadedLayout")); 00187 countFileLoaded = new QLabel(groupBox); 00188 countFileLoaded->setObjectName(QString::fromUtf8("countFileLoaded")); 00189 countFileLoaded->setAlignment(Qt::AlignCenter); 00190 00191 filesUploadedLayout->addWidget(countFileLoaded); 00192 00193 00194 gridLayoutLeft->addLayout(filesUploadedLayout, 1, 1, 1, 1); 00195 00196 horizontalSpacer = new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum); 00197 00198 gridLayoutLeft->addItem(horizontalSpacer, 0, 2, 1, 1); 00199 00200 horizontalSpacer_2 = new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum); 00201 00202 gridLayoutLeft->addItem(horizontalSpacer_2, 0, 0, 1, 1); 00203 00204 horizontalSpacer_4 = new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum); 00205 00206 gridLayoutLeft->addItem(horizontalSpacer_4, 1, 2, 1, 1); 00207 00208 horizontalSpacer_9 = new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum); 00209 00210 gridLayoutLeft->addItem(horizontalSpacer_9, 1, 0, 1, 1); 00211 00212 00213 uploadConfigurationLayout->addLayout(gridLayoutLeft); 00214 00215 line = new QFrame(groupBox); 00216 line->setObjectName(QString::fromUtf8("line")); 00217 line->setFrameShape(QFrame::VLine); 00218 line->setFrameShadow(QFrame::Sunken); 00219 00220 uploadConfigurationLayout->addWidget(line); 00221 00222 gridLayoutRight = new QGridLayout(); 00223 gridLayoutRight->setObjectName(QString::fromUtf8("gridLayoutRight")); 00224 resizeLabel = new QLabel(groupBox); 00225 resizeLabel->setObjectName(QString::fromUtf8("resizeLabel")); 00226 resizeLabel->setEnabled(true); 00227 QSizePolicy sizePolicy2(QSizePolicy::Preferred, QSizePolicy::Maximum); 00228 sizePolicy2.setHorizontalStretch(0); 00229 sizePolicy2.setVerticalStretch(0); 00230 sizePolicy2.setHeightForWidth(resizeLabel->sizePolicy().hasHeightForWidth()); 00231 resizeLabel->setSizePolicy(sizePolicy2); 00232 00233 gridLayoutRight->addWidget(resizeLabel, 0, 0, 1, 1); 00234 00235 resizeComboBox = new QComboBox(groupBox); 00236 resizeComboBox->setObjectName(QString::fromUtf8("resizeComboBox")); 00237 resizeComboBox->setEnabled(true); 00238 00239 gridLayoutRight->addWidget(resizeComboBox, 0, 4, 1, 2); 00240 00241 privacyLabel = new QLabel(groupBox); 00242 privacyLabel->setObjectName(QString::fromUtf8("privacyLabel")); 00243 privacyLabel->setEnabled(false); 00244 00245 gridLayoutRight->addWidget(privacyLabel, 1, 0, 1, 1); 00246 00247 privacyPrivate = new QRadioButton(groupBox); 00248 privacyPrivate->setObjectName(QString::fromUtf8("privacyPrivate")); 00249 privacyPrivate->setEnabled(false); 00250 00251 gridLayoutRight->addWidget(privacyPrivate, 1, 4, 1, 1); 00252 00253 privacyPublic = new QRadioButton(groupBox); 00254 privacyPublic->setObjectName(QString::fromUtf8("privacyPublic")); 00255 privacyPublic->setEnabled(false); 00256 privacyPublic->setChecked(true); 00257 00258 gridLayoutRight->addWidget(privacyPublic, 1, 5, 1, 1); 00259 00260 tagsLabel = new QLabel(groupBox); 00261 tagsLabel->setObjectName(QString::fromUtf8("tagsLabel")); 00262 tagsLabel->setEnabled(false); 00263 00264 gridLayoutRight->addWidget(tagsLabel, 2, 0, 1, 1); 00265 00266 tagsLineEdit = new QLineEdit(groupBox); 00267 tagsLineEdit->setObjectName(QString::fromUtf8("tagsLineEdit")); 00268 tagsLineEdit->setEnabled(false); 00269 tagsLineEdit->setMinimumSize(QSize(210, 0)); 00270 tagsLineEdit->setFrame(true); 00271 tagsLineEdit->setAlignment(Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter); 00272 00273 gridLayoutRight->addWidget(tagsLineEdit, 2, 3, 1, 2); 00274 00275 separateCommaLabel = new QLabel(groupBox); 00276 separateCommaLabel->setObjectName(QString::fromUtf8("separateCommaLabel")); 00277 separateCommaLabel->setEnabled(false); 00278 00279 gridLayoutRight->addWidget(separateCommaLabel, 2, 5, 1, 1); 00280 00281 00282 uploadConfigurationLayout->addLayout(gridLayoutRight); 00283 00284 00285 verticalLayout_2->addLayout(uploadConfigurationLayout); 00286 00287 line_2 = new QFrame(groupBox); 00288 line_2->setObjectName(QString::fromUtf8("line_2")); 00289 line_2->setFrameShape(QFrame::HLine); 00290 line_2->setFrameShadow(QFrame::Sunken); 00291 00292 verticalLayout_2->addWidget(line_2); 00293 00294 authenticationInstructionsLabel = new QLabel(groupBox); 00295 authenticationInstructionsLabel->setObjectName(QString::fromUtf8("authenticationInstructionsLabel")); 00296 authenticationInstructionsLabel->setEnabled(true); 00297 authenticationInstructionsLabel->setMinimumSize(QSize(116, 0)); 00298 authenticationInstructionsLabel->setAcceptDrops(false); 00299 authenticationInstructionsLabel->setLayoutDirection(Qt::LeftToRight); 00300 authenticationInstructionsLabel->setAutoFillBackground(false); 00301 authenticationInstructionsLabel->setWordWrap(false); 00302 authenticationInstructionsLabel->setOpenExternalLinks(true); 00303 00304 verticalLayout_2->addWidget(authenticationInstructionsLabel); 00305 00306 line_bottom = new QFrame(groupBox); 00307 line_bottom->setObjectName(QString::fromUtf8("line_bottom")); 00308 line_bottom->setFrameShape(QFrame::HLine); 00309 line_bottom->setFrameShadow(QFrame::Sunken); 00310 00311 verticalLayout_2->addWidget(line_bottom); 00312 00313 stackedUploadWidget = new QStackedWidget(groupBox); 00314 stackedUploadWidget->setObjectName(QString::fromUtf8("stackedUploadWidget")); 00315 QSizePolicy sizePolicy3(QSizePolicy::Expanding, QSizePolicy::Expanding); 00316 sizePolicy3.setHorizontalStretch(0); 00317 sizePolicy3.setVerticalStretch(0); 00318 sizePolicy3.setHeightForWidth(stackedUploadWidget->sizePolicy().hasHeightForWidth()); 00319 stackedUploadWidget->setSizePolicy(sizePolicy3); 00320 stackedUploadWidget->setAutoFillBackground(false); 00321 stackedUploadWidget->setFrameShape(QFrame::NoFrame); 00322 stackedUploadWidget->setFrameShadow(QFrame::Plain); 00323 stackedUploadWidget->setLineWidth(1); 00324 stackedUploadWidget->setMidLineWidth(0); 00325 page = new QWidget(); 00326 page->setObjectName(QString::fromUtf8("page")); 00327 page->setEnabled(true); 00328 sizePolicy3.setHeightForWidth(page->sizePolicy().hasHeightForWidth()); 00329 page->setSizePolicy(sizePolicy3); 00330 page->setMinimumSize(QSize(0, 55)); 00331 horizontalLayoutWidget = new QWidget(page); 00332 horizontalLayoutWidget->setObjectName(QString::fromUtf8("horizontalLayoutWidget")); 00333 horizontalLayoutWidget->setGeometry(QRect(0, 0, 691, 51)); 00334 horizontalLayout_2 = new QHBoxLayout(horizontalLayoutWidget); 00335 horizontalLayout_2->setObjectName(QString::fromUtf8("horizontalLayout_2")); 00336 horizontalLayout_2->setContentsMargins(0, 0, 0, 0); 00337 horizontalSpacer_5 = new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum); 00338 00339 horizontalLayout_2->addItem(horizontalSpacer_5); 00340 00341 uploadNowButton = new QToolButton(horizontalLayoutWidget); 00342 uploadNowButton->setObjectName(QString::fromUtf8("uploadNowButton")); 00343 uploadNowButton->setStyleSheet(QString::fromUtf8("font: 75 8pt \"MS Shell Dlg 2\";")); 00344 QIcon icon; 00345 icon.addFile(QString::fromUtf8(":/sprites/imageShack_frog.png"), QSize(), QIcon::Normal, QIcon::Off); 00346 uploadNowButton->setIcon(icon); 00347 uploadNowButton->setIconSize(QSize(30, 30)); 00348 uploadNowButton->setPopupMode(QToolButton::DelayedPopup); 00349 uploadNowButton->setToolButtonStyle(Qt::ToolButtonTextBesideIcon); 00350 00351 horizontalLayout_2->addWidget(uploadNowButton); 00352 00353 horizontalSpacer_6 = new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum); 00354 00355 horizontalLayout_2->addItem(horizontalSpacer_6); 00356 00357 stackedUploadWidget->addWidget(page); 00358 page_2 = new QWidget(); 00359 page_2->setObjectName(QString::fromUtf8("page_2")); 00360 sizePolicy3.setHeightForWidth(page_2->sizePolicy().hasHeightForWidth()); 00361 page_2->setSizePolicy(sizePolicy3); 00362 page_2->setMinimumSize(QSize(0, 0)); 00363 horizontalLayoutWidget_2 = new QWidget(page_2); 00364 horizontalLayoutWidget_2->setObjectName(QString::fromUtf8("horizontalLayoutWidget_2")); 00365 horizontalLayoutWidget_2->setGeometry(QRect(0, 0, 691, 51)); 00366 horizontalLayout_5 = new QHBoxLayout(horizontalLayoutWidget_2); 00367 horizontalLayout_5->setObjectName(QString::fromUtf8("horizontalLayout_5")); 00368 horizontalLayout_5->setContentsMargins(0, 0, 0, 0); 00369 horizontalSpacer_10 = new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum); 00370 00371 horizontalLayout_5->addItem(horizontalSpacer_10); 00372 00373 progressLabel = new QLabel(horizontalLayoutWidget_2); 00374 progressLabel->setObjectName(QString::fromUtf8("progressLabel")); 00375 progressLabel->setMinimumSize(QSize(16, 16)); 00376 00377 horizontalLayout_5->addWidget(progressLabel); 00378 00379 label = new QLabel(horizontalLayoutWidget_2); 00380 label->setObjectName(QString::fromUtf8("label")); 00381 00382 horizontalLayout_5->addWidget(label); 00383 00384 cancelUploadButton = new QPushButton(horizontalLayoutWidget_2); 00385 cancelUploadButton->setObjectName(QString::fromUtf8("cancelUploadButton")); 00386 QIcon icon1; 00387 icon1.addFile(QString::fromUtf8(":/sprites/cancel.png"), QSize(), QIcon::Normal, QIcon::Off); 00388 cancelUploadButton->setIcon(icon1); 00389 00390 horizontalLayout_5->addWidget(cancelUploadButton); 00391 00392 horizontalSpacer_3 = new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum); 00393 00394 horizontalLayout_5->addItem(horizontalSpacer_3); 00395 00396 stackedUploadWidget->addWidget(page_2); 00397 00398 verticalLayout_2->addWidget(stackedUploadWidget); 00399 00400 line_3 = new QFrame(groupBox); 00401 line_3->setObjectName(QString::fromUtf8("line_3")); 00402 line_3->setFrameShape(QFrame::HLine); 00403 line_3->setFrameShadow(QFrame::Sunken); 00404 00405 verticalLayout_2->addWidget(line_3); 00406 00407 indicatorProgressBarsLayout = new QHBoxLayout(); 00408 indicatorProgressBarsLayout->setObjectName(QString::fromUtf8("indicatorProgressBarsLayout")); 00409 uploadProgressLabel = new QLabel(groupBox); 00410 uploadProgressLabel->setObjectName(QString::fromUtf8("uploadProgressLabel")); 00411 00412 indicatorProgressBarsLayout->addWidget(uploadProgressLabel); 00413 00414 uploadProgressBar = new QProgressBar(groupBox); 00415 uploadProgressBar->setObjectName(QString::fromUtf8("uploadProgressBar")); 00416 uploadProgressBar->setEnabled(true); 00417 uploadProgressBar->setValue(0); 00418 00419 indicatorProgressBarsLayout->addWidget(uploadProgressBar); 00420 00421 line_4 = new QFrame(groupBox); 00422 line_4->setObjectName(QString::fromUtf8("line_4")); 00423 line_4->setFrameShape(QFrame::VLine); 00424 line_4->setFrameShadow(QFrame::Sunken); 00425 00426 indicatorProgressBarsLayout->addWidget(line_4); 00427 00428 totalUploadProgressLabel_2 = new QLabel(groupBox); 00429 totalUploadProgressLabel_2->setObjectName(QString::fromUtf8("totalUploadProgressLabel_2")); 00430 00431 indicatorProgressBarsLayout->addWidget(totalUploadProgressLabel_2); 00432 00433 totalUploadProgressBar = new QProgressBar(groupBox); 00434 totalUploadProgressBar->setObjectName(QString::fromUtf8("totalUploadProgressBar")); 00435 totalUploadProgressBar->setValue(0); 00436 00437 indicatorProgressBarsLayout->addWidget(totalUploadProgressBar); 00438 00439 00440 verticalLayout_2->addLayout(indicatorProgressBarsLayout); 00441 00442 line_top->raise(); 00443 line_2->raise(); 00444 authenticationInstructionsLabel->raise(); 00445 line_bottom->raise(); 00446 stackedUploadWidget->raise(); 00447 line_3->raise(); 00448 uploadModeLabel->raise(); 00449 00450 verticalLayout->addWidget(groupBox); 00451 00452 00453 retranslateUi(ImageShackUploadWidget); 00454 00455 stackedUploadWidget->setCurrentIndex(1); 00456 00457 00458 QMetaObject::connectSlotsByName(ImageShackUploadWidget); 00459 } // setupUi 00460 00461 void retranslateUi(QWidget *ImageShackUploadWidget) 00462 { 00463 #ifndef QT_NO_TOOLTIP 00464 ImageShackUploadWidget->setToolTip(QApplication::translate("ImageShackUploadWidget", "Log in to use this features", 0, QApplication::UnicodeUTF8)); 00465 #endif // QT_NO_TOOLTIP 00466 imageShackLabel->setText(QString()); 00467 uploadModeLabel->setText(QApplication::translate("ImageShackUploadWidget", "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.0//EN\" \"http://www.w3.org/TR/REC-html40/strict.dtd\">\n" 00468 "<html><head><meta name=\"qrichtext\" content=\"1\" /><style type=\"text/css\">\n" 00469 "p, li { white-space: pre-wrap; }\n" 00470 "</style></head><body style=\" font-family:'MS Shell Dlg 2'; font-size:7.8pt; font-weight:400; font-style:normal;\">\n" 00471 "<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"><span style=\" font-size:8pt;\">Upload mode: </span><span style=\" font-size:8pt; color:#ff0000;\">anonymous</span></p></body></html>", 0, QApplication::UnicodeUTF8)); 00472 thumbnailPreviewLabel->setText(QString()); 00473 countFileLoaded->setText(QApplication::translate("ImageShackUploadWidget", "File loaded: %1", 0, QApplication::UnicodeUTF8)); 00474 resizeLabel->setText(QApplication::translate("ImageShackUploadWidget", "<b>Image resize:</b>", 0, QApplication::UnicodeUTF8)); 00475 resizeComboBox->clear(); 00476 resizeComboBox->insertItems(0, QStringList() 00477 << QApplication::translate("ImageShackUploadWidget", "Do not resize", 0, QApplication::UnicodeUTF8) 00478 << QApplication::translate("ImageShackUploadWidget", "100x100 (avatar)", 0, QApplication::UnicodeUTF8) 00479 << QApplication::translate("ImageShackUploadWidget", "150x150 (thumbnail)", 0, QApplication::UnicodeUTF8) 00480 << QApplication::translate("ImageShackUploadWidget", "320x320 (for websites and email)", 0, QApplication::UnicodeUTF8) 00481 << QApplication::translate("ImageShackUploadWidget", "640x640 (for message boards)", 0, QApplication::UnicodeUTF8) 00482 << QApplication::translate("ImageShackUploadWidget", "800x800 (12-inch monitor)", 0, QApplication::UnicodeUTF8) 00483 << QApplication::translate("ImageShackUploadWidget", "1024x1024 (15-inch monitor)", 0, QApplication::UnicodeUTF8) 00484 << QApplication::translate("ImageShackUploadWidget", "1280x1280 (19-inch monitor)", 0, QApplication::UnicodeUTF8) 00485 << QApplication::translate("ImageShackUploadWidget", "1600x1600 (21-inch monitor)", 0, QApplication::UnicodeUTF8) 00486 ); 00487 privacyLabel->setText(QApplication::translate("ImageShackUploadWidget", "<b>Privacy:</b>", 0, QApplication::UnicodeUTF8)); 00488 privacyPrivate->setText(QApplication::translate("ImageShackUploadWidget", "Private", 0, QApplication::UnicodeUTF8)); 00489 privacyPublic->setText(QApplication::translate("ImageShackUploadWidget", "Public", 0, QApplication::UnicodeUTF8)); 00490 tagsLabel->setText(QApplication::translate("ImageShackUploadWidget", "<b>Tags:</b>", 0, QApplication::UnicodeUTF8)); 00491 separateCommaLabel->setText(QApplication::translate("ImageShackUploadWidget", "Comma separated list", 0, QApplication::UnicodeUTF8)); 00492 authenticationInstructionsLabel->setText(QApplication::translate("ImageShackUploadWidget", "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.0//EN\" \"http://www.w3.org/TR/REC-html40/strict.dtd\">\n" 00493 "<html><head><meta name=\"qrichtext\" content=\"1\" /><style type=\"text/css\">\n" 00494 "p, li { white-space: pre-wrap; }\n" 00495 "</style></head><body style=\" font-family:'MS Shell Dlg 2'; font-size:7.8pt; font-weight:400; font-style:normal;\">\n" 00496 "<p align=\"center\" style=\" margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"><span style=\" font-size:8pt;\">Authentication required to set Privacy and Tags on your thumbnail</span></p>\n" 00497 "<p align=\"center\" style=\" margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"><a href=\"http://my.imageshack.us/registration\"><span style=\" font-size:8pt; text-decoration: underline; color:#0000ff;\">Sign in</span></a></p></body></html>", 0, QApplication::UnicodeUTF8)); 00498 uploadNowButton->setText(QApplication::translate("ImageShackUploadWidget", "Upload now", 0, QApplication::UnicodeUTF8)); 00499 progressLabel->setText(QString()); 00500 label->setText(QApplication::translate("ImageShackUploadWidget", "Upload in progress...", 0, QApplication::UnicodeUTF8)); 00501 cancelUploadButton->setText(QApplication::translate("ImageShackUploadWidget", "Cancel", 0, QApplication::UnicodeUTF8)); 00502 uploadProgressLabel->setText(QApplication::translate("ImageShackUploadWidget", "File upload progress:", 0, QApplication::UnicodeUTF8)); 00503 totalUploadProgressLabel_2->setText(QApplication::translate("ImageShackUploadWidget", "Total upload progress:", 0, QApplication::UnicodeUTF8)); 00504 } // retranslateUi 00505 00506 }; 00507 00508 namespace Ui { 00509 class ImageShackUploadWidget: public Ui_ImageShackUploadWidget {}; 00510 } // namespace Ui 00511 00512 QT_END_NAMESPACE 00513 00514 #endif // UI_IMAGESHACKUPLOADWIDGET_H