Mercurial > public > ostc_companion
view ui_LogEditor - Kopie.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 5.13.0 ** ** 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/QFrame> #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; QFrame *line_4; QFrame *line; 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(QString::fromUtf8("editLogWnd")); editLogWnd->resize(853, 385); noPortLabel = new QLabel(editLogWnd); noPortLabel->setObjectName(QString::fromUtf8("noPortLabel")); noPortLabel->setGeometry(QRect(9, 34, 16, 16)); QSizePolicy sizePolicy(QSizePolicy::Ignored, QSizePolicy::Preferred); sizePolicy.setHorizontalStretch(0); sizePolicy.setVerticalStretch(0); sizePolicy.setHeightForWidth(noPortLabel->sizePolicy().hasHeightForWidth()); noPortLabel->setSizePolicy(sizePolicy); noPortLabel->setTextFormat(Qt::RichText); noPortLabel->setAlignment(Qt::AlignCenter); noPortLabel->setOpenExternalLinks(true); line_4 = new QFrame(editLogWnd); line_4->setObjectName(QString::fromUtf8("line_4")); line_4->setGeometry(QRect(20, 150, 341, 16)); line_4->setFrameShape(QFrame::HLine); line_4->setFrameShadow(QFrame::Sunken); line = new QFrame(editLogWnd); line->setObjectName(QString::fromUtf8("line")); line->setGeometry(QRect(20, 300, 341, 20)); line->setFrameShape(QFrame::HLine); line->setFrameShadow(QFrame::Sunken); WriteAllHeader = new QPushButton(editLogWnd); WriteAllHeader->setObjectName(QString::fromUtf8("WriteAllHeader")); WriteAllHeader->setGeometry(QRect(30, 80, 101, 23)); okB = new QPushButton(editLogWnd); okB->setObjectName(QString::fromUtf8("okB")); okB->setGeometry(QRect(240, 330, 75, 23)); okB->setAutoDefault(false); ReadAllSamples = new QPushButton(editLogWnd); ReadAllSamples->setObjectName(QString::fromUtf8("ReadAllSamples")); ReadAllSamples->setGeometry(QRect(30, 230, 101, 23)); WriteAllSamples = new QPushButton(editLogWnd); WriteAllSamples->setObjectName(QString::fromUtf8("WriteAllSamples")); WriteAllSamples->setGeometry(QRect(30, 260, 101, 23)); HeaderUsage = new QProgressBar(editLogWnd); HeaderUsage->setObjectName(QString::fromUtf8("HeaderUsage")); HeaderUsage->setGeometry(QRect(30, 20, 131, 23)); HeaderUsage->setValue(24); SampleUsage = new QProgressBar(editLogWnd); SampleUsage->setObjectName(QString::fromUtf8("SampleUsage")); SampleUsage->setGeometry(QRect(30, 190, 131, 23)); SampleUsage->setValue(24); pushButton = new QPushButton(editLogWnd); pushButton->setObjectName(QString::fromUtf8("pushButton")); pushButton->setGeometry(QRect(30, 50, 101, 23)); SectorView = new QTableWidget(editLogWnd); SectorView->setObjectName(QString::fromUtf8("SectorView")); SectorView->setGeometry(QRect(180, 10, 151, 131)); pushButton_2 = new QPushButton(editLogWnd); pushButton_2->setObjectName(QString::fromUtf8("pushButton_2")); pushButton_2->setGeometry(QRect(110, 330, 75, 23)); LoadDump = new QPushButton(editLogWnd); LoadDump->setObjectName(QString::fromUtf8("LoadDump")); LoadDump->setGeometry(QRect(20, 330, 75, 23)); label = new QLabel(editLogWnd); label->setObjectName(QString::fromUtf8("label")); label->setGeometry(QRect(520, 10, 47, 13)); textBrowser_2 = new QTextBrowser(editLogWnd); textBrowser_2->setObjectName(QString::fromUtf8("textBrowser_2")); textBrowser_2->setGeometry(QRect(570, 10, 256, 361)); SampleView = new QTableWidget(editLogWnd); SampleView->setObjectName(QString::fromUtf8("SampleView")); SampleView->setGeometry(QRect(180, 180, 171, 41)); ResetSampleAddr = new QPushButton(editLogWnd); ResetSampleAddr->setObjectName(QString::fromUtf8("ResetSampleAddr")); ResetSampleAddr->setGeometry(QRect(340, 10, 101, 23)); retranslateUi(editLogWnd); QObject::connect(okB, SIGNAL(clicked()), editLogWnd, SLOT(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
