Thumbnail me  3.0
D:/Thumbnail/Thumbnailme/ui_copyablelineedit.h
00001 /********************************************************************************
00002 ** Form generated from reading UI file 'copyablelineedit.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_COPYABLELINEEDIT_H
00011 #define UI_COPYABLELINEEDIT_H
00012 
00013 #include <QtCore/QVariant>
00014 #include <QtGui/QAction>
00015 #include <QtGui/QApplication>
00016 #include <QtGui/QButtonGroup>
00017 #include <QtGui/QHBoxLayout>
00018 #include <QtGui/QHeaderView>
00019 #include <QtGui/QLabel>
00020 #include <QtGui/QToolButton>
00021 #include <QtGui/QVBoxLayout>
00022 #include <QtGui/QWidget>
00023 #include "clickablelineedit.h"
00024 
00025 QT_BEGIN_NAMESPACE
00026 
00027 class Ui_CopyableLineEdit
00028 {
00029 public:
00030     QVBoxLayout *verticalLayout;
00031     QLabel *title;
00032     QHBoxLayout *horizontalLayout;
00033     ClickableLineEdit *text;
00034     QToolButton *copy;
00035 
00036     void setupUi(QWidget *CopyableLineEdit)
00037     {
00038         if (CopyableLineEdit->objectName().isEmpty())
00039             CopyableLineEdit->setObjectName(QString::fromUtf8("CopyableLineEdit"));
00040         CopyableLineEdit->resize(443, 56);
00041         CopyableLineEdit->setMinimumSize(QSize(0, 50));
00042         CopyableLineEdit->setWindowTitle(QString::fromUtf8("Form"));
00043         verticalLayout = new QVBoxLayout(CopyableLineEdit);
00044         verticalLayout->setObjectName(QString::fromUtf8("verticalLayout"));
00045         title = new QLabel(CopyableLineEdit);
00046         title->setObjectName(QString::fromUtf8("title"));
00047         QSizePolicy sizePolicy(QSizePolicy::Preferred, QSizePolicy::Maximum);
00048         sizePolicy.setHorizontalStretch(0);
00049         sizePolicy.setVerticalStretch(0);
00050         sizePolicy.setHeightForWidth(title->sizePolicy().hasHeightForWidth());
00051         title->setSizePolicy(sizePolicy);
00052         QFont font;
00053         font.setBold(true);
00054         font.setWeight(75);
00055         title->setFont(font);
00056         title->setText(QString::fromUtf8("Content:"));
00057 
00058         verticalLayout->addWidget(title);
00059 
00060         horizontalLayout = new QHBoxLayout();
00061         horizontalLayout->setObjectName(QString::fromUtf8("horizontalLayout"));
00062         text = new ClickableLineEdit(CopyableLineEdit);
00063         text->setObjectName(QString::fromUtf8("text"));
00064         QSizePolicy sizePolicy1(QSizePolicy::Minimum, QSizePolicy::MinimumExpanding);
00065         sizePolicy1.setHorizontalStretch(0);
00066         sizePolicy1.setVerticalStretch(0);
00067         sizePolicy1.setHeightForWidth(text->sizePolicy().hasHeightForWidth());
00068         text->setSizePolicy(sizePolicy1);
00069         text->setMinimumSize(QSize(0, 30));
00070         QFont font1;
00071         font1.setFamily(QString::fromUtf8("Arial"));
00072         font1.setPointSize(10);
00073         text->setFont(font1);
00074         text->setReadOnly(true);
00075 
00076         horizontalLayout->addWidget(text);
00077 
00078         copy = new QToolButton(CopyableLineEdit);
00079         copy->setObjectName(QString::fromUtf8("copy"));
00080         QSizePolicy sizePolicy2(QSizePolicy::Fixed, QSizePolicy::Fixed);
00081         sizePolicy2.setHorizontalStretch(0);
00082         sizePolicy2.setVerticalStretch(0);
00083         sizePolicy2.setHeightForWidth(copy->sizePolicy().hasHeightForWidth());
00084         copy->setSizePolicy(sizePolicy2);
00085         copy->setMinimumSize(QSize(25, 25));
00086         QIcon icon;
00087         icon.addFile(QString::fromUtf8(":/sprites/run.png"), QSize(), QIcon::Normal, QIcon::Off);
00088         copy->setIcon(icon);
00089 
00090         horizontalLayout->addWidget(copy);
00091 
00092 
00093         verticalLayout->addLayout(horizontalLayout);
00094 
00095 
00096         retranslateUi(CopyableLineEdit);
00097         QObject::connect(text, SIGNAL(clicked()), CopyableLineEdit, SLOT(select()));
00098         QObject::connect(copy, SIGNAL(clicked()), CopyableLineEdit, SLOT(copy()));
00099 
00100         QMetaObject::connectSlotsByName(CopyableLineEdit);
00101     } // setupUi
00102 
00103     void retranslateUi(QWidget *CopyableLineEdit)
00104     {
00105 #ifndef QT_NO_TOOLTIP
00106         copy->setToolTip(QApplication::translate("CopyableLineEdit", "Copy to clipboard", 0, QApplication::UnicodeUTF8));
00107 #endif // QT_NO_TOOLTIP
00108         copy->setText(QString());
00109         Q_UNUSED(CopyableLineEdit);
00110     } // retranslateUi
00111 
00112 };
00113 
00114 namespace Ui {
00115     class CopyableLineEdit: public Ui_CopyableLineEdit {};
00116 } // namespace Ui
00117 
00118 QT_END_NAMESPACE
00119 
00120 #endif // UI_COPYABLELINEEDIT_H
 All Classes Files Functions Enumerations