dRonin  adbada4
dRonin GCS
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Groups Pages
Core::ModeManager Class Reference

#include <modemanager.h>

Inheritance diagram for Core::ModeManager:

Public Slots

void activateMode (const QString &id)
 
void activateModeByWorkspaceName (const QString &id)
 
void setFocusToCurrentMode ()
 
void triggerAction (const QString &actionId)
 

Signals

void currentModeAboutToChange (Core::IMode *mode)
 
void currentModeChanged (Core::IMode *mode)
 
void newModeOrder (QVector< IMode * > modes)
 
void modesChanged ()
 

Public Member Functions

 ModeManager (Internal::MainWindow *mainWindow, MyTabWidget *modeStack)
 
void init ()
 
IModecurrentMode () const
 
IModemode (const QString &id) const
 
void addAction (Command *command, int priority, QMenu *menu=nullptr)
 
void addWidget (QWidget *widget)
 
void updateModeNameIcon (IMode *mode, const QIcon &icon, const QString &label)
 
QVector< IMode * > modes () const
 
void reorderModes (QMap< QString, int > priorities)
 

Static Public Member Functions

static ModeManagerinstance ()
 

Detailed Description

Definition at line 54 of file modemanager.h.


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