00001
00002
00003
00004
00005
00006
00007
00008
00009
00010 #ifndef UI_ABOUT_H
00011 #define UI_ABOUT_H
00012
00013 #include <Qt3Support/Q3MimeSourceFactory>
00014 #include <QtCore/QVariant>
00015 #include <QtGui/QAction>
00016 #include <QtGui/QApplication>
00017 #include <QtGui/QButtonGroup>
00018 #include <QtGui/QDialog>
00019 #include <QtGui/QHBoxLayout>
00020 #include <QtGui/QHeaderView>
00021 #include <QtGui/QLabel>
00022 #include <QtGui/QPushButton>
00023 #include <QtGui/QSpacerItem>
00024 #include <QtGui/QVBoxLayout>
00025
00026 QT_BEGIN_NAMESPACE
00027
00028 class Ui_AboutDlg
00029 {
00030 public:
00031 QVBoxLayout *vboxLayout;
00032 QHBoxLayout *hboxLayout;
00033 QSpacerItem *spacer5;
00034 QLabel *pixmapLabel1;
00035 QSpacerItem *spacer4;
00036 QLabel *versionLabel;
00037 QLabel *copyrightLabel;
00038 QSpacerItem *spacer3;
00039 QHBoxLayout *hboxLayout1;
00040 QSpacerItem *spacer2;
00041 QPushButton *okButton;
00042 QSpacerItem *spacer1;
00043
00044 void setupUi(QDialog *AboutDlg)
00045 {
00046 if (AboutDlg->objectName().isEmpty())
00047 AboutDlg->setObjectName(QString::fromUtf8("AboutDlg"));
00048 AboutDlg->resize(375, 250);
00049 QSizePolicy sizePolicy(static_cast<QSizePolicy::Policy>(5), static_cast<QSizePolicy::Policy>(5));
00050 sizePolicy.setHorizontalStretch(0);
00051 sizePolicy.setVerticalStretch(0);
00052 sizePolicy.setHeightForWidth(AboutDlg->sizePolicy().hasHeightForWidth());
00053 AboutDlg->setSizePolicy(sizePolicy);
00054 vboxLayout = new QVBoxLayout(AboutDlg);
00055 vboxLayout->setSpacing(6);
00056 vboxLayout->setContentsMargins(11, 11, 11, 11);
00057 vboxLayout->setObjectName(QString::fromUtf8("vboxLayout"));
00058 hboxLayout = new QHBoxLayout();
00059 hboxLayout->setSpacing(6);
00060 hboxLayout->setObjectName(QString::fromUtf8("hboxLayout"));
00061 spacer5 = new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
00062
00063 hboxLayout->addItem(spacer5);
00064
00065 pixmapLabel1 = new QLabel(AboutDlg);
00066 pixmapLabel1->setObjectName(QString::fromUtf8("pixmapLabel1"));
00067 pixmapLabel1->setPixmap(QPixmap(qPixmapFromMimeSource("logo.png")));
00068 pixmapLabel1->setScaledContents(true);
00069 pixmapLabel1->setWordWrap(false);
00070
00071 hboxLayout->addWidget(pixmapLabel1);
00072
00073 spacer4 = new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
00074
00075 hboxLayout->addItem(spacer4);
00076
00077
00078 vboxLayout->addLayout(hboxLayout);
00079
00080 versionLabel = new QLabel(AboutDlg);
00081 versionLabel->setObjectName(QString::fromUtf8("versionLabel"));
00082 QSizePolicy sizePolicy1(static_cast<QSizePolicy::Policy>(5), static_cast<QSizePolicy::Policy>(4));
00083 sizePolicy1.setHorizontalStretch(0);
00084 sizePolicy1.setVerticalStretch(0);
00085 sizePolicy1.setHeightForWidth(versionLabel->sizePolicy().hasHeightForWidth());
00086 versionLabel->setSizePolicy(sizePolicy1);
00087 versionLabel->setAlignment(Qt::AlignCenter);
00088 versionLabel->setWordWrap(false);
00089
00090 vboxLayout->addWidget(versionLabel);
00091
00092 copyrightLabel = new QLabel(AboutDlg);
00093 copyrightLabel->setObjectName(QString::fromUtf8("copyrightLabel"));
00094 sizePolicy1.setHeightForWidth(copyrightLabel->sizePolicy().hasHeightForWidth());
00095 copyrightLabel->setSizePolicy(sizePolicy1);
00096 copyrightLabel->setAlignment(Qt::AlignCenter);
00097 copyrightLabel->setWordWrap(false);
00098
00099 vboxLayout->addWidget(copyrightLabel);
00100
00101 spacer3 = new QSpacerItem(20, 40, QSizePolicy::Minimum, QSizePolicy::Expanding);
00102
00103 vboxLayout->addItem(spacer3);
00104
00105 hboxLayout1 = new QHBoxLayout();
00106 hboxLayout1->setSpacing(6);
00107 hboxLayout1->setObjectName(QString::fromUtf8("hboxLayout1"));
00108 spacer2 = new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
00109
00110 hboxLayout1->addItem(spacer2);
00111
00112 okButton = new QPushButton(AboutDlg);
00113 okButton->setObjectName(QString::fromUtf8("okButton"));
00114 okButton->setDefault(true);
00115
00116 hboxLayout1->addWidget(okButton);
00117
00118 spacer1 = new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
00119
00120 hboxLayout1->addItem(spacer1);
00121
00122
00123 vboxLayout->addLayout(hboxLayout1);
00124
00125
00126 retranslateUi(AboutDlg);
00127 QObject::connect(okButton, SIGNAL(clicked()), AboutDlg, SLOT(accept()));
00128
00129 QMetaObject::connectSlotsByName(AboutDlg);
00130 }
00131
00132 void retranslateUi(QDialog *AboutDlg)
00133 {
00134 AboutDlg->setWindowTitle(QApplication::translate("AboutDlg", "GraspIt!", 0, QApplication::UnicodeUTF8));
00135 versionLabel->setText(QApplication::translate("AboutDlg", "Version ", 0, QApplication::UnicodeUTF8));
00136 copyrightLabel->setText(QApplication::translate("AboutDlg", "Copyright (C) 2002 - 2009 Columbia University in the City of New York. All rights reserved.", 0, QApplication::UnicodeUTF8));
00137 okButton->setText(QApplication::translate("AboutDlg", "OK", 0, QApplication::UnicodeUTF8));
00138 }
00139
00140 };
00141
00142 namespace Ui {
00143 class AboutDlg: public Ui_AboutDlg {};
00144 }
00145
00146 QT_END_NAMESPACE
00147
00148 #endif // UI_ABOUT_H