00001
00002
00003
00004
00005
00006
00007
00008
00009
00010 #ifndef UI_WINNERDIALOG_H
00011 #define UI_WINNERDIALOG_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/QSpacerItem>
00024
00025 QT_BEGIN_NAMESPACE
00026
00027 class Ui_WinnerDialog
00028 {
00029 public:
00030 QGridLayout *gridLayout;
00031 QHBoxLayout *horizontalLayout;
00032 QLabel *labelLogo1;
00033 QSpacerItem *horizontalSpacer_4;
00034 QLabel *labelTeam1;
00035 QLabel *labelWinner;
00036 QFrame *line_2;
00037
00038 void setupUi(QDialog *WinnerDialog)
00039 {
00040 if (WinnerDialog->objectName().isEmpty())
00041 WinnerDialog->setObjectName(QString::fromUtf8("WinnerDialog"));
00042 WinnerDialog->setWindowModality(Qt::NonModal);
00043 WinnerDialog->setEnabled(true);
00044 WinnerDialog->resize(126, 110);
00045 QSizePolicy sizePolicy(QSizePolicy::Minimum, QSizePolicy::Preferred);
00046 sizePolicy.setHorizontalStretch(0);
00047 sizePolicy.setVerticalStretch(0);
00048 sizePolicy.setHeightForWidth(WinnerDialog->sizePolicy().hasHeightForWidth());
00049 WinnerDialog->setSizePolicy(sizePolicy);
00050 QPalette palette;
00051 QBrush brush(QColor(255, 255, 255, 255));
00052 brush.setStyle(Qt::SolidPattern);
00053 palette.setBrush(QPalette::Active, QPalette::WindowText, brush);
00054 palette.setBrush(QPalette::Active, QPalette::Base, brush);
00055 QBrush brush1(QColor(0, 0, 0, 255));
00056 brush1.setStyle(Qt::SolidPattern);
00057 palette.setBrush(QPalette::Active, QPalette::Window, brush1);
00058 palette.setBrush(QPalette::Inactive, QPalette::WindowText, brush);
00059 palette.setBrush(QPalette::Inactive, QPalette::Base, brush);
00060 palette.setBrush(QPalette::Inactive, QPalette::Window, brush1);
00061 QBrush brush2(QColor(106, 104, 100, 255));
00062 brush2.setStyle(Qt::SolidPattern);
00063 palette.setBrush(QPalette::Disabled, QPalette::WindowText, brush2);
00064 palette.setBrush(QPalette::Disabled, QPalette::Base, brush1);
00065 palette.setBrush(QPalette::Disabled, QPalette::Window, brush1);
00066 WinnerDialog->setPalette(palette);
00067 QFont font;
00068 font.setKerning(true);
00069 WinnerDialog->setFont(font);
00070 WinnerDialog->setContextMenuPolicy(Qt::NoContextMenu);
00071 WinnerDialog->setWindowTitle(QString::fromUtf8("Enter Game Result"));
00072 WinnerDialog->setSizeGripEnabled(false);
00073 WinnerDialog->setModal(false);
00074 gridLayout = new QGridLayout(WinnerDialog);
00075 gridLayout->setObjectName(QString::fromUtf8("gridLayout"));
00076 horizontalLayout = new QHBoxLayout();
00077 horizontalLayout->setObjectName(QString::fromUtf8("horizontalLayout"));
00078 labelLogo1 = new QLabel(WinnerDialog);
00079 labelLogo1->setObjectName(QString::fromUtf8("labelLogo1"));
00080 sizePolicy.setHeightForWidth(labelLogo1->sizePolicy().hasHeightForWidth());
00081 labelLogo1->setSizePolicy(sizePolicy);
00082 QFont font1;
00083 font1.setFamily(QString::fromUtf8("Consolas"));
00084 font1.setPointSize(15);
00085 labelLogo1->setFont(font1);
00086
00087 horizontalLayout->addWidget(labelLogo1);
00088
00089 horizontalSpacer_4 = new QSpacerItem(20, 20, QSizePolicy::Fixed, QSizePolicy::Minimum);
00090
00091 horizontalLayout->addItem(horizontalSpacer_4);
00092
00093 labelTeam1 = new QLabel(WinnerDialog);
00094 labelTeam1->setObjectName(QString::fromUtf8("labelTeam1"));
00095 sizePolicy.setHeightForWidth(labelTeam1->sizePolicy().hasHeightForWidth());
00096 labelTeam1->setSizePolicy(sizePolicy);
00097 QFont font2;
00098 font2.setFamily(QString::fromUtf8("Consolas"));
00099 font2.setPointSize(24);
00100 labelTeam1->setFont(font2);
00101
00102 horizontalLayout->addWidget(labelTeam1);
00103
00104
00105 gridLayout->addLayout(horizontalLayout, 2, 0, 1, 2);
00106
00107 labelWinner = new QLabel(WinnerDialog);
00108 labelWinner->setObjectName(QString::fromUtf8("labelWinner"));
00109 QSizePolicy sizePolicy1(QSizePolicy::Minimum, QSizePolicy::Preferred);
00110 sizePolicy1.setHorizontalStretch(1);
00111 sizePolicy1.setVerticalStretch(0);
00112 sizePolicy1.setHeightForWidth(labelWinner->sizePolicy().hasHeightForWidth());
00113 labelWinner->setSizePolicy(sizePolicy1);
00114 QPalette palette1;
00115 QBrush brush3(QColor(255, 0, 0, 255));
00116 brush3.setStyle(Qt::SolidPattern);
00117 palette1.setBrush(QPalette::Active, QPalette::WindowText, brush3);
00118 palette1.setBrush(QPalette::Inactive, QPalette::WindowText, brush3);
00119 palette1.setBrush(QPalette::Disabled, QPalette::WindowText, brush2);
00120 labelWinner->setPalette(palette1);
00121 QFont font3;
00122 font3.setFamily(QString::fromUtf8("Consolas"));
00123 font3.setPointSize(25);
00124 labelWinner->setFont(font3);
00125 labelWinner->setAlignment(Qt::AlignCenter);
00126
00127 gridLayout->addWidget(labelWinner, 0, 0, 1, 2);
00128
00129 line_2 = new QFrame(WinnerDialog);
00130 line_2->setObjectName(QString::fromUtf8("line_2"));
00131 line_2->setFrameShape(QFrame::HLine);
00132 line_2->setFrameShadow(QFrame::Sunken);
00133
00134 gridLayout->addWidget(line_2, 1, 0, 1, 2);
00135
00136
00137 retranslateUi(WinnerDialog);
00138
00139 QMetaObject::connectSlotsByName(WinnerDialog);
00140 }
00141
00142 void retranslateUi(QDialog *WinnerDialog)
00143 {
00144 labelWinner->setText(QApplication::translate("WinnerDialog", "WINNER", 0, QApplication::UnicodeUTF8));
00145 Q_UNUSED(WinnerDialog);
00146 }
00147
00148 };
00149
00150 namespace Ui {
00151 class WinnerDialog: public Ui_WinnerDialog {};
00152 }
00153
00154 QT_END_NAMESPACE
00155
00156 #endif // UI_WINNERDIALOG_H