File indexing completed on 2024-03-24 17:26:38

0001 /*
0002     This file is part of the Okteta Designer plugin, made within the KDE community.
0003 
0004     SPDX-FileCopyrightText: 2009 Friedrich W. H. Kossebau <kossebau@kde.org>
0005 
0006     SPDX-License-Identifier: LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL
0007 */
0008 
0009 #ifndef BYTEARRAYCOLUMNVIEWDESIGNERFACTORY_HPP
0010 #define BYTEARRAYCOLUMNVIEWDESIGNERFACTORY_HPP
0011 
0012 // Qt
0013 #include <QDesignerCustomWidgetInterface>
0014 #include <QObject>
0015 
0016 class ByteArrayColumnViewDesignerFactory : public QObject
0017                                          , public QDesignerCustomWidgetInterface
0018 {
0019     Q_OBJECT
0020     Q_INTERFACES(
0021         QDesignerCustomWidgetInterface
0022     )
0023 
0024 public:
0025     explicit ByteArrayColumnViewDesignerFactory(QObject* parent = nullptr);
0026 
0027 public: // QDesignerCustomWidgetInterface API
0028     QWidget* createWidget(QWidget* parent) override;
0029     QString group() const override;
0030     QIcon icon() const override;
0031     QString includeFile() const override;
0032     bool isContainer() const override;
0033     QString name() const override;
0034     QString toolTip() const override;
0035     QString whatsThis() const override;
0036 };
0037 
0038 #endif