All pastes #793950 Raw Edit

MaBu

public cpp v1 · immutable
·published 2007-11-22 19:39 UTC
rendered paste body
#include <kdialog.h>#include <klocale.h>/********************************************************************************** Form generated from reading ui file 'batteryConfig.ui'**** Created: Thu Nov 22 20:36:58 2007**      by: Qt User Interface Compiler version 4.3.2**** WARNING! All changes made in this file will be lost when recompiling ui file!********************************************************************************/#ifndef UI_BATTERYCONFIG_H#define UI_BATTERYCONFIG_H#include <QtCore/QVariant>#include <QtGui/QAction>#include <QtGui/QApplication>#include <QtGui/QButtonGroup>#include <QtGui/QCheckBox>#include <QtGui/QHBoxLayout>#include <QtGui/QLabel>#include <QtGui/QRadioButton>#include <QtGui/QSpacerItem>#include <QtGui/QSpinBox>#include <QtGui/QVBoxLayout>#include <QtGui/QWidget>#include "kbuttongroup.h"class Ui_batteryConfig{public:    QVBoxLayout *vboxLayout;    QCheckBox *showBatteryStringCheckBox;    QCheckBox *drawBackgroundCheckBox;    KButtonGroup *styleGroup;    QVBoxLayout *vboxLayout1;    QRadioButton *oxygenBattery;    QRadioButton *classicBattery;    QHBoxLayout *hboxLayout;    QLabel *labelSize;    QSpinBox *spinSize;    QSpacerItem *spacerItem;    void setupUi(QWidget *batteryConfig)    {    if (batteryConfig->objectName().isEmpty())        batteryConfig->setObjectName(QString::fromUtf8("batteryConfig"));    batteryConfig->resize(318, 170);    vboxLayout = new QVBoxLayout(batteryConfig);    vboxLayout->setObjectName(QString::fromUtf8("vboxLayout"));    showBatteryStringCheckBox = new QCheckBox(batteryConfig);    showBatteryStringCheckBox->setObjectName(QString::fromUtf8("showBatteryStringCheckBox"));    vboxLayout->addWidget(showBatteryStringCheckBox);    drawBackgroundCheckBox = new QCheckBox(batteryConfig);    drawBackgroundCheckBox->setObjectName(QString::fromUtf8("drawBackgroundCheckBox"));    vboxLayout->addWidget(drawBackgroundCheckBox);    styleGroup = new KButtonGroup(batteryConfig);    styleGroup->setObjectName(QString::fromUtf8("styleGroup"));    vboxLayout1 = new QVBoxLayout(styleGroup);    vboxLayout1->setObjectName(QString::fromUtf8("vboxLayout1"));    oxygenBattery = new QRadioButton(styleGroup);    oxygenBattery->setObjectName(QString::fromUtf8("oxygenBattery"));    oxygenBattery->setChecked(true);    vboxLayout1->addWidget(oxygenBattery);    classicBattery = new QRadioButton(styleGroup);    classicBattery->setObjectName(QString::fromUtf8("classicBattery"));    vboxLayout1->addWidget(classicBattery);    vboxLayout->addWidget(styleGroup);    hboxLayout = new QHBoxLayout();    hboxLayout->setObjectName(QString::fromUtf8("hboxLayout"));    labelSize = new QLabel(batteryConfig);    labelSize->setObjectName(QString::fromUtf8("labelSize"));    hboxLayout->addWidget(labelSize);    spinSize = new QSpinBox(batteryConfig);    spinSize->setObjectName(QString::fromUtf8("spinSize"));    spinSize->setMaximum(500);    hboxLayout->addWidget(spinSize);    spacerItem = new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);    hboxLayout->addItem(spacerItem);    vboxLayout->addLayout(hboxLayout);    retranslateUi(batteryConfig);    QMetaObject::connectSlotsByName(batteryConfig);    } // setupUi    void retranslateUi(QWidget *batteryConfig)    {    batteryConfig->setWindowTitle(tr2i18n("Configure Battery Monitor", 0));    batteryConfig->setAccessibleName(tr2i18n("Configure Battery Monitor", 0));    showBatteryStringCheckBox->setToolTip(QString());    showBatteryStringCheckBox->setText(tr2i18n("Show the &charge percentage on the battery", 0));    drawBackgroundCheckBox->setToolTip(QString());    drawBackgroundCheckBox->setText(tr2i18n("Always show &background", 0));    oxygenBattery->setText(tr2i18n("Oxygen theme", 0));    classicBattery->setText(tr2i18n("Classic theme", 0));    labelSize->setText(tr2i18n("Size of the battery:", 0));    spinSize->setToolTip(tr2i18n("Change battery size", 0));    spinSize->setWhatsThis(tr2i18n("Set a new size for the battery between 0 and 500. The size is the square side that contains the battery.", 0));    Q_UNUSED(batteryConfig);    } // retranslateUi};namespace Ui {    class batteryConfig: public Ui_batteryConfig {};} // namespace Ui#endif // BATTERYCONFIG_H