XX CMake Package
Loading...
Searching...
No Matches
XXPopulatedMenuBar.h
Go to the documentation of this file.
1#ifndef XXPopulatedMenuBarH
2#define XXPopulatedMenuBarH
3
5#include <QMenuBar>
6
7namespace XX
8{
9 namespace Populated
10 {
13
14 class XXAPPLICATION_DECLSPEC MenuBar : public QMenuBar
15 {
16 Q_OBJECT
17 Q_PROPERTY(QString menuBarName READ getMenuBarName WRITE setMenuBarName NOTIFY menuBarNameChanged)
18
19 public:
20 explicit MenuBar(QWidget* parent = nullptr);
21
22 signals:
24
25 public:
26 const QString& getMenuBarName() const;
27 void setMenuBarName(const QString& name);
28 void init();
29
30 private:
31 QString menuBarName;
32 };
33 } // namespace Populated
34} // namespace XX
35
36#endif // NOT XXPopulatedMenuBarH
#define XXAPPLICATION_DECLSPEC
Definition XXApplicationExportDef.h:11
const QString & getMenuBarName() const
void setMenuBarName(const QString &name)
QString menuBarName
Definition XXPopulatedMenuBar.h:17
MenuBar(QWidget *parent=nullptr)
Definition XXPopulatedAbstract.h:13
Definition XXPopulatedAbstract.h:11