Scribus
Open source desktop publishing at your fingertips
ActionManager Class Reference

#include <actionmanager.h>

Inheritance diagram for ActionManager:
Collaboration diagram for ActionManager:

Public Slots

void languageChange ()
 
void handleMultipleSelections (bool isMultiple)
 

Public Member Functions

 ActionManager (QObject *parent)
 
virtual void changeEvent (QEvent *e)
 
void init (ScribusMainWindow *)
 
bool compareKeySeqToShortcut (QKeySequence ks, QString actionName)
 
bool compareKeySeqToShortcut (int k, Qt::KeyboardModifiers km, QString actionName)
 
void createActions ()
 
void disconnectModeActions ()
 
void connectModeActions ()
 
void disconnectNewViewActions ()
 
void connectNewViewActions (ScribusView *)
 
void disconnectNewDocActions ()
 
void connectNewDocActions (ScribusDoc *)
 
void disconnectNewSelectionActions ()
 
void connectNewSelectionActions (ScribusView *, ScribusDoc *)
 
void saveActionShortcutsPreEditMode ()
 
void restoreActionShortcutsPostEditMode ()
 
void enableActionStringList (QMap< QString, QPointer< ScrAction > > *actionMap, QStringList *list, bool enabled, bool checkingUnicode=false, const QString &fontName=QString::null)
 
void enableUnicodeActions (QMap< QString, QPointer< ScrAction > > *actionMap, bool enabled, const QString &fontName=QString::null)
 
void setPDFActions (ScribusView *)
 

Static Public Member Functions

static void createDefaultShortcuts ()
 
static QMap< QString, QKeySequence > * defaultShortcuts ()
 
static void createDefaultMenus ()
 
static void createDefaultMenuNames ()
 
static void createDefaultNonMenuActions ()
 
static void createDefaultNonMenuNames ()
 
static QVector< QPair< QString, QStringList > > * defaultMenuNames ()
 
static QVector< QPair< QString, QStringList > > * defaultNonMenuNames ()
 
static QString defaultMenuNameEntryTranslated (const QString &index)
 
static QVector< QPair< QString, QStringList > > * defaultMenus ()
 
static QVector< QPair< QString, QStringList > > * defaultNonMenuActions ()
 

Protected Member Functions

void initFileMenuActions ()
 
void initEditMenuActions ()
 
void initStyleMenuActions ()
 
void initItemMenuActions ()
 
void initInsertMenuActions ()
 
void initPageMenuActions ()
 
void initViewMenuActions ()
 
void initToolsMenuActions ()
 
void initExtrasMenuActions ()
 
void initWindowsMenuActions ()
 
void initScriptMenuActions ()
 
void initHelpMenuActions ()
 
void initSpecialActions ()
 
void languageChangeActions ()
 

Static Protected Member Functions

static void initUnicodeActions (QMap< QString, QPointer< ScrAction > > *actionMap, QWidget *actionParent, QStringList *actionNamesList)
 
static void setActionTooltips (QMap< QString, QPointer< ScrAction > > *actionMap)
 
static void languageChangeUnicodeActions (QMap< QString, QPointer< ScrAction > > *actionMap)
 
static QKeySequence defaultKey (const QString &actionName)
 

Protected Attributes

QPixmap noIcon
 
ScribusMainWindowmainWindow
 
ScribusQAppScQApp
 
UndoManagerundoManager
 
IconManagerim
 
QMap< QString, QPointer< ScrAction > > * scrActions
 
QMultiHash< QString, QActionGroup * > * scrActionGroups
 
QStringList * modeActionNames
 
QStringList * nonEditActionNames
 
QStringList * unicodeCharActionNames
 

Static Protected Attributes

static QMap< QString, QKeySequence > defKeys
 
static QVector< QPair< QString, QStringList > > defMenuNames
 
static QVector< QPair< QString, QStringList > > defMenus
 
static QVector< QPair< QString, QStringList > > defNonMenuNames
 
static QVector< QPair< QString, QStringList > > defNonMenuActions
 

Friends

class StoryEditor
 

Detailed Description

Author
Craig Bradney

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