XMLCommProtocolWidget.h 6.17 KB
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13
/********************************************************************************
** Form generated from reading UI file 'XMLCommProtocolWidget.ui'
**
** Created: Sun Jul 11 18:53:34 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 XMLCOMMPROTOCOLWIDGET_H
#define XMLCOMMPROTOCOLWIDGET_H

#include <QtCore/QVariant>
14 15 16 17 18 19 20 21 22 23 24
#include <QAction>
#include <QApplication>
#include <QButtonGroup>
#include <QGridLayout>
#include <QHeaderView>
#include <QLabel>
#include <QPlainTextEdit>
#include <QPushButton>
#include <QTextEdit>
#include <QTreeView>
#include <QWidget>
25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43

QT_BEGIN_NAMESPACE

class Ui_XMLCommProtocolWidget
{
public:
    QGridLayout *gridLayout;
    QLabel *fileNameLabel;
    QPushButton *selectFileButton;
    QTextEdit *xmlTextView;
    QLabel *outputDirNameLabel;
    QPushButton *selectOutputButton;
    QTreeView *xmlTreeView;
    QLabel *label;
    QPlainTextEdit *compileLog;
    QLabel *validXMLLabel;
    QPushButton *saveButton;
    QPushButton *generateButton;

44
    void setupUi(QWidget *XMLCommProtocolWidget) {
45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62
        if (XMLCommProtocolWidget->objectName().isEmpty())
            XMLCommProtocolWidget->setObjectName(QString::fromUtf8("XMLCommProtocolWidget"));
        XMLCommProtocolWidget->resize(846, 480);
        gridLayout = new QGridLayout(XMLCommProtocolWidget);
        gridLayout->setSpacing(12);
        gridLayout->setObjectName(QString::fromUtf8("gridLayout"));
        gridLayout->setContentsMargins(-1, 6, 6, 6);
        fileNameLabel = new QLabel(XMLCommProtocolWidget);
        fileNameLabel->setObjectName(QString::fromUtf8("fileNameLabel"));
        fileNameLabel->setMaximumSize(QSize(300, 16777215));
        fileNameLabel->setScaledContents(true);
        fileNameLabel->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);

        gridLayout->addWidget(fileNameLabel, 0, 0, 1, 1);

        selectFileButton = new QPushButton(XMLCommProtocolWidget);
        selectFileButton->setObjectName(QString::fromUtf8("selectFileButton"));
        QIcon icon;
63
        icon.addFile(QString::fromUtf8(":/files/images/status/folder-open.svg"), QSize(), QIcon::Normal, QIcon::Off);
64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114
        selectFileButton->setIcon(icon);

        gridLayout->addWidget(selectFileButton, 0, 2, 1, 1);

        xmlTextView = new QTextEdit(XMLCommProtocolWidget);
        xmlTextView->setObjectName(QString::fromUtf8("xmlTextView"));
        xmlTextView->setReadOnly(false);

        gridLayout->addWidget(xmlTextView, 0, 3, 6, 1);

        outputDirNameLabel = new QLabel(XMLCommProtocolWidget);
        outputDirNameLabel->setObjectName(QString::fromUtf8("outputDirNameLabel"));
        outputDirNameLabel->setMaximumSize(QSize(400, 16777215));
        outputDirNameLabel->setScaledContents(true);

        gridLayout->addWidget(outputDirNameLabel, 1, 0, 1, 2);

        selectOutputButton = new QPushButton(XMLCommProtocolWidget);
        selectOutputButton->setObjectName(QString::fromUtf8("selectOutputButton"));
        selectOutputButton->setIcon(icon);

        gridLayout->addWidget(selectOutputButton, 1, 2, 1, 1);

        xmlTreeView = new QTreeView(XMLCommProtocolWidget);
        xmlTreeView->setObjectName(QString::fromUtf8("xmlTreeView"));

        gridLayout->addWidget(xmlTreeView, 2, 0, 1, 3);

        label = new QLabel(XMLCommProtocolWidget);
        label->setObjectName(QString::fromUtf8("label"));

        gridLayout->addWidget(label, 3, 0, 1, 2);

        compileLog = new QPlainTextEdit(XMLCommProtocolWidget);
        compileLog->setObjectName(QString::fromUtf8("compileLog"));

        gridLayout->addWidget(compileLog, 4, 0, 1, 3);

        validXMLLabel = new QLabel(XMLCommProtocolWidget);
        validXMLLabel->setObjectName(QString::fromUtf8("validXMLLabel"));

        gridLayout->addWidget(validXMLLabel, 5, 0, 1, 1);

        saveButton = new QPushButton(XMLCommProtocolWidget);
        saveButton->setObjectName(QString::fromUtf8("saveButton"));

        gridLayout->addWidget(saveButton, 5, 1, 1, 1);

        generateButton = new QPushButton(XMLCommProtocolWidget);
        generateButton->setObjectName(QString::fromUtf8("generateButton"));
        QIcon icon1;
115
        icon1.addFile(QString::fromUtf8(":/files/images/categories/applications-system.svg"), QSize(), QIcon::Normal, QIcon::Off);
116 117 118 119 120 121 122 123 124 125 126 127 128 129 130
        generateButton->setIcon(icon1);

        gridLayout->addWidget(generateButton, 5, 2, 1, 1);

        gridLayout->setRowStretch(2, 100);
        gridLayout->setColumnStretch(0, 1);
        gridLayout->setColumnStretch(1, 1);
        gridLayout->setColumnStretch(2, 1);
        gridLayout->setColumnStretch(3, 100);

        retranslateUi(XMLCommProtocolWidget);

        QMetaObject::connectSlotsByName(XMLCommProtocolWidget);
    } // setupUi

131
    void retranslateUi(QWidget *XMLCommProtocolWidget) {
132 133 134 135 136 137 138 139 140 141 142 143 144
        XMLCommProtocolWidget->setWindowTitle(QApplication::translate("XMLCommProtocolWidget", "Form", 0, QApplication::UnicodeUTF8));
        fileNameLabel->setText(QApplication::translate("XMLCommProtocolWidget", "Select input file", 0, QApplication::UnicodeUTF8));
        selectFileButton->setText(QApplication::translate("XMLCommProtocolWidget", "Select input file", 0, QApplication::UnicodeUTF8));
        outputDirNameLabel->setText(QApplication::translate("XMLCommProtocolWidget", "Select output directory", 0, QApplication::UnicodeUTF8));
        selectOutputButton->setText(QApplication::translate("XMLCommProtocolWidget", "Select directory", 0, QApplication::UnicodeUTF8));
        label->setText(QApplication::translate("XMLCommProtocolWidget", "Compile Output", 0, QApplication::UnicodeUTF8));
        validXMLLabel->setText(QApplication::translate("XMLCommProtocolWidget", "No file loaded", 0, QApplication::UnicodeUTF8));
        saveButton->setText(QApplication::translate("XMLCommProtocolWidget", "Save file", 0, QApplication::UnicodeUTF8));
        generateButton->setText(QApplication::translate("XMLCommProtocolWidget", "Save and generate", 0, QApplication::UnicodeUTF8));
    } // retranslateUi

};

145 146 147
namespace Ui
{
class XMLCommProtocolWidget: public Ui_XMLCommProtocolWidget {};
148 149 150 151 152
} // namespace Ui

QT_END_NAMESPACE

#endif // XMLCOMMPROTOCOLWIDGET_H