17 #ifndef APPMODEHELPER_H
18 #define APPMODEHELPER_H
24 #include "actionmanager.h"
26 #include "scraction.h"
39 void setup(
ActionManager* am, QMap<QString, QPointer<ScrAction> > *, QMap<QString, QPointer<ScrAction> > *, QMap<QString, QPointer<ScrAction> > *, QMap<QString, QPointer<ScrAction> > *, QMap<QString, QPointer<ScrAction> > *, QMap<QString, QPointer<ScrAction> > *);
43 void setModeActionsPerMode(
int newMode);
44 void setActionGroupEnabled(QMap<QString, QPointer<ScrAction> > *,
bool enabled);
45 void setTextEditMode(
bool b);
46 void setSpecialEditMode(
bool b);
47 void setFrameEditMode(
bool b);
48 void setSymbolEditMode(
bool b,
ScribusDoc* doc);
49 void setInlineEditMode(
bool b,
ScribusDoc* doc);
50 void setMasterPageEditMode(
bool b,
ScribusDoc *doc);
52 void changeLayer(
ScribusDoc *doc,
bool clipScrapHaveData);
53 void mainWindowHasNewDoc(
ScribusDoc *doc,
bool clipScrapHaveData);
55 void mainWindowCloseLastDoc();
56 void setPreviewMode(
bool b);
59 void setStartupActionsEnabled(
bool enabled);
63 void AppModeChanged(
int oldMode,
int newMode);
64 void UpdateRequest(
int updateFlags);
69 QMap<QString, QPointer<ScrAction> > *a_scrActions;
70 QMap<QString, QPointer<ScrAction> > *a_scrRecentFileActions;
71 QMap<QString, QPointer<ScrAction> > *a_scrWindowsActions;
72 QMap<QString, QPointer<ScrAction> > *a_scrScrapActions;
73 QMap<QString, QPointer<ScrAction> > *a_scrLayersActions;
74 QMap<QString, QPointer<ScrAction> > *a_scrRecentPasteActions;
78 #endif // APPMODEHELPER_H
This Class is the base class for your application. It sets up the main window and providing a menubar...
Definition: scribus.h:123
ScribusDoc * doc
doc represents your actual document and is created only once. It keeps information such as filename a...
Definition: scribus.h:205
the Document Class
Definition: scribusdoc.h:90
void enableTextActions(bool enabled, const QString &fontName=QString::null)
enable or disable the unicode actions and their menus
Definition: appmodehelper.cpp:1689
Definition: appmodehelper.h:30
void updateTableMenuActions()
Definition: scribus.cpp:9258
Definition: pageitem.h:92
Definition: actionmanager.h:50