00001 #include <kdialog.h>
00002 #include <klocale.h>
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013 #ifndef UI_PLAYERSTATUSFORM_H
00014 #define UI_PLAYERSTATUSFORM_H
00015
00016 #include <QtCore/QVariant>
00017 #include <QtGui/QAction>
00018 #include <QtGui/QApplication>
00019 #include <QtGui/QButtonGroup>
00020 #include <QtGui/QFrame>
00021 #include <QtGui/QGridLayout>
00022 #include <QtGui/QHBoxLayout>
00023 #include <QtGui/QLabel>
00024 #include <QtGui/QSpacerItem>
00025 #include <QtGui/QVBoxLayout>
00026 #include <QtGui/QWidget>
00027
00028 class Ui_PlayerStatusForm
00029 {
00030 public:
00031 QFrame *frameStatus;
00032 QGridLayout *gridLayout;
00033 QFrame *frame;
00034 QHBoxLayout *hboxLayout;
00035 QLabel *labelPointsName;
00036 QLabel *labelPoints;
00037 QFrame *frameOverall;
00038 QGridLayout *gridLayout1;
00039 QLabel *labelGames;
00040 QLabel *labelScoreName;
00041 QLabel *labelGamesName;
00042 QLabel *labelScore;
00043 QLabel *labelName;
00044 QVBoxLayout *vboxLayout;
00045 QLabel *imageTrump;
00046 QLabel *imageInput;
00047
00048 void setupUi(QWidget *PlayerStatusForm)
00049 {
00050 if (PlayerStatusForm->objectName().isEmpty())
00051 PlayerStatusForm->setObjectName(QString::fromUtf8("PlayerStatusForm"));
00052 QSize size(258, 215);
00053 size = size.expandedTo(PlayerStatusForm->minimumSizeHint());
00054 PlayerStatusForm->resize(size);
00055 QSizePolicy sizePolicy(static_cast<QSizePolicy::Policy>(1), static_cast<QSizePolicy::Policy>(1));
00056 sizePolicy.setHorizontalStretch(0);
00057 sizePolicy.setVerticalStretch(0);
00058 sizePolicy.setHeightForWidth(PlayerStatusForm->sizePolicy().hasHeightForWidth());
00059 PlayerStatusForm->setSizePolicy(sizePolicy);
00060 frameStatus = new QFrame(PlayerStatusForm);
00061 frameStatus->setObjectName(QString::fromUtf8("frameStatus"));
00062 frameStatus->setGeometry(QRect(10, 10, 241, 191));
00063 sizePolicy.setHeightForWidth(frameStatus->sizePolicy().hasHeightForWidth());
00064 frameStatus->setSizePolicy(sizePolicy);
00065 QPalette palette;
00066 palette.setColor(QPalette::Active, static_cast<QPalette::ColorRole>(0), QColor(0, 0, 0));
00067 palette.setColor(QPalette::Active, static_cast<QPalette::ColorRole>(1), QColor(221, 223, 228));
00068 palette.setColor(QPalette::Active, static_cast<QPalette::ColorRole>(2), QColor(255, 255, 255));
00069 palette.setColor(QPalette::Active, static_cast<QPalette::ColorRole>(3), QColor(255, 255, 255));
00070 palette.setColor(QPalette::Active, static_cast<QPalette::ColorRole>(4), QColor(85, 85, 85));
00071 palette.setColor(QPalette::Active, static_cast<QPalette::ColorRole>(5), QColor(199, 199, 199));
00072 palette.setColor(QPalette::Active, static_cast<QPalette::ColorRole>(6), QColor(0, 0, 0));
00073 palette.setColor(QPalette::Active, static_cast<QPalette::ColorRole>(7), QColor(255, 255, 255));
00074 palette.setColor(QPalette::Active, static_cast<QPalette::ColorRole>(8), QColor(0, 0, 0));
00075 palette.setColor(QPalette::Active, static_cast<QPalette::ColorRole>(9), QColor(255, 255, 255));
00076 palette.setColor(QPalette::Active, static_cast<QPalette::ColorRole>(10), QColor(50, 50, 170));
00077 palette.setColor(QPalette::Active, static_cast<QPalette::ColorRole>(11), QColor(0, 0, 0));
00078 palette.setColor(QPalette::Active, static_cast<QPalette::ColorRole>(12), QColor(103, 141, 178));
00079 palette.setColor(QPalette::Active, static_cast<QPalette::ColorRole>(13), QColor(255, 255, 255));
00080 palette.setColor(QPalette::Active, static_cast<QPalette::ColorRole>(14), QColor(0, 0, 238));
00081 palette.setColor(QPalette::Active, static_cast<QPalette::ColorRole>(15), QColor(82, 24, 139));
00082 palette.setColor(QPalette::Active, static_cast<QPalette::ColorRole>(16), QColor(232, 232, 232));
00083 palette.setColor(QPalette::Inactive, static_cast<QPalette::ColorRole>(0), QColor(0, 0, 0));
00084 palette.setColor(QPalette::Inactive, static_cast<QPalette::ColorRole>(1), QColor(221, 223, 228));
00085 palette.setColor(QPalette::Inactive, static_cast<QPalette::ColorRole>(2), QColor(255, 255, 255));
00086 palette.setColor(QPalette::Inactive, static_cast<QPalette::ColorRole>(3), QColor(255, 255, 255));
00087 palette.setColor(QPalette::Inactive, static_cast<QPalette::ColorRole>(4), QColor(85, 85, 85));
00088 palette.setColor(QPalette::Inactive, static_cast<QPalette::ColorRole>(5), QColor(199, 199, 199));
00089 palette.setColor(QPalette::Inactive, static_cast<QPalette::ColorRole>(6), QColor(0, 0, 0));
00090 palette.setColor(QPalette::Inactive, static_cast<QPalette::ColorRole>(7), QColor(255, 255, 255));
00091 palette.setColor(QPalette::Inactive, static_cast<QPalette::ColorRole>(8), QColor(0, 0, 0));
00092 palette.setColor(QPalette::Inactive, static_cast<QPalette::ColorRole>(9), QColor(255, 255, 255));
00093 palette.setColor(QPalette::Inactive, static_cast<QPalette::ColorRole>(10), QColor(50, 50, 170));
00094 palette.setColor(QPalette::Inactive, static_cast<QPalette::ColorRole>(11), QColor(0, 0, 0));
00095 palette.setColor(QPalette::Inactive, static_cast<QPalette::ColorRole>(12), QColor(103, 141, 178));
00096 palette.setColor(QPalette::Inactive, static_cast<QPalette::ColorRole>(13), QColor(255, 255, 255));
00097 palette.setColor(QPalette::Inactive, static_cast<QPalette::ColorRole>(14), QColor(0, 0, 238));
00098 palette.setColor(QPalette::Inactive, static_cast<QPalette::ColorRole>(15), QColor(82, 24, 139));
00099 palette.setColor(QPalette::Inactive, static_cast<QPalette::ColorRole>(16), QColor(232, 232, 232));
00100 palette.setColor(QPalette::Disabled, static_cast<QPalette::ColorRole>(0), QColor(128, 128, 128));
00101 palette.setColor(QPalette::Disabled, static_cast<QPalette::ColorRole>(1), QColor(221, 223, 228));
00102 palette.setColor(QPalette::Disabled, static_cast<QPalette::ColorRole>(2), QColor(255, 255, 255));
00103 palette.setColor(QPalette::Disabled, static_cast<QPalette::ColorRole>(3), QColor(255, 255, 255));
00104 palette.setColor(QPalette::Disabled, static_cast<QPalette::ColorRole>(4), QColor(85, 85, 85));
00105 palette.setColor(QPalette::Disabled, static_cast<QPalette::ColorRole>(5), QColor(199, 199, 199));
00106 palette.setColor(QPalette::Disabled, static_cast<QPalette::ColorRole>(6), QColor(199, 199, 199));
00107 palette.setColor(QPalette::Disabled, static_cast<QPalette::ColorRole>(7), QColor(255, 255, 255));
00108 palette.setColor(QPalette::Disabled, static_cast<QPalette::ColorRole>(8), QColor(128, 128, 128));
00109 palette.setColor(QPalette::Disabled, static_cast<QPalette::ColorRole>(9), QColor(50, 50, 170));
00110 palette.setColor(QPalette::Disabled, static_cast<QPalette::ColorRole>(10), QColor(50, 50, 170));
00111 palette.setColor(QPalette::Disabled, static_cast<QPalette::ColorRole>(11), QColor(0, 0, 0));
00112 palette.setColor(QPalette::Disabled, static_cast<QPalette::ColorRole>(12), QColor(86, 117, 148));
00113 palette.setColor(QPalette::Disabled, static_cast<QPalette::ColorRole>(13), QColor(255, 255, 255));
00114 palette.setColor(QPalette::Disabled, static_cast<QPalette::ColorRole>(14), QColor(0, 0, 238));
00115 palette.setColor(QPalette::Disabled, static_cast<QPalette::ColorRole>(15), QColor(82, 24, 139));
00116 palette.setColor(QPalette::Disabled, static_cast<QPalette::ColorRole>(16), QColor(232, 232, 232));
00117 frameStatus->setPalette(palette);
00118 frameStatus->setFrameShape(QFrame::Panel);
00119 frameStatus->setFrameShadow(QFrame::Sunken);
00120 frameStatus->setLineWidth(3);
00121 frameStatus->setMidLineWidth(0);
00122 gridLayout = new QGridLayout(frameStatus);
00123 #ifndef UI_Q_OS_MAC
00124 gridLayout->setSpacing(6);
00125 #endif
00126 #ifndef UI_Q_OS_MAC
00127 gridLayout->setMargin(9);
00128 #endif
00129 gridLayout->setObjectName(QString::fromUtf8("gridLayout"));
00130 frame = new QFrame(frameStatus);
00131 frame->setObjectName(QString::fromUtf8("frame"));
00132 frame->setFrameShape(QFrame::StyledPanel);
00133 frame->setFrameShadow(QFrame::Raised);
00134 hboxLayout = new QHBoxLayout(frame);
00135 #ifndef UI_Q_OS_MAC
00136 hboxLayout->setSpacing(6);
00137 #endif
00138 #ifndef UI_Q_OS_MAC
00139 hboxLayout->setMargin(9);
00140 #endif
00141 hboxLayout->setObjectName(QString::fromUtf8("hboxLayout"));
00142 labelPointsName = new QLabel(frame);
00143 labelPointsName->setObjectName(QString::fromUtf8("labelPointsName"));
00144 QFont font;
00145 font.setFamily(QString::fromUtf8("Sans Serif"));
00146 font.setPointSize(12);
00147 font.setBold(false);
00148 font.setItalic(false);
00149 font.setUnderline(false);
00150 font.setWeight(50);
00151 font.setStrikeOut(false);
00152 labelPointsName->setFont(font);
00153
00154 hboxLayout->addWidget(labelPointsName);
00155
00156 labelPoints = new QLabel(frame);
00157 labelPoints->setObjectName(QString::fromUtf8("labelPoints"));
00158 labelPoints->setFont(font);
00159 labelPoints->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);
00160
00161 hboxLayout->addWidget(labelPoints);
00162
00163
00164 hboxLayout->addItem(new QSpacerItem(16, 31, QSizePolicy::Expanding, QSizePolicy::Minimum));
00165
00166
00167 gridLayout->addWidget(frame, 1, 0, 1, 2);
00168
00169 frameOverall = new QFrame(frameStatus);
00170 frameOverall->setObjectName(QString::fromUtf8("frameOverall"));
00171 sizePolicy.setHeightForWidth(frameOverall->sizePolicy().hasHeightForWidth());
00172 frameOverall->setSizePolicy(sizePolicy);
00173 frameOverall->setFrameShape(QFrame::StyledPanel);
00174 frameOverall->setFrameShadow(QFrame::Raised);
00175 gridLayout1 = new QGridLayout(frameOverall);
00176 #ifndef UI_Q_OS_MAC
00177 gridLayout1->setSpacing(6);
00178 #endif
00179 #ifndef UI_Q_OS_MAC
00180 gridLayout1->setMargin(9);
00181 #endif
00182 gridLayout1->setObjectName(QString::fromUtf8("gridLayout1"));
00183 labelGames = new QLabel(frameOverall);
00184 labelGames->setObjectName(QString::fromUtf8("labelGames"));
00185 labelGames->setFont(font);
00186 labelGames->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);
00187
00188 gridLayout1->addWidget(labelGames, 1, 2, 1, 1);
00189
00190 labelScoreName = new QLabel(frameOverall);
00191 labelScoreName->setObjectName(QString::fromUtf8("labelScoreName"));
00192 labelScoreName->setFont(font);
00193
00194 gridLayout1->addWidget(labelScoreName, 0, 0, 1, 1);
00195
00196 labelGamesName = new QLabel(frameOverall);
00197 labelGamesName->setObjectName(QString::fromUtf8("labelGamesName"));
00198 labelGamesName->setFont(font);
00199
00200 gridLayout1->addWidget(labelGamesName, 1, 0, 1, 1);
00201
00202 labelScore = new QLabel(frameOverall);
00203 labelScore->setObjectName(QString::fromUtf8("labelScore"));
00204 labelScore->setFont(font);
00205 labelScore->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);
00206
00207 gridLayout1->addWidget(labelScore, 0, 2, 1, 1);
00208
00209
00210 gridLayout1->addItem(new QSpacerItem(16, 17, QSizePolicy::Expanding, QSizePolicy::Minimum), 1, 1, 1, 1);
00211
00212
00213 gridLayout1->addItem(new QSpacerItem(16, 17, QSizePolicy::Expanding, QSizePolicy::Minimum), 0, 1, 1, 1);
00214
00215
00216 gridLayout->addWidget(frameOverall, 2, 0, 1, 2);
00217
00218 labelName = new QLabel(frameStatus);
00219 labelName->setObjectName(QString::fromUtf8("labelName"));
00220 sizePolicy.setHeightForWidth(labelName->sizePolicy().hasHeightForWidth());
00221 labelName->setSizePolicy(sizePolicy);
00222 QFont font1;
00223 font1.setFamily(QString::fromUtf8("Sans Serif"));
00224 font1.setPointSize(12);
00225 font1.setBold(true);
00226 font1.setItalic(false);
00227 font1.setUnderline(false);
00228 font1.setWeight(75);
00229 font1.setStrikeOut(false);
00230 labelName->setFont(font1);
00231
00232 gridLayout->addWidget(labelName, 0, 0, 1, 1);
00233
00234 vboxLayout = new QVBoxLayout();
00235 #ifndef UI_Q_OS_MAC
00236 vboxLayout->setSpacing(6);
00237 #endif
00238 vboxLayout->setMargin(0);
00239 vboxLayout->setObjectName(QString::fromUtf8("vboxLayout"));
00240 imageTrump = new QLabel(frameStatus);
00241 imageTrump->setObjectName(QString::fromUtf8("imageTrump"));
00242 imageTrump->setPixmap(QPixmap(QString::fromUtf8("../hi48-app-lskat.png")));
00243
00244 vboxLayout->addWidget(imageTrump);
00245
00246
00247 vboxLayout->addItem(new QSpacerItem(20, 40, QSizePolicy::Minimum, QSizePolicy::Maximum));
00248
00249 imageInput = new QLabel(frameStatus);
00250 imageInput->setObjectName(QString::fromUtf8("imageInput"));
00251 sizePolicy.setHeightForWidth(imageInput->sizePolicy().hasHeightForWidth());
00252 imageInput->setSizePolicy(sizePolicy);
00253 imageInput->setPixmap(QPixmap(QString::fromUtf8("../hi48-app-lskat.png")));
00254
00255 vboxLayout->addWidget(imageInput);
00256
00257
00258 gridLayout->addLayout(vboxLayout, 0, 3, 3, 1);
00259
00260
00261 gridLayout->addItem(new QSpacerItem(21, 31, QSizePolicy::Expanding, QSizePolicy::Minimum), 1, 2, 1, 1);
00262
00263
00264 gridLayout->addItem(new QSpacerItem(21, 31, QSizePolicy::Expanding, QSizePolicy::Minimum), 0, 1, 1, 2);
00265
00266
00267 gridLayout->addItem(new QSpacerItem(21, 41, QSizePolicy::Expanding, QSizePolicy::Minimum), 2, 2, 1, 1);
00268
00269
00270 retranslateUi(PlayerStatusForm);
00271
00272 QMetaObject::connectSlotsByName(PlayerStatusForm);
00273 }
00274
00275 void retranslateUi(QWidget *PlayerStatusForm)
00276 {
00277 PlayerStatusForm->setWindowTitle(tr2i18n("Form", 0));
00278 labelPointsName->setText(tr2i18n("Points:", 0));
00279 labelPoints->setText(tr2i18n("123", 0));
00280 labelGames->setText(tr2i18n("123456", 0));
00281 labelScoreName->setText(tr2i18n("Score:", 0));
00282 labelGamesName->setText(tr2i18n("Games:", 0));
00283 labelScore->setText(tr2i18n("123456", 0));
00284 labelName->setText(tr2i18n("PlayerName", 0));
00285 imageTrump->setText(QString());
00286 imageInput->setText(QString());
00287 Q_UNUSED(PlayerStatusForm);
00288 }
00289
00290 };
00291
00292 namespace Ui {
00293 class PlayerStatusForm: public Ui_PlayerStatusForm {};
00294 }
00295
00296 #endif // PLAYERSTATUSFORM_H
00297