OpenASIP
2.0
|
#include <PrintPreviewCmd.hh>
Public Member Functions | |
PrintPreviewCmd () | |
virtual | ~PrintPreviewCmd () |
virtual bool | Do () |
virtual int | id () const |
virtual PrintPreviewCmd * | create () const |
virtual std::string | shortName () const |
virtual std::string | icon () const |
virtual bool | isEnabled () |
Public Member Functions inherited from EditorCommand | |
EditorCommand (std::string name, wxWindow *parent=NULL) | |
virtual | ~EditorCommand () |
void | setView (wxView *view) |
wxView * | view () const |
Public Member Functions inherited from GUICommand | |
GUICommand (std::string name, wxWindow *parent) | |
virtual | ~GUICommand () |
virtual bool | isChecked () const |
void | setParentWindow (wxWindow *view) |
wxWindow * | parentWindow () const |
std::string | name () const |
EditorCommand for previewing print of documents.
Definition at line 42 of file PrintPreviewCmd.hh.
PrintPreviewCmd::PrintPreviewCmd | ( | ) |
|
virtual |
|
virtual |
Creates and returns a new instance of this command.
Implements GUICommand.
Definition at line 114 of file PrintPreviewCmd.cc.
References PrintPreviewCmd().
|
virtual |
Executes the command.
If the wxWidgets printing framework was not compiled in the wxWidgets library, print previeving is not possible. An error message will be displayed instead of previewing.
Implements GUICommand.
Definition at line 69 of file PrintPreviewCmd.cc.
References dummy, and GUICommand::parentWindow().
|
virtual |
Returns path to the command's icon file.
Reimplemented from EditorCommand.
Definition at line 136 of file PrintPreviewCmd.cc.
References ProDeConstants::CMD_ICON_PRINT_PREVIEW.
|
virtual |
Return id of this command.
Implements GUICommand.
Definition at line 103 of file PrintPreviewCmd.cc.
References ProDeConstants::COMMAND_PRINT_PREVIEW.
|
virtual |
Returns true when command is executable, false when not.
This command is executable when a document is open.
Reimplemented from EditorCommand.
Definition at line 149 of file PrintPreviewCmd.cc.
|
virtual |
Returns short version of the command name.
Reimplemented from GUICommand.
Definition at line 125 of file PrintPreviewCmd.cc.
References ProDeConstants::CMD_SNAME_PRINT_PREVIEW.