Thumbnail me
3.0
|
00001 /******************************************************************************** 00002 ** Form generated from reading UI file 'ImageShackResultWidget.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_IMAGESHACKRESULTWIDGET_H 00011 #define UI_IMAGESHACKRESULTWIDGET_H 00012 00013 #include <QtCore/QVariant> 00014 #include <QtGui/QAction> 00015 #include <QtGui/QApplication> 00016 #include <QtGui/QButtonGroup> 00017 #include <QtGui/QDialog> 00018 #include <QtGui/QFrame> 00019 #include <QtGui/QGridLayout> 00020 #include <QtGui/QHBoxLayout> 00021 #include <QtGui/QHeaderView> 00022 #include <QtGui/QLabel> 00023 #include <QtGui/QPushButton> 00024 #include <QtGui/QSpacerItem> 00025 #include <QtGui/QToolButton> 00026 #include <QtGui/QVBoxLayout> 00027 #include "copyablelineedit.h" 00028 00029 QT_BEGIN_NAMESPACE 00030 00031 class Ui_ImageShackResultWidget 00032 { 00033 public: 00034 QVBoxLayout *verticalLayout; 00035 QGridLayout *gridLayout_2; 00036 QSpacerItem *horizontalSpacer_6; 00037 QLabel *thumbnailPreviewLabel; 00038 QSpacerItem *horizontalSpacer_7; 00039 QLabel *count; 00040 QHBoxLayout *horizontalLayout_2; 00041 QSpacerItem *horizontalSpacer_4; 00042 QToolButton *prev; 00043 QToolButton *next; 00044 QSpacerItem *horizontalSpacer_3; 00045 QFrame *line; 00046 QGridLayout *gridLayout; 00047 CopyableLineEdit *directLink; 00048 CopyableLineEdit *shortLink; 00049 CopyableLineEdit *hotlink; 00050 CopyableLineEdit *thumbnailLink; 00051 CopyableLineEdit *forumHotlink; 00052 CopyableLineEdit *forumThumbnail; 00053 CopyableLineEdit *forumHotlink2; 00054 CopyableLineEdit *forumThumbnail2; 00055 QHBoxLayout *horizontalLayout; 00056 QSpacerItem *horizontalSpacer; 00057 QPushButton *close; 00058 QSpacerItem *horizontalSpacer_2; 00059 00060 void setupUi(QDialog *ImageShackResultWidget) 00061 { 00062 if (ImageShackResultWidget->objectName().isEmpty()) 00063 ImageShackResultWidget->setObjectName(QString::fromUtf8("ImageShackResultWidget")); 00064 ImageShackResultWidget->resize(497, 573); 00065 QSizePolicy sizePolicy(QSizePolicy::Preferred, QSizePolicy::Minimum); 00066 sizePolicy.setHorizontalStretch(0); 00067 sizePolicy.setVerticalStretch(0); 00068 sizePolicy.setHeightForWidth(ImageShackResultWidget->sizePolicy().hasHeightForWidth()); 00069 ImageShackResultWidget->setSizePolicy(sizePolicy); 00070 verticalLayout = new QVBoxLayout(ImageShackResultWidget); 00071 verticalLayout->setObjectName(QString::fromUtf8("verticalLayout")); 00072 verticalLayout->setSizeConstraint(QLayout::SetFixedSize); 00073 gridLayout_2 = new QGridLayout(); 00074 gridLayout_2->setObjectName(QString::fromUtf8("gridLayout_2")); 00075 horizontalSpacer_6 = new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum); 00076 00077 gridLayout_2->addItem(horizontalSpacer_6, 0, 0, 1, 1); 00078 00079 thumbnailPreviewLabel = new QLabel(ImageShackResultWidget); 00080 thumbnailPreviewLabel->setObjectName(QString::fromUtf8("thumbnailPreviewLabel")); 00081 thumbnailPreviewLabel->setEnabled(true); 00082 QSizePolicy sizePolicy1(QSizePolicy::Maximum, QSizePolicy::Maximum); 00083 sizePolicy1.setHorizontalStretch(0); 00084 sizePolicy1.setVerticalStretch(0); 00085 sizePolicy1.setHeightForWidth(thumbnailPreviewLabel->sizePolicy().hasHeightForWidth()); 00086 thumbnailPreviewLabel->setSizePolicy(sizePolicy1); 00087 thumbnailPreviewLabel->setMinimumSize(QSize(150, 150)); 00088 thumbnailPreviewLabel->setMaximumSize(QSize(150, 150)); 00089 thumbnailPreviewLabel->setAutoFillBackground(false); 00090 thumbnailPreviewLabel->setFrameShape(QFrame::Box); 00091 thumbnailPreviewLabel->setFrameShadow(QFrame::Raised); 00092 thumbnailPreviewLabel->setLineWidth(2); 00093 thumbnailPreviewLabel->setScaledContents(true); 00094 thumbnailPreviewLabel->setAlignment(Qt::AlignCenter); 00095 00096 gridLayout_2->addWidget(thumbnailPreviewLabel, 0, 1, 1, 1); 00097 00098 horizontalSpacer_7 = new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum); 00099 00100 gridLayout_2->addItem(horizontalSpacer_7, 0, 2, 1, 1); 00101 00102 count = new QLabel(ImageShackResultWidget); 00103 count->setObjectName(QString::fromUtf8("count")); 00104 QSizePolicy sizePolicy2(QSizePolicy::Minimum, QSizePolicy::Preferred); 00105 sizePolicy2.setHorizontalStretch(0); 00106 sizePolicy2.setVerticalStretch(0); 00107 sizePolicy2.setHeightForWidth(count->sizePolicy().hasHeightForWidth()); 00108 count->setSizePolicy(sizePolicy2); 00109 count->setAlignment(Qt::AlignCenter); 00110 00111 gridLayout_2->addWidget(count, 1, 1, 1, 1); 00112 00113 horizontalLayout_2 = new QHBoxLayout(); 00114 horizontalLayout_2->setObjectName(QString::fromUtf8("horizontalLayout_2")); 00115 horizontalSpacer_4 = new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum); 00116 00117 horizontalLayout_2->addItem(horizontalSpacer_4); 00118 00119 prev = new QToolButton(ImageShackResultWidget); 00120 prev->setObjectName(QString::fromUtf8("prev")); 00121 prev->setEnabled(false); 00122 prev->setText(QString::fromUtf8("<")); 00123 00124 horizontalLayout_2->addWidget(prev); 00125 00126 next = new QToolButton(ImageShackResultWidget); 00127 next->setObjectName(QString::fromUtf8("next")); 00128 next->setEnabled(false); 00129 next->setText(QString::fromUtf8(">")); 00130 00131 horizontalLayout_2->addWidget(next); 00132 00133 horizontalSpacer_3 = new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum); 00134 00135 horizontalLayout_2->addItem(horizontalSpacer_3); 00136 00137 00138 gridLayout_2->addLayout(horizontalLayout_2, 2, 1, 1, 1); 00139 00140 00141 verticalLayout->addLayout(gridLayout_2); 00142 00143 line = new QFrame(ImageShackResultWidget); 00144 line->setObjectName(QString::fromUtf8("line")); 00145 line->setFrameShape(QFrame::HLine); 00146 line->setFrameShadow(QFrame::Sunken); 00147 00148 verticalLayout->addWidget(line); 00149 00150 gridLayout = new QGridLayout(); 00151 gridLayout->setObjectName(QString::fromUtf8("gridLayout")); 00152 directLink = new CopyableLineEdit(ImageShackResultWidget); 00153 directLink->setObjectName(QString::fromUtf8("directLink")); 00154 QSizePolicy sizePolicy3(QSizePolicy::Preferred, QSizePolicy::Maximum); 00155 sizePolicy3.setHorizontalStretch(0); 00156 sizePolicy3.setVerticalStretch(0); 00157 sizePolicy3.setHeightForWidth(directLink->sizePolicy().hasHeightForWidth()); 00158 directLink->setSizePolicy(sizePolicy3); 00159 directLink->setMinimumSize(QSize(0, 55)); 00160 00161 gridLayout->addWidget(directLink, 0, 1, 1, 1); 00162 00163 shortLink = new CopyableLineEdit(ImageShackResultWidget); 00164 shortLink->setObjectName(QString::fromUtf8("shortLink")); 00165 sizePolicy3.setHeightForWidth(shortLink->sizePolicy().hasHeightForWidth()); 00166 shortLink->setSizePolicy(sizePolicy3); 00167 shortLink->setMinimumSize(QSize(0, 55)); 00168 00169 gridLayout->addWidget(shortLink, 0, 0, 1, 1); 00170 00171 hotlink = new CopyableLineEdit(ImageShackResultWidget); 00172 hotlink->setObjectName(QString::fromUtf8("hotlink")); 00173 sizePolicy3.setHeightForWidth(hotlink->sizePolicy().hasHeightForWidth()); 00174 hotlink->setSizePolicy(sizePolicy3); 00175 hotlink->setMinimumSize(QSize(0, 55)); 00176 00177 gridLayout->addWidget(hotlink, 1, 0, 1, 1); 00178 00179 thumbnailLink = new CopyableLineEdit(ImageShackResultWidget); 00180 thumbnailLink->setObjectName(QString::fromUtf8("thumbnailLink")); 00181 sizePolicy3.setHeightForWidth(thumbnailLink->sizePolicy().hasHeightForWidth()); 00182 thumbnailLink->setSizePolicy(sizePolicy3); 00183 thumbnailLink->setMinimumSize(QSize(0, 55)); 00184 00185 gridLayout->addWidget(thumbnailLink, 1, 1, 1, 1); 00186 00187 forumHotlink = new CopyableLineEdit(ImageShackResultWidget); 00188 forumHotlink->setObjectName(QString::fromUtf8("forumHotlink")); 00189 sizePolicy3.setHeightForWidth(forumHotlink->sizePolicy().hasHeightForWidth()); 00190 forumHotlink->setSizePolicy(sizePolicy3); 00191 forumHotlink->setMinimumSize(QSize(0, 55)); 00192 00193 gridLayout->addWidget(forumHotlink, 2, 0, 1, 1); 00194 00195 forumThumbnail = new CopyableLineEdit(ImageShackResultWidget); 00196 forumThumbnail->setObjectName(QString::fromUtf8("forumThumbnail")); 00197 sizePolicy3.setHeightForWidth(forumThumbnail->sizePolicy().hasHeightForWidth()); 00198 forumThumbnail->setSizePolicy(sizePolicy3); 00199 forumThumbnail->setMinimumSize(QSize(0, 55)); 00200 00201 gridLayout->addWidget(forumThumbnail, 2, 1, 1, 1); 00202 00203 forumHotlink2 = new CopyableLineEdit(ImageShackResultWidget); 00204 forumHotlink2->setObjectName(QString::fromUtf8("forumHotlink2")); 00205 sizePolicy3.setHeightForWidth(forumHotlink2->sizePolicy().hasHeightForWidth()); 00206 forumHotlink2->setSizePolicy(sizePolicy3); 00207 forumHotlink2->setMinimumSize(QSize(0, 55)); 00208 00209 gridLayout->addWidget(forumHotlink2, 3, 0, 1, 1); 00210 00211 forumThumbnail2 = new CopyableLineEdit(ImageShackResultWidget); 00212 forumThumbnail2->setObjectName(QString::fromUtf8("forumThumbnail2")); 00213 sizePolicy3.setHeightForWidth(forumThumbnail2->sizePolicy().hasHeightForWidth()); 00214 forumThumbnail2->setSizePolicy(sizePolicy3); 00215 forumThumbnail2->setMinimumSize(QSize(0, 55)); 00216 00217 gridLayout->addWidget(forumThumbnail2, 3, 1, 1, 1); 00218 00219 00220 verticalLayout->addLayout(gridLayout); 00221 00222 horizontalLayout = new QHBoxLayout(); 00223 horizontalLayout->setObjectName(QString::fromUtf8("horizontalLayout")); 00224 horizontalSpacer = new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum); 00225 00226 horizontalLayout->addItem(horizontalSpacer); 00227 00228 close = new QPushButton(ImageShackResultWidget); 00229 close->setObjectName(QString::fromUtf8("close")); 00230 QSizePolicy sizePolicy4(QSizePolicy::Maximum, QSizePolicy::Fixed); 00231 sizePolicy4.setHorizontalStretch(0); 00232 sizePolicy4.setVerticalStretch(0); 00233 sizePolicy4.setHeightForWidth(close->sizePolicy().hasHeightForWidth()); 00234 close->setSizePolicy(sizePolicy4); 00235 close->setLayoutDirection(Qt::LeftToRight); 00236 close->setDefault(true); 00237 00238 horizontalLayout->addWidget(close); 00239 00240 horizontalSpacer_2 = new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum); 00241 00242 horizontalLayout->addItem(horizontalSpacer_2); 00243 00244 00245 verticalLayout->addLayout(horizontalLayout); 00246 00247 00248 retranslateUi(ImageShackResultWidget); 00249 QObject::connect(prev, SIGNAL(clicked()), ImageShackResultWidget, SLOT(prev())); 00250 QObject::connect(next, SIGNAL(clicked()), ImageShackResultWidget, SLOT(next())); 00251 QObject::connect(close, SIGNAL(clicked()), ImageShackResultWidget, SLOT(done())); 00252 00253 QMetaObject::connectSlotsByName(ImageShackResultWidget); 00254 } // setupUi 00255 00256 void retranslateUi(QDialog *ImageShackResultWidget) 00257 { 00258 ImageShackResultWidget->setWindowTitle(QApplication::translate("ImageShackResultWidget", "Uploaded files", 0, QApplication::UnicodeUTF8)); 00259 thumbnailPreviewLabel->setText(QString()); 00260 count->setText(QApplication::translate("ImageShackResultWidget", "File 1 of 1", 0, QApplication::UnicodeUTF8)); 00261 close->setText(QApplication::translate("ImageShackResultWidget", "Close", 0, QApplication::UnicodeUTF8)); 00262 } // retranslateUi 00263 00264 }; 00265 00266 namespace Ui { 00267 class ImageShackResultWidget: public Ui_ImageShackResultWidget {}; 00268 } // namespace Ui 00269 00270 QT_END_NAMESPACE 00271 00272 #endif // UI_IMAGESHACKRESULTWIDGET_H