29 lines
377 B
C++
29 lines
377 B
C++
#ifndef MENUBAR_H
|
|
#define MENUBAR_H
|
|
|
|
#include <QskLinearBox.h>
|
|
|
|
class MenuItem : public QskLinearBox
|
|
{
|
|
Q_OBJECT
|
|
|
|
public:
|
|
MenuItem( const QString& name, QQuickItem* parent );
|
|
|
|
private:
|
|
QString m_name;
|
|
};
|
|
|
|
class MenuBar : public QskLinearBox
|
|
{
|
|
Q_OBJECT
|
|
|
|
public:
|
|
MenuBar( QQuickItem* parent );
|
|
|
|
private:
|
|
QList< QString > m_entries;
|
|
};
|
|
|
|
#endif // MENUBAR_H
|