2020-05-22 07:47:09 +00:00
|
|
|
#ifndef MENUBAR_H
|
|
|
|
#define MENUBAR_H
|
|
|
|
|
|
|
|
#include <QskLinearBox.h>
|
|
|
|
|
2020-05-22 09:48:05 +00:00
|
|
|
class MenuItem : public QskLinearBox
|
|
|
|
{
|
|
|
|
Q_OBJECT
|
|
|
|
|
|
|
|
public:
|
|
|
|
MenuItem( const QString& name, QQuickItem* parent );
|
|
|
|
|
|
|
|
private:
|
|
|
|
QString m_name;
|
|
|
|
};
|
|
|
|
|
2020-05-22 07:47:09 +00:00
|
|
|
class MenuBar : public QskLinearBox
|
|
|
|
{
|
|
|
|
Q_OBJECT
|
|
|
|
|
|
|
|
public:
|
|
|
|
MenuBar( QQuickItem* parent );
|
|
|
|
|
|
|
|
private:
|
|
|
|
QList< QString > m_entries;
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif // MENUBAR_H
|