mirror of
git://projects.qi-hardware.com/nn-usb-fpga.git
synced 2025-01-11 00:50:17 +02:00
193 lines
8.2 KiB
C++
193 lines
8.2 KiB
C++
/********************************************************************************
|
|
** Form generated from reading UI file 'mainwindow.ui'
|
|
**
|
|
** Created: Sat May 8 10:32:22 2010
|
|
** by: Qt User Interface Compiler version 4.6.2
|
|
**
|
|
** WARNING! All changes made in this file will be lost when recompiling UI file!
|
|
********************************************************************************/
|
|
|
|
#ifndef UI_MAINWINDOW_H
|
|
#define UI_MAINWINDOW_H
|
|
|
|
#include <QtCore/QVariant>
|
|
#include <QtGui/QAction>
|
|
#include <QtGui/QApplication>
|
|
#include <QtGui/QButtonGroup>
|
|
#include <QtGui/QHeaderView>
|
|
#include <QtGui/QLabel>
|
|
#include <QtGui/QLineEdit>
|
|
#include <QtGui/QMainWindow>
|
|
#include <QtGui/QVBoxLayout>
|
|
#include <QtGui/QWidget>
|
|
#include <signaldisplay.h>
|
|
|
|
QT_BEGIN_NAMESPACE
|
|
|
|
class Ui_MainWindow
|
|
{
|
|
public:
|
|
QAction *action_Salir;
|
|
QAction *actionA_cerca_de;
|
|
QAction *actionAcerca_de_QT;
|
|
QAction *actionAcerca_de_Qt;
|
|
QWidget *centralWidget;
|
|
SignalDisplay *Graph;
|
|
QWidget *layoutWidget;
|
|
QVBoxLayout *verticalLayout_2;
|
|
QLabel *lblVmCH2;
|
|
QLineEdit *txtVmCH2;
|
|
QWidget *layoutWidget_2;
|
|
QVBoxLayout *verticalLayout_3;
|
|
QLabel *lblVrmsCH1;
|
|
QLineEdit *txtVrmsCH1;
|
|
QWidget *layoutWidget_3;
|
|
QVBoxLayout *verticalLayout_4;
|
|
QLabel *lblVrmsCH2;
|
|
QLineEdit *txtVrmsCH2;
|
|
QWidget *widget;
|
|
QVBoxLayout *verticalLayout;
|
|
QLabel *lblVmCH1;
|
|
QLineEdit *txtVmCH1;
|
|
|
|
void setupUi(QMainWindow *MainWindow)
|
|
{
|
|
if (MainWindow->objectName().isEmpty())
|
|
MainWindow->setObjectName(QString::fromUtf8("MainWindow"));
|
|
MainWindow->resize(320, 240);
|
|
action_Salir = new QAction(MainWindow);
|
|
action_Salir->setObjectName(QString::fromUtf8("action_Salir"));
|
|
actionA_cerca_de = new QAction(MainWindow);
|
|
actionA_cerca_de->setObjectName(QString::fromUtf8("actionA_cerca_de"));
|
|
actionAcerca_de_QT = new QAction(MainWindow);
|
|
actionAcerca_de_QT->setObjectName(QString::fromUtf8("actionAcerca_de_QT"));
|
|
actionAcerca_de_Qt = new QAction(MainWindow);
|
|
actionAcerca_de_Qt->setObjectName(QString::fromUtf8("actionAcerca_de_Qt"));
|
|
centralWidget = new QWidget(MainWindow);
|
|
centralWidget->setObjectName(QString::fromUtf8("centralWidget"));
|
|
Graph = new SignalDisplay(centralWidget);
|
|
Graph->setObjectName(QString::fromUtf8("Graph"));
|
|
Graph->setGeometry(QRect(0, 0, 240, 240));
|
|
Graph->setMinimumSize(QSize(100, 20));
|
|
layoutWidget = new QWidget(centralWidget);
|
|
layoutWidget->setObjectName(QString::fromUtf8("layoutWidget"));
|
|
layoutWidget->setGeometry(QRect(240, 120, 81, 46));
|
|
verticalLayout_2 = new QVBoxLayout(layoutWidget);
|
|
verticalLayout_2->setSpacing(0);
|
|
verticalLayout_2->setContentsMargins(11, 11, 11, 11);
|
|
verticalLayout_2->setObjectName(QString::fromUtf8("verticalLayout_2"));
|
|
verticalLayout_2->setSizeConstraint(QLayout::SetDefaultConstraint);
|
|
verticalLayout_2->setContentsMargins(0, 0, 0, 0);
|
|
lblVmCH2 = new QLabel(layoutWidget);
|
|
lblVmCH2->setObjectName(QString::fromUtf8("lblVmCH2"));
|
|
lblVmCH2->setAlignment(Qt::AlignCenter);
|
|
|
|
verticalLayout_2->addWidget(lblVmCH2);
|
|
|
|
txtVmCH2 = new QLineEdit(layoutWidget);
|
|
txtVmCH2->setObjectName(QString::fromUtf8("txtVmCH2"));
|
|
txtVmCH2->setAlignment(Qt::AlignCenter);
|
|
txtVmCH2->setReadOnly(true);
|
|
|
|
verticalLayout_2->addWidget(txtVmCH2);
|
|
|
|
layoutWidget_2 = new QWidget(centralWidget);
|
|
layoutWidget_2->setObjectName(QString::fromUtf8("layoutWidget_2"));
|
|
layoutWidget_2->setGeometry(QRect(240, 60, 81, 46));
|
|
verticalLayout_3 = new QVBoxLayout(layoutWidget_2);
|
|
verticalLayout_3->setSpacing(0);
|
|
verticalLayout_3->setContentsMargins(11, 11, 11, 11);
|
|
verticalLayout_3->setObjectName(QString::fromUtf8("verticalLayout_3"));
|
|
verticalLayout_3->setSizeConstraint(QLayout::SetDefaultConstraint);
|
|
verticalLayout_3->setContentsMargins(0, 0, 0, 0);
|
|
lblVrmsCH1 = new QLabel(layoutWidget_2);
|
|
lblVrmsCH1->setObjectName(QString::fromUtf8("lblVrmsCH1"));
|
|
lblVrmsCH1->setAlignment(Qt::AlignCenter);
|
|
|
|
verticalLayout_3->addWidget(lblVrmsCH1);
|
|
|
|
txtVrmsCH1 = new QLineEdit(layoutWidget_2);
|
|
txtVrmsCH1->setObjectName(QString::fromUtf8("txtVrmsCH1"));
|
|
txtVrmsCH1->setAlignment(Qt::AlignCenter);
|
|
txtVrmsCH1->setReadOnly(true);
|
|
|
|
verticalLayout_3->addWidget(txtVrmsCH1);
|
|
|
|
layoutWidget_3 = new QWidget(centralWidget);
|
|
layoutWidget_3->setObjectName(QString::fromUtf8("layoutWidget_3"));
|
|
layoutWidget_3->setGeometry(QRect(240, 180, 81, 46));
|
|
verticalLayout_4 = new QVBoxLayout(layoutWidget_3);
|
|
verticalLayout_4->setSpacing(0);
|
|
verticalLayout_4->setContentsMargins(11, 11, 11, 11);
|
|
verticalLayout_4->setObjectName(QString::fromUtf8("verticalLayout_4"));
|
|
verticalLayout_4->setSizeConstraint(QLayout::SetDefaultConstraint);
|
|
verticalLayout_4->setContentsMargins(0, 0, 0, 0);
|
|
lblVrmsCH2 = new QLabel(layoutWidget_3);
|
|
lblVrmsCH2->setObjectName(QString::fromUtf8("lblVrmsCH2"));
|
|
lblVrmsCH2->setAlignment(Qt::AlignCenter);
|
|
|
|
verticalLayout_4->addWidget(lblVrmsCH2);
|
|
|
|
txtVrmsCH2 = new QLineEdit(layoutWidget_3);
|
|
txtVrmsCH2->setObjectName(QString::fromUtf8("txtVrmsCH2"));
|
|
txtVrmsCH2->setAlignment(Qt::AlignCenter);
|
|
txtVrmsCH2->setReadOnly(true);
|
|
|
|
verticalLayout_4->addWidget(txtVrmsCH2);
|
|
|
|
widget = new QWidget(centralWidget);
|
|
widget->setObjectName(QString::fromUtf8("widget"));
|
|
widget->setGeometry(QRect(240, 10, 81, 41));
|
|
verticalLayout = new QVBoxLayout(widget);
|
|
verticalLayout->setSpacing(0);
|
|
verticalLayout->setContentsMargins(11, 11, 11, 11);
|
|
verticalLayout->setObjectName(QString::fromUtf8("verticalLayout"));
|
|
verticalLayout->setSizeConstraint(QLayout::SetDefaultConstraint);
|
|
verticalLayout->setContentsMargins(0, 0, 0, 0);
|
|
lblVmCH1 = new QLabel(widget);
|
|
lblVmCH1->setObjectName(QString::fromUtf8("lblVmCH1"));
|
|
lblVmCH1->setAlignment(Qt::AlignCenter);
|
|
|
|
verticalLayout->addWidget(lblVmCH1);
|
|
|
|
txtVmCH1 = new QLineEdit(widget);
|
|
txtVmCH1->setObjectName(QString::fromUtf8("txtVmCH1"));
|
|
txtVmCH1->setAlignment(Qt::AlignCenter);
|
|
txtVmCH1->setReadOnly(true);
|
|
|
|
verticalLayout->addWidget(txtVmCH1);
|
|
|
|
MainWindow->setCentralWidget(centralWidget);
|
|
|
|
retranslateUi(MainWindow);
|
|
|
|
QMetaObject::connectSlotsByName(MainWindow);
|
|
} // setupUi
|
|
|
|
void retranslateUi(QMainWindow *MainWindow)
|
|
{
|
|
MainWindow->setWindowTitle(QApplication::translate("MainWindow", "ADC Test", 0, QApplication::UnicodeUTF8));
|
|
action_Salir->setText(QApplication::translate("MainWindow", "&Salir", 0, QApplication::UnicodeUTF8));
|
|
actionA_cerca_de->setText(QApplication::translate("MainWindow", "A&cerca de...", 0, QApplication::UnicodeUTF8));
|
|
actionAcerca_de_QT->setText(QApplication::translate("MainWindow", "Acerca de &QT", 0, QApplication::UnicodeUTF8));
|
|
actionAcerca_de_Qt->setText(QApplication::translate("MainWindow", "Acerca de &Qt...", 0, QApplication::UnicodeUTF8));
|
|
lblVmCH2->setText(QApplication::translate("MainWindow", "Vm CH2", 0, QApplication::UnicodeUTF8));
|
|
txtVmCH2->setText(QApplication::translate("MainWindow", "##.##", 0, QApplication::UnicodeUTF8));
|
|
lblVrmsCH1->setText(QApplication::translate("MainWindow", "Vrms CH1", 0, QApplication::UnicodeUTF8));
|
|
txtVrmsCH1->setText(QApplication::translate("MainWindow", "##.##", 0, QApplication::UnicodeUTF8));
|
|
lblVrmsCH2->setText(QApplication::translate("MainWindow", "Vrms CH2", 0, QApplication::UnicodeUTF8));
|
|
txtVrmsCH2->setText(QApplication::translate("MainWindow", "##.##", 0, QApplication::UnicodeUTF8));
|
|
lblVmCH1->setText(QApplication::translate("MainWindow", "Vm CH1", 0, QApplication::UnicodeUTF8));
|
|
txtVmCH1->setText(QApplication::translate("MainWindow", "##.##", 0, QApplication::UnicodeUTF8));
|
|
} // retranslateUi
|
|
|
|
};
|
|
|
|
namespace Ui {
|
|
class MainWindow: public Ui_MainWindow {};
|
|
} // namespace Ui
|
|
|
|
QT_END_NAMESPACE
|
|
|
|
#endif // UI_MAINWINDOW_H
|