view ui_LogEditor.h @ 2:177f640940f2

Update exception class and cleanup redifinitions During firmware download and exception caused the application to stop. Rootcause was the defference between QT5 and QT6 exception and string handling which is updated now. In addition some old definitions were removed to avoid compiler warnings.
author Ideenmodellierer
date Fri, 28 Nov 2025 19:57:35 +0100
parents 0b3630a29ad8
children
line wrap: on
line source

/********************************************************************************
** Form generated from reading UI file 'LogEditor.ui'
**
** Created by: Qt User Interface Compiler version 6.10.1
**
** WARNING! All changes made in this file will be lost when recompiling UI file!
********************************************************************************/

#ifndef UI_LOGEDITOR_H
#define UI_LOGEDITOR_H

#include <QtCore/QVariant>
#include <QtWidgets/QApplication>
#include <QtWidgets/QDialog>
#include <QtWidgets/QHeaderView>
#include <QtWidgets/QLabel>
#include <QtWidgets/QProgressBar>
#include <QtWidgets/QPushButton>
#include <QtWidgets/QTableWidget>
#include <QtWidgets/QTextBrowser>

QT_BEGIN_NAMESPACE

class Ui_editLogWnd
{
public:
    QLabel *noPortLabel;
    QPushButton *WriteAllHeader;
    QPushButton *okB;
    QPushButton *ReadAllSamples;
    QPushButton *WriteAllSamples;
    QProgressBar *HeaderUsage;
    QProgressBar *SampleUsage;
    QPushButton *pushButton;
    QTableWidget *SectorView;
    QPushButton *pushButton_2;
    QPushButton *LoadDump;
    QLabel *label;
    QTextBrowser *textBrowser_2;
    QTableWidget *SampleView;
    QPushButton *ResetSampleAddr;

    void setupUi(QDialog *editLogWnd)
    {
        if (editLogWnd->objectName().isEmpty())
            editLogWnd->setObjectName("editLogWnd");
        editLogWnd->resize(853, 385);
        noPortLabel = new QLabel(editLogWnd);
        noPortLabel->setObjectName("noPortLabel");
        noPortLabel->setGeometry(QRect(9, 34, 16, 16));
        QSizePolicy sizePolicy(QSizePolicy::Policy::Ignored, QSizePolicy::Policy::Preferred);
        sizePolicy.setHorizontalStretch(0);
        sizePolicy.setVerticalStretch(0);
        sizePolicy.setHeightForWidth(noPortLabel->sizePolicy().hasHeightForWidth());
        noPortLabel->setSizePolicy(sizePolicy);
        noPortLabel->setTextFormat(Qt::TextFormat::RichText);
        noPortLabel->setAlignment(Qt::AlignmentFlag::AlignCenter);
        noPortLabel->setOpenExternalLinks(true);
        WriteAllHeader = new QPushButton(editLogWnd);
        WriteAllHeader->setObjectName("WriteAllHeader");
        WriteAllHeader->setGeometry(QRect(30, 80, 101, 23));
        okB = new QPushButton(editLogWnd);
        okB->setObjectName("okB");
        okB->setGeometry(QRect(220, 330, 75, 23));
        okB->setAutoDefault(false);
        ReadAllSamples = new QPushButton(editLogWnd);
        ReadAllSamples->setObjectName("ReadAllSamples");
        ReadAllSamples->setGeometry(QRect(30, 230, 101, 23));
        WriteAllSamples = new QPushButton(editLogWnd);
        WriteAllSamples->setObjectName("WriteAllSamples");
        WriteAllSamples->setGeometry(QRect(30, 260, 101, 23));
        HeaderUsage = new QProgressBar(editLogWnd);
        HeaderUsage->setObjectName("HeaderUsage");
        HeaderUsage->setGeometry(QRect(30, 20, 131, 23));
        HeaderUsage->setValue(24);
        SampleUsage = new QProgressBar(editLogWnd);
        SampleUsage->setObjectName("SampleUsage");
        SampleUsage->setGeometry(QRect(30, 190, 131, 23));
        SampleUsage->setValue(24);
        pushButton = new QPushButton(editLogWnd);
        pushButton->setObjectName("pushButton");
        pushButton->setGeometry(QRect(30, 50, 101, 23));
        SectorView = new QTableWidget(editLogWnd);
        SectorView->setObjectName("SectorView");
        SectorView->setGeometry(QRect(180, 10, 151, 131));
        pushButton_2 = new QPushButton(editLogWnd);
        pushButton_2->setObjectName("pushButton_2");
        pushButton_2->setGeometry(QRect(110, 330, 75, 23));
        LoadDump = new QPushButton(editLogWnd);
        LoadDump->setObjectName("LoadDump");
        LoadDump->setGeometry(QRect(20, 330, 75, 23));
        label = new QLabel(editLogWnd);
        label->setObjectName("label");
        label->setGeometry(QRect(520, 10, 47, 13));
        textBrowser_2 = new QTextBrowser(editLogWnd);
        textBrowser_2->setObjectName("textBrowser_2");
        textBrowser_2->setGeometry(QRect(570, 10, 256, 361));
        textBrowser_2->setAcceptRichText(true);
        SampleView = new QTableWidget(editLogWnd);
        SampleView->setObjectName("SampleView");
        SampleView->setGeometry(QRect(180, 180, 171, 41));
        ResetSampleAddr = new QPushButton(editLogWnd);
        ResetSampleAddr->setObjectName("ResetSampleAddr");
        ResetSampleAddr->setGeometry(QRect(340, 10, 101, 23));

        retranslateUi(editLogWnd);
        QObject::connect(okB, &QPushButton::clicked, editLogWnd, qOverload<>(&QDialog::accept));

        okB->setDefault(true);


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

    void retranslateUi(QDialog *editLogWnd)
    {
        editLogWnd->setWindowTitle(QCoreApplication::translate("editLogWnd", "OSTC Companion settings", nullptr));
        WriteAllHeader->setText(QCoreApplication::translate("editLogWnd", "WriteAllHeader", nullptr));
        okB->setText(QCoreApplication::translate("editLogWnd", "OK", nullptr));
#if QT_CONFIG(shortcut)
        okB->setShortcut(QCoreApplication::translate("editLogWnd", "Return", nullptr));
#endif // QT_CONFIG(shortcut)
        ReadAllSamples->setText(QCoreApplication::translate("editLogWnd", "ReadAllSamples", nullptr));
        WriteAllSamples->setText(QCoreApplication::translate("editLogWnd", "WriteAllSamples", nullptr));
        pushButton->setText(QCoreApplication::translate("editLogWnd", "ReadAllHeader", nullptr));
        pushButton_2->setText(QCoreApplication::translate("editLogWnd", "Save Dump", nullptr));
        LoadDump->setText(QCoreApplication::translate("editLogWnd", "Load Dump", nullptr));
        label->setText(QCoreApplication::translate("editLogWnd", "Info", nullptr));
        ResetSampleAddr->setText(QCoreApplication::translate("editLogWnd", "ResetSampleAddr", nullptr));
    } // retranslateUi

};

namespace Ui {
    class editLogWnd: public Ui_editLogWnd {};
} // namespace Ui

QT_END_NAMESPACE

#endif // UI_LOGEDITOR_H