DebugConsole.h 7.46 KB
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47
/********************************************************************************
** Form generated from reading UI file 'DebugConsole.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 DEBUGCONSOLE_H
#define DEBUGCONSOLE_H

#include <QtCore/QVariant>
#include <QtGui/QAction>
#include <QtGui/QApplication>
#include <QtGui/QButtonGroup>
#include <QtGui/QCheckBox>
#include <QtGui/QComboBox>
#include <QtGui/QGridLayout>
#include <QtGui/QHBoxLayout>
#include <QtGui/QHeaderView>
#include <QtGui/QLabel>
#include <QtGui/QLineEdit>
#include <QtGui/QPlainTextEdit>
#include <QtGui/QPushButton>
#include <QtGui/QWidget>

QT_BEGIN_NAMESPACE

class Ui_DebugConsole
{
public:
    QGridLayout *gridLayout;
    QHBoxLayout *horizontalLayout_2;
    QComboBox *linkComboBox;
    QLabel *speedLabel;
    QCheckBox *mavlinkCheckBox;
    QCheckBox *hexCheckBox;
    QCheckBox *holdCheckBox;
    QPlainTextEdit *receiveText;
    QLineEdit *sentText;
    QLineEdit *sendText;
    QHBoxLayout *horizontalLayout;
    QPushButton *transmitButton;
    QPushButton *holdButton;
    QPushButton *clearButton;

48
    void setupUi(QWidget *DebugConsole) {
49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 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
        if (DebugConsole->objectName().isEmpty())
            DebugConsole->setObjectName(QString::fromUtf8("DebugConsole"));
        DebugConsole->resize(435, 185);
        gridLayout = new QGridLayout(DebugConsole);
        gridLayout->setContentsMargins(6, 6, 6, 6);
        gridLayout->setObjectName(QString::fromUtf8("gridLayout"));
        gridLayout->setHorizontalSpacing(6);
        gridLayout->setVerticalSpacing(4);
        horizontalLayout_2 = new QHBoxLayout();
        horizontalLayout_2->setObjectName(QString::fromUtf8("horizontalLayout_2"));
        linkComboBox = new QComboBox(DebugConsole);
        linkComboBox->setObjectName(QString::fromUtf8("linkComboBox"));
        linkComboBox->setMaximumSize(QSize(130, 16777215));

        horizontalLayout_2->addWidget(linkComboBox);

        speedLabel = new QLabel(DebugConsole);
        speedLabel->setObjectName(QString::fromUtf8("speedLabel"));

        horizontalLayout_2->addWidget(speedLabel);

        mavlinkCheckBox = new QCheckBox(DebugConsole);
        mavlinkCheckBox->setObjectName(QString::fromUtf8("mavlinkCheckBox"));

        horizontalLayout_2->addWidget(mavlinkCheckBox);

        hexCheckBox = new QCheckBox(DebugConsole);
        hexCheckBox->setObjectName(QString::fromUtf8("hexCheckBox"));

        horizontalLayout_2->addWidget(hexCheckBox);

        holdCheckBox = new QCheckBox(DebugConsole);
        holdCheckBox->setObjectName(QString::fromUtf8("holdCheckBox"));

        horizontalLayout_2->addWidget(holdCheckBox);

        horizontalLayout_2->setStretch(0, 10);

        gridLayout->addLayout(horizontalLayout_2, 0, 0, 1, 2);

        receiveText = new QPlainTextEdit(DebugConsole);
        receiveText->setObjectName(QString::fromUtf8("receiveText"));

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

        sentText = new QLineEdit(DebugConsole);
        sentText->setObjectName(QString::fromUtf8("sentText"));
        sentText->setReadOnly(true);

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

        sendText = new QLineEdit(DebugConsole);
        sendText->setObjectName(QString::fromUtf8("sendText"));

        gridLayout->addWidget(sendText, 3, 0, 1, 1);

        horizontalLayout = new QHBoxLayout();
        horizontalLayout->setObjectName(QString::fromUtf8("horizontalLayout"));
        transmitButton = new QPushButton(DebugConsole);
        transmitButton->setObjectName(QString::fromUtf8("transmitButton"));
        QIcon icon;
110
        icon.addFile(QString::fromUtf8(":/files/images/devices/network-wireless.svg"), QSize(), QIcon::Normal, QIcon::Off);
111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135
        transmitButton->setIcon(icon);

        horizontalLayout->addWidget(transmitButton);

        holdButton = new QPushButton(DebugConsole);
        holdButton->setObjectName(QString::fromUtf8("holdButton"));
        holdButton->setCheckable(true);

        horizontalLayout->addWidget(holdButton);

        clearButton = new QPushButton(DebugConsole);
        clearButton->setObjectName(QString::fromUtf8("clearButton"));

        horizontalLayout->addWidget(clearButton);


        gridLayout->addLayout(horizontalLayout, 3, 1, 1, 1);


        retranslateUi(DebugConsole);
        QObject::connect(clearButton, SIGNAL(clicked()), receiveText, SLOT(clear()));

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

136
    void retranslateUi(QWidget *DebugConsole) {
137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173
        DebugConsole->setWindowTitle(QApplication::translate("DebugConsole", "Form", 0, QApplication::UnicodeUTF8));
#ifndef QT_NO_TOOLTIP
        linkComboBox->setToolTip(QApplication::translate("DebugConsole", "Select the link to monitor", 0, QApplication::UnicodeUTF8));
#endif // QT_NO_TOOLTIP
        speedLabel->setText(QApplication::translate("DebugConsole", "0.0 kB/s", 0, QApplication::UnicodeUTF8));
#ifndef QT_NO_TOOLTIP
        mavlinkCheckBox->setToolTip(QApplication::translate("DebugConsole", "Ignore MAVLINK protocol messages in display", 0, QApplication::UnicodeUTF8));
#endif // QT_NO_TOOLTIP
        mavlinkCheckBox->setText(QApplication::translate("DebugConsole", "No MAVLINK", 0, QApplication::UnicodeUTF8));
#ifndef QT_NO_TOOLTIP
        hexCheckBox->setToolTip(QApplication::translate("DebugConsole", "Display and send bytes in HEX representation", 0, QApplication::UnicodeUTF8));
#endif // QT_NO_TOOLTIP
        hexCheckBox->setText(QApplication::translate("DebugConsole", "HEX", 0, QApplication::UnicodeUTF8));
#ifndef QT_NO_TOOLTIP
        holdCheckBox->setToolTip(QApplication::translate("DebugConsole", "Saves CPU ressources, automatically set view to hold if data rate is too high to prevent fast scrolling", 0, QApplication::UnicodeUTF8));
#endif // QT_NO_TOOLTIP
#ifndef QT_NO_STATUSTIP
        holdCheckBox->setStatusTip(QApplication::translate("DebugConsole", "Saves CPU ressources, automatically set view to hold if data rate is too high to prevent fast scrolling", 0, QApplication::UnicodeUTF8));
#endif // QT_NO_STATUSTIP
#ifndef QT_NO_WHATSTHIS
        holdCheckBox->setWhatsThis(QApplication::translate("DebugConsole", "Enable auto hold to lower the CPU consumption", 0, QApplication::UnicodeUTF8));
#endif // QT_NO_WHATSTHIS
        holdCheckBox->setText(QApplication::translate("DebugConsole", "Auto hold", 0, QApplication::UnicodeUTF8));
        sentText->setText(QApplication::translate("DebugConsole", "Enter data/text below to send", 0, QApplication::UnicodeUTF8));
#ifndef QT_NO_TOOLTIP
        sendText->setToolTip(QApplication::translate("DebugConsole", "Type the bytes to send here, use 0xAA format for HEX (Check HEX checkbox above)", 0, QApplication::UnicodeUTF8));
#endif // QT_NO_TOOLTIP
#ifndef QT_NO_TOOLTIP
        transmitButton->setToolTip(QApplication::translate("DebugConsole", "Send the ASCII text or HEX values over the link", 0, QApplication::UnicodeUTF8));
#endif // QT_NO_TOOLTIP
        transmitButton->setText(QApplication::translate("DebugConsole", "Send", 0, QApplication::UnicodeUTF8));
        holdButton->setText(QApplication::translate("DebugConsole", "Hold", 0, QApplication::UnicodeUTF8));
        clearButton->setText(QApplication::translate("DebugConsole", "Clear", 0, QApplication::UnicodeUTF8));
    } // retranslateUi

};

174 175 176
namespace Ui
{
class DebugConsole: public Ui_DebugConsole {};
177 178 179 180 181
} // namespace Ui

QT_END_NAMESPACE

#endif // DEBUGCONSOLE_H