Scribus
Open source desktop publishing at your fingertips
ScMWMenuManager Class Reference
Inheritance diagram for ScMWMenuManager:
Collaboration diagram for ScMWMenuManager:

Public Slots

void languageChange ()
 
- Public Slots inherited from MenuManager
void languageChange ()
 

Public Member Functions

 ScMWMenuManager (QMenuBar *mb, QObject *parent=0)
 
- Public Member Functions inherited from MenuManager
 MenuManager (QMenuBar *mb, QObject *parent=0)
 
bool addMenuToWidgetOfAction (const QString &menuName, ScrAction *action)
 
bool createMenu (const QString &menuName, const QString &menuText=QString::null, const QString parent=QString::null, bool checkable=false, bool rememberMenu=false)
 
void removeMenuItem (const QString &s, ScrAction *menuAction, const QString &parent)
 
bool removeMenuItem (ScrAction *menuAction, const QString &parent)
 
void generateKeyManList (QStringList *actionNames)
 
void runMenuAtPos (const QString &, const QPoint)
 
void setMenuEnabled (const QString &menuName, const bool enabled)
 
void setText (const QString &menuName, const QString &menuText)
 
QMenu * getLocalPopupMenu (const QString &menuName)
 
bool addMenuStringToMenuBar (const QString &menuName, bool rememberMenu=false)
 
bool addMenuStringToMenuBarBefore (const QString &, const QString &beforeMenuName)
 
void clear ()
 
bool clearMenu (const QString &menuName)
 
bool empty ()
 
bool menuExists (const QString &menuName)
 
void addMenuItemString (const QString &s, const QString &parent)
 
void addMenuItemStringAfter (const QString &s, const QString &after, const QString &parent)
 
void addMenuItemStringstoMenu (const QString &menuName, QMenu *menuToAddTo, const QMap< QString, QPointer< ScrAction > > &menuActions)
 
void addMenuItemStringstoRememberedMenu (const QString &menuName, const QMap< QString, QPointer< ScrAction > > &menuActions)
 
void addMenuItemStringstoMenuBar (const QString &menuName, const QMap< QString, QPointer< ScrAction > > &menuActions)
 
void clearMenuStrings (const QString &menuName)
 
void dumpMenuStrings ()
 
QMenu * undoMenu ()
 
QMenu * redoMenu ()
 

Additional Inherited Members

- Public Types inherited from MenuManager
enum  MenuType { Normal, DLL }
 
- Protected Attributes inherited from MenuManager
QMenuBar * scribusMenuBar
 
QMap< QString, QList< QString > > menuStrings
 
QMap< QString, QString > menuStringTexts
 
QMap< QString, QMenu * > menuBarMenus
 
QMap< QString, QMenu * > rememberedMenus
 
QMenu * m_undoMenu
 
QMenu * m_redoMenu
 

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