MuseScore  3.4
Music composition and notation
Signals | Public Member Functions | Properties | Private Attributes | List of all members
Ms::QmlMenuItem Class Reference

#include <nativemenu.h>

Inheritance diagram for Ms::QmlMenuItem:
Inheritance graph
[legend]
Collaboration diagram for Ms::QmlMenuItem:
Collaboration graph
[legend]

Signals

void triggered (bool checked)
 

Public Member Functions

 QmlMenuItem (QObject *parent=nullptr)
 
const QString & text () const
 
bool checkable () const
 
bool checked () const
 
bool enabled () const
 

Properties

QString text
 
bool checkable
 
bool checked
 
bool enabled
 

Private Attributes

QString _text
 
bool _checkable = false
 
bool _checked = false
 
bool _enabled = true
 

Constructor & Destructor Documentation

◆ QmlMenuItem()

Ms::QmlMenuItem::QmlMenuItem ( QObject *  parent = nullptr)
inline

Member Function Documentation

◆ checkable()

bool Ms::QmlMenuItem::checkable ( ) const
inline

◆ checked()

bool Ms::QmlMenuItem::checked ( ) const
inline

◆ enabled()

bool Ms::QmlMenuItem::enabled ( ) const
inline

◆ text()

const QString& Ms::QmlMenuItem::text ( ) const
inline

◆ triggered

void Ms::QmlMenuItem::triggered ( bool  checked)
signal

Member Data Documentation

◆ _checkable

bool Ms::QmlMenuItem::_checkable = false
private

◆ _checked

bool Ms::QmlMenuItem::_checked = false
private

◆ _enabled

bool Ms::QmlMenuItem::_enabled = true
private

◆ _text

QString Ms::QmlMenuItem::_text
private

Property Documentation

◆ checkable

bool Ms::QmlMenuItem::checkable

◆ checked

bool Ms::QmlMenuItem::checked

◆ enabled

bool Ms::QmlMenuItem::enabled

◆ text

QString Ms::QmlMenuItem::text

The documentation for this class was generated from the following file: