mirror of
https://gitlab.freedesktop.org/dabrain34/GstPipelineStudio.git
synced 2024-09-25 21:20:07 +00:00
e57555ca10
Allow to have a display name and a name.
22 lines
385 B
C++
22 lines
385 B
C++
#ifndef CUSTOM_MENU_ACTION_H_
|
|
#define CUSTOM_MENU_ACTION_H_
|
|
|
|
|
|
#include <QAction>
|
|
|
|
class CustomMenuAction: public QAction
|
|
{
|
|
public:
|
|
CustomMenuAction(const QString& displayName, QObject * parent);
|
|
|
|
CustomMenuAction(const QString& displayName, const QString& name, QObject * parent);
|
|
|
|
QString getName() { return m_name;}
|
|
|
|
private:
|
|
QString m_name;
|
|
};
|
|
|
|
|
|
|
|
#endif //CUSTOM_MENU_ACTION_H_
|