2022-08-19 15:59:36 +02:00
|
|
|
// Copyright (C) 2016 The Qt Company Ltd.
|
2023-01-04 08:52:22 +01:00
|
|
|
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
|
2008-12-02 14:09:21 +01:00
|
|
|
|
2016-03-18 07:55:01 +01:00
|
|
|
#pragma once
|
2008-12-02 12:01:29 +01:00
|
|
|
|
|
|
|
|
#include "myinterfaces.h"
|
2008-12-02 14:09:21 +01:00
|
|
|
#include "ui_main.h"
|
2008-12-02 12:01:29 +01:00
|
|
|
|
|
|
|
|
#include <aggregate.h>
|
|
|
|
|
|
2012-02-15 10:42:41 +01:00
|
|
|
#include <QWidget>
|
2008-12-02 12:01:29 +01:00
|
|
|
|
|
|
|
|
class MyMain : public QWidget
|
|
|
|
|
{
|
|
|
|
|
Q_OBJECT
|
|
|
|
|
|
|
|
|
|
public:
|
2010-08-26 18:35:30 +02:00
|
|
|
explicit MyMain(QWidget *parent = 0, Qt::WFlags flags = 0);
|
2008-12-02 12:01:29 +01:00
|
|
|
~MyMain();
|
|
|
|
|
|
|
|
|
|
void add(IComboEntry *obj);
|
|
|
|
|
|
2016-05-31 22:36:09 +03:00
|
|
|
private:
|
2008-12-02 12:01:29 +01:00
|
|
|
void select(int index);
|
|
|
|
|
|
|
|
|
|
Ui::mainClass ui;
|
|
|
|
|
|
|
|
|
|
QList<IComboEntry *> m_entries;
|
|
|
|
|
};
|