tests/auto/uic/baseline/calculator.ui.h
changeset 0 1918ee327afb
equal deleted inserted replaced
-1:000000000000 0:1918ee327afb
       
     1 /********************************************************************************
       
     2 ** Form generated from reading UI file 'calculator.ui'
       
     3 **
       
     4 ** Created: Fri Sep 4 10:17:12 2009
       
     5 **      by: Qt User Interface Compiler version 4.6.0
       
     6 **
       
     7 ** WARNING! All changes made in this file will be lost when recompiling UI file!
       
     8 ********************************************************************************/
       
     9 
       
    10 #ifndef CALCULATOR_H
       
    11 #define CALCULATOR_H
       
    12 
       
    13 #include <QtCore/QVariant>
       
    14 #include <QtGui/QAction>
       
    15 #include <QtGui/QApplication>
       
    16 #include <QtGui/QButtonGroup>
       
    17 #include <QtGui/QHeaderView>
       
    18 #include <QtGui/QLineEdit>
       
    19 #include <QtGui/QToolButton>
       
    20 #include <QtGui/QWidget>
       
    21 
       
    22 QT_BEGIN_NAMESPACE
       
    23 
       
    24 class Ui_Calculator
       
    25 {
       
    26 public:
       
    27     QToolButton *backspaceButton;
       
    28     QToolButton *clearButton;
       
    29     QToolButton *clearAllButton;
       
    30     QToolButton *clearMemoryButton;
       
    31     QToolButton *readMemoryButton;
       
    32     QToolButton *setMemoryButton;
       
    33     QToolButton *addToMemoryButton;
       
    34     QToolButton *sevenButton;
       
    35     QToolButton *eightButton;
       
    36     QToolButton *nineButton;
       
    37     QToolButton *fourButton;
       
    38     QToolButton *fiveButton;
       
    39     QToolButton *sixButton;
       
    40     QToolButton *oneButton;
       
    41     QToolButton *twoButton;
       
    42     QToolButton *threeButton;
       
    43     QToolButton *zeroButton;
       
    44     QToolButton *pointButton;
       
    45     QToolButton *changeSignButton;
       
    46     QToolButton *plusButton;
       
    47     QToolButton *divisionButton;
       
    48     QToolButton *timesButton;
       
    49     QToolButton *minusButton;
       
    50     QToolButton *squareRootButton;
       
    51     QToolButton *powerButton;
       
    52     QToolButton *reciprocalButton;
       
    53     QToolButton *equalButton;
       
    54     QLineEdit *display;
       
    55 
       
    56     void setupUi(QWidget *Calculator)
       
    57     {
       
    58         if (Calculator->objectName().isEmpty())
       
    59             Calculator->setObjectName(QString::fromUtf8("Calculator"));
       
    60         Calculator->resize(314, 301);
       
    61         QSizePolicy sizePolicy(QSizePolicy::Fixed, QSizePolicy::Fixed);
       
    62         sizePolicy.setHorizontalStretch(0);
       
    63         sizePolicy.setVerticalStretch(0);
       
    64         sizePolicy.setHeightForWidth(Calculator->sizePolicy().hasHeightForWidth());
       
    65         Calculator->setSizePolicy(sizePolicy);
       
    66         Calculator->setMinimumSize(QSize(314, 301));
       
    67         Calculator->setMaximumSize(QSize(314, 301));
       
    68         backspaceButton = new QToolButton(Calculator);
       
    69         backspaceButton->setObjectName(QString::fromUtf8("backspaceButton"));
       
    70         backspaceButton->setGeometry(QRect(10, 50, 91, 41));
       
    71         clearButton = new QToolButton(Calculator);
       
    72         clearButton->setObjectName(QString::fromUtf8("clearButton"));
       
    73         clearButton->setGeometry(QRect(110, 50, 91, 41));
       
    74         clearAllButton = new QToolButton(Calculator);
       
    75         clearAllButton->setObjectName(QString::fromUtf8("clearAllButton"));
       
    76         clearAllButton->setGeometry(QRect(210, 50, 91, 41));
       
    77         clearMemoryButton = new QToolButton(Calculator);
       
    78         clearMemoryButton->setObjectName(QString::fromUtf8("clearMemoryButton"));
       
    79         clearMemoryButton->setGeometry(QRect(10, 100, 41, 41));
       
    80         readMemoryButton = new QToolButton(Calculator);
       
    81         readMemoryButton->setObjectName(QString::fromUtf8("readMemoryButton"));
       
    82         readMemoryButton->setGeometry(QRect(10, 150, 41, 41));
       
    83         setMemoryButton = new QToolButton(Calculator);
       
    84         setMemoryButton->setObjectName(QString::fromUtf8("setMemoryButton"));
       
    85         setMemoryButton->setGeometry(QRect(10, 200, 41, 41));
       
    86         addToMemoryButton = new QToolButton(Calculator);
       
    87         addToMemoryButton->setObjectName(QString::fromUtf8("addToMemoryButton"));
       
    88         addToMemoryButton->setGeometry(QRect(10, 250, 41, 41));
       
    89         sevenButton = new QToolButton(Calculator);
       
    90         sevenButton->setObjectName(QString::fromUtf8("sevenButton"));
       
    91         sevenButton->setGeometry(QRect(60, 100, 41, 41));
       
    92         eightButton = new QToolButton(Calculator);
       
    93         eightButton->setObjectName(QString::fromUtf8("eightButton"));
       
    94         eightButton->setGeometry(QRect(110, 100, 41, 41));
       
    95         nineButton = new QToolButton(Calculator);
       
    96         nineButton->setObjectName(QString::fromUtf8("nineButton"));
       
    97         nineButton->setGeometry(QRect(160, 100, 41, 41));
       
    98         fourButton = new QToolButton(Calculator);
       
    99         fourButton->setObjectName(QString::fromUtf8("fourButton"));
       
   100         fourButton->setGeometry(QRect(60, 150, 41, 41));
       
   101         fiveButton = new QToolButton(Calculator);
       
   102         fiveButton->setObjectName(QString::fromUtf8("fiveButton"));
       
   103         fiveButton->setGeometry(QRect(110, 150, 41, 41));
       
   104         sixButton = new QToolButton(Calculator);
       
   105         sixButton->setObjectName(QString::fromUtf8("sixButton"));
       
   106         sixButton->setGeometry(QRect(160, 150, 41, 41));
       
   107         oneButton = new QToolButton(Calculator);
       
   108         oneButton->setObjectName(QString::fromUtf8("oneButton"));
       
   109         oneButton->setGeometry(QRect(60, 200, 41, 41));
       
   110         twoButton = new QToolButton(Calculator);
       
   111         twoButton->setObjectName(QString::fromUtf8("twoButton"));
       
   112         twoButton->setGeometry(QRect(110, 200, 41, 41));
       
   113         threeButton = new QToolButton(Calculator);
       
   114         threeButton->setObjectName(QString::fromUtf8("threeButton"));
       
   115         threeButton->setGeometry(QRect(160, 200, 41, 41));
       
   116         zeroButton = new QToolButton(Calculator);
       
   117         zeroButton->setObjectName(QString::fromUtf8("zeroButton"));
       
   118         zeroButton->setGeometry(QRect(60, 250, 41, 41));
       
   119         pointButton = new QToolButton(Calculator);
       
   120         pointButton->setObjectName(QString::fromUtf8("pointButton"));
       
   121         pointButton->setGeometry(QRect(110, 250, 41, 41));
       
   122         changeSignButton = new QToolButton(Calculator);
       
   123         changeSignButton->setObjectName(QString::fromUtf8("changeSignButton"));
       
   124         changeSignButton->setGeometry(QRect(160, 250, 41, 41));
       
   125         plusButton = new QToolButton(Calculator);
       
   126         plusButton->setObjectName(QString::fromUtf8("plusButton"));
       
   127         plusButton->setGeometry(QRect(210, 250, 41, 41));
       
   128         divisionButton = new QToolButton(Calculator);
       
   129         divisionButton->setObjectName(QString::fromUtf8("divisionButton"));
       
   130         divisionButton->setGeometry(QRect(210, 100, 41, 41));
       
   131         timesButton = new QToolButton(Calculator);
       
   132         timesButton->setObjectName(QString::fromUtf8("timesButton"));
       
   133         timesButton->setGeometry(QRect(210, 150, 41, 41));
       
   134         minusButton = new QToolButton(Calculator);
       
   135         minusButton->setObjectName(QString::fromUtf8("minusButton"));
       
   136         minusButton->setGeometry(QRect(210, 200, 41, 41));
       
   137         squareRootButton = new QToolButton(Calculator);
       
   138         squareRootButton->setObjectName(QString::fromUtf8("squareRootButton"));
       
   139         squareRootButton->setGeometry(QRect(260, 100, 41, 41));
       
   140         powerButton = new QToolButton(Calculator);
       
   141         powerButton->setObjectName(QString::fromUtf8("powerButton"));
       
   142         powerButton->setGeometry(QRect(260, 150, 41, 41));
       
   143         reciprocalButton = new QToolButton(Calculator);
       
   144         reciprocalButton->setObjectName(QString::fromUtf8("reciprocalButton"));
       
   145         reciprocalButton->setGeometry(QRect(260, 200, 41, 41));
       
   146         equalButton = new QToolButton(Calculator);
       
   147         equalButton->setObjectName(QString::fromUtf8("equalButton"));
       
   148         equalButton->setGeometry(QRect(260, 250, 41, 41));
       
   149         display = new QLineEdit(Calculator);
       
   150         display->setObjectName(QString::fromUtf8("display"));
       
   151         display->setGeometry(QRect(10, 10, 291, 31));
       
   152         display->setMaxLength(15);
       
   153         display->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);
       
   154         display->setReadOnly(true);
       
   155 
       
   156         retranslateUi(Calculator);
       
   157 
       
   158         QMetaObject::connectSlotsByName(Calculator);
       
   159     } // setupUi
       
   160 
       
   161     void retranslateUi(QWidget *Calculator)
       
   162     {
       
   163         Calculator->setWindowTitle(QApplication::translate("Calculator", "Calculator", 0, QApplication::UnicodeUTF8));
       
   164         backspaceButton->setText(QApplication::translate("Calculator", "Backspace", 0, QApplication::UnicodeUTF8));
       
   165         clearButton->setText(QApplication::translate("Calculator", "Clear", 0, QApplication::UnicodeUTF8));
       
   166         clearAllButton->setText(QApplication::translate("Calculator", "Clear All", 0, QApplication::UnicodeUTF8));
       
   167         clearMemoryButton->setText(QApplication::translate("Calculator", "MC", 0, QApplication::UnicodeUTF8));
       
   168         readMemoryButton->setText(QApplication::translate("Calculator", "MR", 0, QApplication::UnicodeUTF8));
       
   169         setMemoryButton->setText(QApplication::translate("Calculator", "MS", 0, QApplication::UnicodeUTF8));
       
   170         addToMemoryButton->setText(QApplication::translate("Calculator", "M+", 0, QApplication::UnicodeUTF8));
       
   171         sevenButton->setText(QApplication::translate("Calculator", "7", 0, QApplication::UnicodeUTF8));
       
   172         eightButton->setText(QApplication::translate("Calculator", "8", 0, QApplication::UnicodeUTF8));
       
   173         nineButton->setText(QApplication::translate("Calculator", "9", 0, QApplication::UnicodeUTF8));
       
   174         fourButton->setText(QApplication::translate("Calculator", "4", 0, QApplication::UnicodeUTF8));
       
   175         fiveButton->setText(QApplication::translate("Calculator", "5", 0, QApplication::UnicodeUTF8));
       
   176         sixButton->setText(QApplication::translate("Calculator", "6", 0, QApplication::UnicodeUTF8));
       
   177         oneButton->setText(QApplication::translate("Calculator", "1", 0, QApplication::UnicodeUTF8));
       
   178         twoButton->setText(QApplication::translate("Calculator", "2", 0, QApplication::UnicodeUTF8));
       
   179         threeButton->setText(QApplication::translate("Calculator", "3", 0, QApplication::UnicodeUTF8));
       
   180         zeroButton->setText(QApplication::translate("Calculator", "0", 0, QApplication::UnicodeUTF8));
       
   181         pointButton->setText(QApplication::translate("Calculator", ".", 0, QApplication::UnicodeUTF8));
       
   182         changeSignButton->setText(QApplication::translate("Calculator", "+-", 0, QApplication::UnicodeUTF8));
       
   183         plusButton->setText(QApplication::translate("Calculator", "+", 0, QApplication::UnicodeUTF8));
       
   184         divisionButton->setText(QApplication::translate("Calculator", "/", 0, QApplication::UnicodeUTF8));
       
   185         timesButton->setText(QApplication::translate("Calculator", "*", 0, QApplication::UnicodeUTF8));
       
   186         minusButton->setText(QApplication::translate("Calculator", "-", 0, QApplication::UnicodeUTF8));
       
   187         squareRootButton->setText(QApplication::translate("Calculator", "Sqrt", 0, QApplication::UnicodeUTF8));
       
   188         powerButton->setText(QApplication::translate("Calculator", "x^2", 0, QApplication::UnicodeUTF8));
       
   189         reciprocalButton->setText(QApplication::translate("Calculator", "1/x", 0, QApplication::UnicodeUTF8));
       
   190         equalButton->setText(QApplication::translate("Calculator", "=", 0, QApplication::UnicodeUTF8));
       
   191     } // retranslateUi
       
   192 
       
   193 };
       
   194 
       
   195 namespace Ui {
       
   196     class Calculator: public Ui_Calculator {};
       
   197 } // namespace Ui
       
   198 
       
   199 QT_END_NAMESPACE
       
   200 
       
   201 #endif // CALCULATOR_H