| 1 |
// Copyright (C) 2021 The Qt Company Ltd. |
| 2 |
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only |
| 3 |
|
| 4 |
#ifndef TABDIALOG_H |
| 5 |
#define TABDIALOG_H |
| 6 |
#include <QTabWidget> |
| 7 |
#include <QtWidgets> |
| 8 |
|
| 9 |
class GeneralTab : public QWidget |
| 10 |
{ |
| 11 |
Q_OBJECT |
| 12 |
|
| 13 |
public: |
| 14 |
|
| 15 |
explicit GeneralTab(QWidget *parent = nullptr); |
| 16 |
}; |
| 17 |
|
| 18 |
class EditViewTab : public QWidget |
| 19 |
{ |
| 20 |
|
| 21 |
Q_OBJECT |
| 22 |
private: |
| 23 |
bool b_connected = false; |
| 24 |
QPlainTextEdit* textEdit =nullptr; |
| 25 |
QToolBar* m_toolbar= nullptr; |
| 26 |
public: |
| 27 |
void showEvent( QShowEvent* event ) ; |
| 28 |
QPlainTextEdit* getTextEdit(){return textEdit;} |
| 29 |
explicit EditViewTab( QWidget *parent = nullptr); |
| 30 |
signals: |
| 31 |
void connectToToolBar(); |
| 32 |
}; |
| 33 |
|
| 34 |
#endif |