2011-04-27 10:05:43 +00:00
|
|
|
/********************************************************************************
|
|
|
|
** Form generated from reading UI file 'calculatorform.ui'
|
|
|
|
**
|
2012-12-13 12:48:18 +00:00
|
|
|
** Created by: Qt User Interface Compiler version 5.0.0
|
2011-04-27 10:05:43 +00:00
|
|
|
**
|
|
|
|
** WARNING! All changes made in this file will be lost when recompiling UI file!
|
|
|
|
********************************************************************************/
|
|
|
|
|
|
|
|
#ifndef CALCULATORFORM_H
|
|
|
|
#define CALCULATORFORM_H
|
|
|
|
|
|
|
|
#include <QtCore/QVariant>
|
2011-09-22 13:09:37 +00:00
|
|
|
#include <QtWidgets/QAction>
|
|
|
|
#include <QtWidgets/QApplication>
|
|
|
|
#include <QtWidgets/QButtonGroup>
|
|
|
|
#include <QtWidgets/QGridLayout>
|
|
|
|
#include <QtWidgets/QHBoxLayout>
|
|
|
|
#include <QtWidgets/QHeaderView>
|
|
|
|
#include <QtWidgets/QLabel>
|
|
|
|
#include <QtWidgets/QSpacerItem>
|
|
|
|
#include <QtWidgets/QSpinBox>
|
|
|
|
#include <QtWidgets/QVBoxLayout>
|
|
|
|
#include <QtWidgets/QWidget>
|
2011-04-27 10:05:43 +00:00
|
|
|
|
|
|
|
QT_BEGIN_NAMESPACE
|
|
|
|
|
|
|
|
class Ui_CalculatorForm
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
QGridLayout *gridLayout;
|
|
|
|
QHBoxLayout *hboxLayout;
|
|
|
|
QVBoxLayout *vboxLayout;
|
|
|
|
QLabel *label;
|
|
|
|
QSpinBox *inputSpinBox1;
|
|
|
|
QLabel *label_3;
|
|
|
|
QVBoxLayout *vboxLayout1;
|
|
|
|
QLabel *label_2;
|
|
|
|
QSpinBox *inputSpinBox2;
|
|
|
|
QLabel *label_3_2;
|
|
|
|
QVBoxLayout *vboxLayout2;
|
|
|
|
QLabel *label_2_2_2;
|
|
|
|
QLabel *outputWidget;
|
|
|
|
QSpacerItem *spacerItem;
|
|
|
|
QSpacerItem *spacerItem1;
|
|
|
|
|
|
|
|
void setupUi(QWidget *CalculatorForm)
|
|
|
|
{
|
|
|
|
if (CalculatorForm->objectName().isEmpty())
|
2011-12-11 15:55:01 +00:00
|
|
|
CalculatorForm->setObjectName(QStringLiteral("CalculatorForm"));
|
2011-04-27 10:05:43 +00:00
|
|
|
CalculatorForm->resize(276, 98);
|
|
|
|
QSizePolicy sizePolicy(static_cast<QSizePolicy::Policy>(5), static_cast<QSizePolicy::Policy>(5));
|
|
|
|
sizePolicy.setHorizontalStretch(0);
|
|
|
|
sizePolicy.setVerticalStretch(0);
|
|
|
|
sizePolicy.setHeightForWidth(CalculatorForm->sizePolicy().hasHeightForWidth());
|
|
|
|
CalculatorForm->setSizePolicy(sizePolicy);
|
|
|
|
gridLayout = new QGridLayout(CalculatorForm);
|
|
|
|
#ifndef Q_OS_MAC
|
|
|
|
gridLayout->setSpacing(6);
|
|
|
|
#endif
|
|
|
|
#ifndef Q_OS_MAC
|
|
|
|
gridLayout->setContentsMargins(9, 9, 9, 9);
|
|
|
|
#endif
|
2011-12-11 15:55:01 +00:00
|
|
|
gridLayout->setObjectName(QStringLiteral("gridLayout"));
|
|
|
|
gridLayout->setObjectName(QStringLiteral(""));
|
2011-04-27 10:05:43 +00:00
|
|
|
hboxLayout = new QHBoxLayout();
|
|
|
|
#ifndef Q_OS_MAC
|
|
|
|
hboxLayout->setSpacing(6);
|
|
|
|
#endif
|
|
|
|
hboxLayout->setContentsMargins(1, 1, 1, 1);
|
2011-12-11 15:55:01 +00:00
|
|
|
hboxLayout->setObjectName(QStringLiteral("hboxLayout"));
|
|
|
|
hboxLayout->setObjectName(QStringLiteral(""));
|
2011-04-27 10:05:43 +00:00
|
|
|
vboxLayout = new QVBoxLayout();
|
|
|
|
#ifndef Q_OS_MAC
|
|
|
|
vboxLayout->setSpacing(6);
|
|
|
|
#endif
|
|
|
|
vboxLayout->setContentsMargins(1, 1, 1, 1);
|
2011-12-11 15:55:01 +00:00
|
|
|
vboxLayout->setObjectName(QStringLiteral("vboxLayout"));
|
|
|
|
vboxLayout->setObjectName(QStringLiteral(""));
|
2011-04-27 10:05:43 +00:00
|
|
|
label = new QLabel(CalculatorForm);
|
2011-12-11 15:55:01 +00:00
|
|
|
label->setObjectName(QStringLiteral("label"));
|
2011-04-27 10:05:43 +00:00
|
|
|
label->setGeometry(QRect(1, 1, 45, 19));
|
|
|
|
|
|
|
|
vboxLayout->addWidget(label);
|
|
|
|
|
|
|
|
inputSpinBox1 = new QSpinBox(CalculatorForm);
|
2011-12-11 15:55:01 +00:00
|
|
|
inputSpinBox1->setObjectName(QStringLiteral("inputSpinBox1"));
|
2011-04-27 10:05:43 +00:00
|
|
|
inputSpinBox1->setGeometry(QRect(1, 26, 45, 25));
|
|
|
|
inputSpinBox1->setMouseTracking(true);
|
|
|
|
|
|
|
|
vboxLayout->addWidget(inputSpinBox1);
|
|
|
|
|
|
|
|
|
|
|
|
hboxLayout->addLayout(vboxLayout);
|
|
|
|
|
|
|
|
label_3 = new QLabel(CalculatorForm);
|
2011-12-11 15:55:01 +00:00
|
|
|
label_3->setObjectName(QStringLiteral("label_3"));
|
2011-04-27 10:05:43 +00:00
|
|
|
label_3->setGeometry(QRect(54, 1, 7, 52));
|
|
|
|
label_3->setAlignment(Qt::AlignCenter);
|
|
|
|
|
|
|
|
hboxLayout->addWidget(label_3);
|
|
|
|
|
|
|
|
vboxLayout1 = new QVBoxLayout();
|
|
|
|
#ifndef Q_OS_MAC
|
|
|
|
vboxLayout1->setSpacing(6);
|
|
|
|
#endif
|
|
|
|
vboxLayout1->setContentsMargins(1, 1, 1, 1);
|
2011-12-11 15:55:01 +00:00
|
|
|
vboxLayout1->setObjectName(QStringLiteral("vboxLayout1"));
|
|
|
|
vboxLayout1->setObjectName(QStringLiteral(""));
|
2011-04-27 10:05:43 +00:00
|
|
|
label_2 = new QLabel(CalculatorForm);
|
2011-12-11 15:55:01 +00:00
|
|
|
label_2->setObjectName(QStringLiteral("label_2"));
|
2011-04-27 10:05:43 +00:00
|
|
|
label_2->setGeometry(QRect(1, 1, 45, 19));
|
|
|
|
|
|
|
|
vboxLayout1->addWidget(label_2);
|
|
|
|
|
|
|
|
inputSpinBox2 = new QSpinBox(CalculatorForm);
|
2011-12-11 15:55:01 +00:00
|
|
|
inputSpinBox2->setObjectName(QStringLiteral("inputSpinBox2"));
|
2011-04-27 10:05:43 +00:00
|
|
|
inputSpinBox2->setGeometry(QRect(1, 26, 45, 25));
|
|
|
|
inputSpinBox2->setMouseTracking(true);
|
|
|
|
|
|
|
|
vboxLayout1->addWidget(inputSpinBox2);
|
|
|
|
|
|
|
|
|
|
|
|
hboxLayout->addLayout(vboxLayout1);
|
|
|
|
|
|
|
|
label_3_2 = new QLabel(CalculatorForm);
|
2011-12-11 15:55:01 +00:00
|
|
|
label_3_2->setObjectName(QStringLiteral("label_3_2"));
|
2011-04-27 10:05:43 +00:00
|
|
|
label_3_2->setGeometry(QRect(120, 1, 7, 52));
|
|
|
|
label_3_2->setAlignment(Qt::AlignCenter);
|
|
|
|
|
|
|
|
hboxLayout->addWidget(label_3_2);
|
|
|
|
|
|
|
|
vboxLayout2 = new QVBoxLayout();
|
|
|
|
#ifndef Q_OS_MAC
|
|
|
|
vboxLayout2->setSpacing(6);
|
|
|
|
#endif
|
|
|
|
vboxLayout2->setContentsMargins(1, 1, 1, 1);
|
2011-12-11 15:55:01 +00:00
|
|
|
vboxLayout2->setObjectName(QStringLiteral("vboxLayout2"));
|
|
|
|
vboxLayout2->setObjectName(QStringLiteral(""));
|
2011-04-27 10:05:43 +00:00
|
|
|
label_2_2_2 = new QLabel(CalculatorForm);
|
2011-12-11 15:55:01 +00:00
|
|
|
label_2_2_2->setObjectName(QStringLiteral("label_2_2_2"));
|
2011-04-27 10:05:43 +00:00
|
|
|
label_2_2_2->setGeometry(QRect(1, 1, 37, 17));
|
|
|
|
|
|
|
|
vboxLayout2->addWidget(label_2_2_2);
|
|
|
|
|
|
|
|
outputWidget = new QLabel(CalculatorForm);
|
2011-12-11 15:55:01 +00:00
|
|
|
outputWidget->setObjectName(QStringLiteral("outputWidget"));
|
2011-04-27 10:05:43 +00:00
|
|
|
outputWidget->setGeometry(QRect(1, 24, 37, 27));
|
|
|
|
outputWidget->setFrameShape(QFrame::Box);
|
|
|
|
outputWidget->setFrameShadow(QFrame::Sunken);
|
|
|
|
outputWidget->setAlignment(Qt::AlignAbsolute|Qt::AlignBottom|Qt::AlignCenter|Qt::AlignHCenter|Qt::AlignHorizontal_Mask|Qt::AlignJustify|Qt::AlignLeading|Qt::AlignLeft|Qt::AlignRight|Qt::AlignTop|Qt::AlignTrailing|Qt::AlignVCenter|Qt::AlignVertical_Mask);
|
|
|
|
|
|
|
|
vboxLayout2->addWidget(outputWidget);
|
|
|
|
|
|
|
|
|
|
|
|
hboxLayout->addLayout(vboxLayout2);
|
|
|
|
|
|
|
|
|
|
|
|
gridLayout->addLayout(hboxLayout, 0, 0, 1, 1);
|
|
|
|
|
|
|
|
spacerItem = new QSpacerItem(20, 40, QSizePolicy::Minimum, QSizePolicy::Expanding);
|
|
|
|
|
|
|
|
gridLayout->addItem(spacerItem, 1, 0, 1, 1);
|
|
|
|
|
|
|
|
spacerItem1 = new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
|
|
|
|
|
|
|
|
gridLayout->addItem(spacerItem1, 0, 1, 1, 1);
|
|
|
|
|
|
|
|
|
|
|
|
retranslateUi(CalculatorForm);
|
|
|
|
|
|
|
|
QMetaObject::connectSlotsByName(CalculatorForm);
|
|
|
|
} // setupUi
|
|
|
|
|
|
|
|
void retranslateUi(QWidget *CalculatorForm)
|
|
|
|
{
|
2012-05-17 00:37:23 +00:00
|
|
|
CalculatorForm->setWindowTitle(QApplication::translate("CalculatorForm", "Calculator Builder", 0));
|
|
|
|
label->setText(QApplication::translate("CalculatorForm", "Input 1", 0));
|
|
|
|
label_3->setText(QApplication::translate("CalculatorForm", "+", 0));
|
|
|
|
label_2->setText(QApplication::translate("CalculatorForm", "Input 2", 0));
|
|
|
|
label_3_2->setText(QApplication::translate("CalculatorForm", "=", 0));
|
|
|
|
label_2_2_2->setText(QApplication::translate("CalculatorForm", "Output", 0));
|
|
|
|
outputWidget->setText(QApplication::translate("CalculatorForm", "0", 0));
|
2011-04-27 10:05:43 +00:00
|
|
|
} // retranslateUi
|
|
|
|
|
|
|
|
};
|
|
|
|
|
|
|
|
namespace Ui {
|
|
|
|
class CalculatorForm: public Ui_CalculatorForm {};
|
|
|
|
} // namespace Ui
|
|
|
|
|
|
|
|
QT_END_NAMESPACE
|
|
|
|
|
|
|
|
#endif // CALCULATORFORM_H
|