Workspace 6.21.5
Signals | Public Member Functions | List of all members
WriteableFileMenu Class Reference

#include <Tools/WorkflowComparison/writeablefilemenu.h>

Inherits QObject.

Signals

void labelModified (const QString &annotatedLabel)
 

Public Member Functions

 WriteableFileMenu (const QString &label, const QObject *saveReceiver, const char *saveMethod, const char *saveAsMethod=Q_NULLPTR, QWidget *parent=Q_NULLPTR)
 class looks after enable Save and Save menu items
 
 WriteableFileMenu (const QString &label, const QObject *saveReceiver, const char *saveMethod, const char *saveAsMethod=Q_NULLPTR, QWidget *parent=Q_NULLPTR)
 
QString fileName () const
 
QString getAnnotatedLabel () const
 
QString getAnnotatedLabel () const
 
QMenu & menu () const
 
QMenu & menu () const
 
bool modified () const
 
bool modified () const
 
void reset ()
 
void setFileName (const QString &name)
 
void setFileName (const QString &name)
 
void setLabel (const QString &label)
 
void setLabel (const QString &label)
 
void setModified (bool val)
 
void setModified (bool val)
 

Constructor & Destructor Documentation

◆ WriteableFileMenu() [1/2]

WriteableFileMenu ( const QString &  label,
const QObject *  saveReceiver,
const char *  saveMethod,
const char *  saveAsMethod = Q_NULLPTR,
QWidget *  parent = Q_NULLPTR 
)

◆ WriteableFileMenu() [2/2]

WriteableFileMenu ( const QString &  label,
const QObject *  saveReceiver,
const char *  saveMethod,
const char *  saveAsMethod = Q_NULLPTR,
QWidget *  parent = Q_NULLPTR 
)

Member Function Documentation

◆ fileName()

QString fileName ( ) const

◆ getAnnotatedLabel() [1/2]

QString getAnnotatedLabel ( ) const

◆ getAnnotatedLabel() [2/2]

QString getAnnotatedLabel ( ) const

◆ labelModified

void labelModified ( const QString &  annotatedLabel)
signal

◆ menu() [1/2]

QMenu & menu ( ) const

◆ menu() [2/2]

QMenu & menu ( ) const

◆ modified() [1/2]

bool modified ( ) const

◆ modified() [2/2]

bool modified ( ) const

◆ reset()

void reset ( )

◆ setFileName() [1/2]

void setFileName ( const QString &  name)

◆ setFileName() [2/2]

void setFileName ( const QString &  name)

◆ setLabel() [1/2]

void setLabel ( const QString &  label)

◆ setLabel() [2/2]

void setLabel ( const QString &  label)

◆ setModified() [1/2]

void setModified ( bool  val)

◆ setModified() [2/2]

void setModified ( bool  val)