Files
qt-creator/src/libs/aggregation/examples/text/main.h

30 lines
511 B
C
Raw Normal View History

// Copyright (C) 2016 The Qt Company Ltd.
// 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
#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>
#include <QWidget>
2008-12-02 12:01:29 +01:00
class MyMain : public QWidget
{
Q_OBJECT
public:
explicit MyMain(QWidget *parent = 0, Qt::WFlags flags = 0);
2008-12-02 12:01:29 +01:00
~MyMain();
void add(IComboEntry *obj);
private:
2008-12-02 12:01:29 +01:00
void select(int index);
Ui::mainClass ui;
QList<IComboEntry *> m_entries;
};