ui_settings.h

Go to the documentation of this file.
00001 #include <kdialog.h>
00002 #include <klocale.h>
00003 
00004 /********************************************************************************
00005 ** Form generated from reading ui file 'settings.ui'
00006 **
00007 ** Created: Sat Mar 3 11:14:55 2007
00008 **      by: Qt User Interface Compiler version 4.2.0-snapshot-20061002
00009 **
00010 ** WARNING! All changes made in this file will be lost when recompiling ui file!
00011 ********************************************************************************/
00012 
00013 #ifndef UI_SETTINGS_H
00014 #define UI_SETTINGS_H
00015 
00016 #include <QtCore/QVariant>
00017 #include <QtGui/QAction>
00018 #include <QtGui/QApplication>
00019 #include <QtGui/QButtonGroup>
00020 #include <QtGui/QGridLayout>
00021 #include <QtGui/QGroupBox>
00022 #include <QtGui/QHBoxLayout>
00023 #include <QtGui/QLabel>
00024 #include <QtGui/QLineEdit>
00025 #include <QtGui/QRadioButton>
00026 #include <QtGui/QSlider>
00027 #include <QtGui/QSpacerItem>
00028 #include <QtGui/QVBoxLayout>
00029 #include <QtGui/QWidget>
00030 #include <Qt3Support/Q3MimeSourceFactory>
00031 
00032 class Ui_Settings
00033 {
00034 public:
00035     QHBoxLayout *hboxLayout;
00036     QGridLayout *gridLayout;
00037     QGroupBox *groupBox1;
00038     QGridLayout *gridLayout1;
00039     QLabel *textLabel1;
00040     QLabel *textLabel2;
00041     QSlider *kcfg_level;
00042     QGroupBox *kcfg_Input2;
00043     QHBoxLayout *hboxLayout1;
00044     QVBoxLayout *vboxLayout;
00045     QRadioButton *radioButton6;
00046     QRadioButton *radioButton7;
00047     QRadioButton *radioButton8;
00048     QGroupBox *kcfg_Input1;
00049     QVBoxLayout *vboxLayout1;
00050     QVBoxLayout *vboxLayout2;
00051     QRadioButton *radioButton3;
00052     QRadioButton *radioButton4;
00053     QRadioButton *radioButton5;
00054     QSpacerItem *spacerItem;
00055     QGroupBox *kcfg_Colour1;
00056     QVBoxLayout *vboxLayout3;
00057     QVBoxLayout *vboxLayout4;
00058     QRadioButton *radioButton1;
00059     QRadioButton *radioButton2;
00060     QGroupBox *groupBox2;
00061     QVBoxLayout *vboxLayout5;
00062     QGridLayout *gridLayout2;
00063     QLineEdit *kcfg_Name2;
00064     QLineEdit *kcfg_Name1;
00065     QLabel *textLabel3;
00066     QLabel *textLabel4;
00067 
00068     void setupUi(QWidget *Settings)
00069     {
00070     Settings->setObjectName(QString::fromUtf8("Settings"));
00071     hboxLayout = new QHBoxLayout(Settings);
00072     hboxLayout->setSpacing(6);
00073     hboxLayout->setMargin(9);
00074     hboxLayout->setObjectName(QString::fromUtf8("hboxLayout"));
00075     gridLayout = new QGridLayout();
00076     gridLayout->setSpacing(6);
00077     gridLayout->setMargin(5);
00078     gridLayout->setObjectName(QString::fromUtf8("gridLayout"));
00079     groupBox1 = new QGroupBox(Settings);
00080     groupBox1->setObjectName(QString::fromUtf8("groupBox1"));
00081     gridLayout1 = new QGridLayout(groupBox1);
00082     gridLayout1->setSpacing(6);
00083     gridLayout1->setMargin(11);
00084     gridLayout1->setObjectName(QString::fromUtf8("gridLayout1"));
00085     textLabel1 = new QLabel(groupBox1);
00086     textLabel1->setObjectName(QString::fromUtf8("textLabel1"));
00087 
00088     gridLayout1->addWidget(textLabel1, 1, 0, 1, 1);
00089 
00090     textLabel2 = new QLabel(groupBox1);
00091     textLabel2->setObjectName(QString::fromUtf8("textLabel2"));
00092     textLabel2->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);
00093 
00094     gridLayout1->addWidget(textLabel2, 1, 1, 1, 1);
00095 
00096     kcfg_level = new QSlider(groupBox1);
00097     kcfg_level->setObjectName(QString::fromUtf8("kcfg_level"));
00098     kcfg_level->setMinimum(1);
00099     kcfg_level->setMaximum(10);
00100     kcfg_level->setPageStep(1);
00101     kcfg_level->setValue(3);
00102     kcfg_level->setOrientation(Qt::Horizontal);
00103     kcfg_level->setTickPosition(QSlider::TicksBelow);
00104 
00105     gridLayout1->addWidget(kcfg_level, 0, 0, 1, 2);
00106 
00107 
00108     gridLayout->addWidget(groupBox1, 2, 0, 1, 2);
00109 
00110     kcfg_Input2 = new QGroupBox(Settings);
00111     kcfg_Input2->setObjectName(QString::fromUtf8("kcfg_Input2"));
00112     hboxLayout1 = new QHBoxLayout(kcfg_Input2);
00113     hboxLayout1->setSpacing(5);
00114     hboxLayout1->setMargin(5);
00115     hboxLayout1->setObjectName(QString::fromUtf8("hboxLayout1"));
00116     vboxLayout = new QVBoxLayout();
00117     vboxLayout->setSpacing(6);
00118     vboxLayout->setMargin(5);
00119     vboxLayout->setObjectName(QString::fromUtf8("vboxLayout"));
00120     radioButton6 = new QRadioButton(kcfg_Input2);
00121     radioButton6->setObjectName(QString::fromUtf8("radioButton6"));
00122     radioButton6->setChecked(true);
00123 
00124     vboxLayout->addWidget(radioButton6);
00125 
00126     radioButton7 = new QRadioButton(kcfg_Input2);
00127     radioButton7->setObjectName(QString::fromUtf8("radioButton7"));
00128 
00129     vboxLayout->addWidget(radioButton7);
00130 
00131     radioButton8 = new QRadioButton(kcfg_Input2);
00132     radioButton8->setObjectName(QString::fromUtf8("radioButton8"));
00133 
00134     vboxLayout->addWidget(radioButton8);
00135 
00136 
00137     hboxLayout1->addLayout(vboxLayout);
00138 
00139 
00140     gridLayout->addWidget(kcfg_Input2, 1, 1, 1, 1);
00141 
00142     kcfg_Input1 = new QGroupBox(Settings);
00143     kcfg_Input1->setObjectName(QString::fromUtf8("kcfg_Input1"));
00144     vboxLayout1 = new QVBoxLayout(kcfg_Input1);
00145     vboxLayout1->setSpacing(5);
00146     vboxLayout1->setMargin(5);
00147     vboxLayout1->setObjectName(QString::fromUtf8("vboxLayout1"));
00148     vboxLayout2 = new QVBoxLayout();
00149     vboxLayout2->setSpacing(6);
00150     vboxLayout2->setMargin(5);
00151     vboxLayout2->setObjectName(QString::fromUtf8("vboxLayout2"));
00152     radioButton3 = new QRadioButton(kcfg_Input1);
00153     radioButton3->setObjectName(QString::fromUtf8("radioButton3"));
00154     radioButton3->setChecked(true);
00155 
00156     vboxLayout2->addWidget(radioButton3);
00157 
00158     radioButton4 = new QRadioButton(kcfg_Input1);
00159     radioButton4->setObjectName(QString::fromUtf8("radioButton4"));
00160 
00161     vboxLayout2->addWidget(radioButton4);
00162 
00163     radioButton5 = new QRadioButton(kcfg_Input1);
00164     radioButton5->setObjectName(QString::fromUtf8("radioButton5"));
00165 
00166     vboxLayout2->addWidget(radioButton5);
00167 
00168 
00169     vboxLayout1->addLayout(vboxLayout2);
00170 
00171 
00172     gridLayout->addWidget(kcfg_Input1, 1, 0, 1, 1);
00173 
00174     spacerItem = new QSpacerItem(20, 20, QSizePolicy::Minimum, QSizePolicy::Expanding);
00175 
00176     gridLayout->addItem(spacerItem, 3, 1, 1, 1);
00177 
00178     kcfg_Colour1 = new QGroupBox(Settings);
00179     kcfg_Colour1->setObjectName(QString::fromUtf8("kcfg_Colour1"));
00180     QSizePolicy sizePolicy(static_cast<QSizePolicy::Policy>(1), static_cast<QSizePolicy::Policy>(13));
00181     sizePolicy.setHorizontalStretch(0);
00182     sizePolicy.setVerticalStretch(0);
00183     sizePolicy.setHeightForWidth(kcfg_Colour1->sizePolicy().hasHeightForWidth());
00184     kcfg_Colour1->setSizePolicy(sizePolicy);
00185     vboxLayout3 = new QVBoxLayout(kcfg_Colour1);
00186     vboxLayout3->setSpacing(5);
00187     vboxLayout3->setMargin(5);
00188     vboxLayout3->setObjectName(QString::fromUtf8("vboxLayout3"));
00189     vboxLayout4 = new QVBoxLayout();
00190     vboxLayout4->setSpacing(6);
00191     vboxLayout4->setMargin(5);
00192     vboxLayout4->setObjectName(QString::fromUtf8("vboxLayout4"));
00193     radioButton1 = new QRadioButton(kcfg_Colour1);
00194     radioButton1->setObjectName(QString::fromUtf8("radioButton1"));
00195     radioButton1->setChecked(true);
00196 
00197     vboxLayout4->addWidget(radioButton1);
00198 
00199     radioButton2 = new QRadioButton(kcfg_Colour1);
00200     radioButton2->setObjectName(QString::fromUtf8("radioButton2"));
00201 
00202     vboxLayout4->addWidget(radioButton2);
00203 
00204 
00205     vboxLayout3->addLayout(vboxLayout4);
00206 
00207 
00208     gridLayout->addWidget(kcfg_Colour1, 0, 0, 1, 1);
00209 
00210     groupBox2 = new QGroupBox(Settings);
00211     groupBox2->setObjectName(QString::fromUtf8("groupBox2"));
00212     QSizePolicy sizePolicy1(static_cast<QSizePolicy::Policy>(5), static_cast<QSizePolicy::Policy>(5));
00213     sizePolicy1.setHorizontalStretch(0);
00214     sizePolicy1.setVerticalStretch(0);
00215     sizePolicy1.setHeightForWidth(groupBox2->sizePolicy().hasHeightForWidth());
00216     groupBox2->setSizePolicy(sizePolicy1);
00217     vboxLayout5 = new QVBoxLayout(groupBox2);
00218     vboxLayout5->setSpacing(5);
00219     vboxLayout5->setMargin(5);
00220     vboxLayout5->setObjectName(QString::fromUtf8("vboxLayout5"));
00221     gridLayout2 = new QGridLayout();
00222     gridLayout2->setSpacing(6);
00223     gridLayout2->setMargin(5);
00224     gridLayout2->setObjectName(QString::fromUtf8("gridLayout2"));
00225     kcfg_Name2 = new QLineEdit(groupBox2);
00226     kcfg_Name2->setObjectName(QString::fromUtf8("kcfg_Name2"));
00227 
00228     gridLayout2->addWidget(kcfg_Name2, 1, 1, 1, 1);
00229 
00230     kcfg_Name1 = new QLineEdit(groupBox2);
00231     kcfg_Name1->setObjectName(QString::fromUtf8("kcfg_Name1"));
00232 
00233     gridLayout2->addWidget(kcfg_Name1, 0, 1, 1, 1);
00234 
00235     textLabel3 = new QLabel(groupBox2);
00236     textLabel3->setObjectName(QString::fromUtf8("textLabel3"));
00237 
00238     gridLayout2->addWidget(textLabel3, 0, 0, 1, 1);
00239 
00240     textLabel4 = new QLabel(groupBox2);
00241     textLabel4->setObjectName(QString::fromUtf8("textLabel4"));
00242 
00243     gridLayout2->addWidget(textLabel4, 1, 0, 1, 1);
00244 
00245 
00246     vboxLayout5->addLayout(gridLayout2);
00247 
00248 
00249     gridLayout->addWidget(groupBox2, 0, 1, 1, 1);
00250 
00251 
00252     hboxLayout->addLayout(gridLayout);
00253 
00254 
00255     retranslateUi(Settings);
00256 
00257     QSize size(408, 372);
00258     size = size.expandedTo(Settings->minimumSizeHint());
00259     Settings->resize(size);
00260 
00261 
00262     QMetaObject::connectSlotsByName(Settings);
00263     } // setupUi
00264 
00265     void retranslateUi(QWidget *Settings)
00266     {
00267     groupBox1->setTitle(tr2i18n("Computer Difficulty", 0));
00268     textLabel1->setText(tr2i18n("Easy", 0));
00269     textLabel2->setText(tr2i18n("Hard", 0));
00270     kcfg_level->setWhatsThis(tr2i18n("Change the strength of the computer player.", 0));
00271     kcfg_Input2->setTitle(tr2i18n("Red Plays With", 0));
00272     radioButton6->setText(tr2i18n("Mouse", 0));
00273     radioButton7->setText(tr2i18n("Computer", 0));
00274     radioButton8->setText(tr2i18n("Keyboard", 0));
00275     kcfg_Input1->setTitle(tr2i18n("Yellow Plays With", 0));
00276     radioButton3->setText(tr2i18n("Mouse", 0));
00277     radioButton4->setText(tr2i18n("Computer", 0));
00278     radioButton5->setText(tr2i18n("Keyboard", 0));
00279     kcfg_Colour1->setTitle(tr2i18n("Starting Player Color", 0));
00280     radioButton1->setText(tr2i18n("Red", 0));
00281     radioButton2->setText(tr2i18n("Yellow", 0));
00282     groupBox2->setTitle(tr2i18n("Player Names", 0));
00283     textLabel3->setText(tr2i18n("Player 1:", 0));
00284     textLabel4->setText(tr2i18n("Player 2:", 0));
00285     Q_UNUSED(Settings);
00286     } // retranslateUi
00287 
00288 };
00289 
00290 namespace Ui {
00291     class Settings: public Ui_Settings {};
00292 } // namespace Ui
00293 
00294 #endif // SETTINGS_H
00295 

Generated on Sun Mar 4 10:56:43 2007 for KWin4 by  doxygen 1.4.6