#include <Plot2d_ViewManager.h>
Public Slots | |
void | createView () |
Public Slots inherited from SUIT_ViewManager | |
void | createView () |
void | closeAllViews () |
Signals | |
void | cloneView (Plot2d_ViewFrame *, Plot2d_ViewFrame *) |
Signals inherited from SUIT_ViewManager | |
void | lastViewClosed (SUIT_ViewManager *) |
void | tryCloseView (SUIT_ViewWindow *) |
void | deleteView (SUIT_ViewWindow *) |
void | viewCreated (SUIT_ViewWindow *) |
void | mousePress (SUIT_ViewWindow *, QMouseEvent *) |
void | mouseRelease (SUIT_ViewWindow *, QMouseEvent *) |
void | mouseDoubleClick (SUIT_ViewWindow *, QMouseEvent *) |
void | mouseMove (SUIT_ViewWindow *, QMouseEvent *) |
void | wheel (SUIT_ViewWindow *, QWheelEvent *) |
void | keyPress (SUIT_ViewWindow *, QKeyEvent *) |
void | keyRelease (SUIT_ViewWindow *, QKeyEvent *) |
void | activated (SUIT_ViewManager *) |
Static Public Member Functions | |
static int | fillPreferences (SUIT_PreferenceMgr *, const int) |
Protected Slots | |
void | onCloneView () |
Protected Slots inherited from SUIT_ViewManager | |
void | onWindowActivated (SUIT_ViewWindow *) |
void | onClosingView (SUIT_ViewWindow *) |
void | onMousePressed (SUIT_ViewWindow *, QMouseEvent *) |
void | onDeleteStudy () |
Protected Member Functions | |
bool | insertView (SUIT_ViewWindow *theView) |
Protected Member Functions inherited from SUIT_ViewManager | |
virtual void | removeView (SUIT_ViewWindow *theView) |
virtual void | closeView (SUIT_ViewWindow *theView) |
virtual void | setViewName (SUIT_ViewWindow *theView) |
QString | prepareTitle (const QString &, const int, const int) |
Protected Member Functions inherited from SUIT_PopupClient | |
void | contextMenuRequest (QContextMenuEvent *e) |
Additional Inherited Members | |
Protected Types inherited from SUIT_ViewManager | |
typedef QPointer< SUIT_ViewWindow > | ViewWindow |
Static Protected Member Functions inherited from SUIT_ViewManager | |
static int | useNewId (const QString &) |
Protected Attributes inherited from SUIT_ViewManager | |
SUIT_Desktop * | myDesktop |
SUIT_ViewModel * | myViewModel |
QVector< ViewWindow > | myViews |
SUIT_ViewWindow * | myActiveView |
int | myId |
QPixmap | myIcon |
QString | myTitle |
SUIT_Study * | myStudy |
bool | myIsDetached |
Static Protected Attributes inherited from SUIT_ViewManager | |
static QMap< QString, int > | _ViewMgrId |
Plot2d_ViewManager::Plot2d_ViewManager | ( | SUIT_Study * | study, |
SUIT_Desktop * | desk | ||
) |
Constructor
References SUIT_ViewManager::setTitle().
Plot2d_ViewManager::~Plot2d_ViewManager | ( | ) |
Destructor
Plot2d_ViewWindow * Plot2d_ViewManager::cloneView | ( | Plot2d_ViewWindow * | srcWnd | ) |
srcWnd | source window |
References SUIT_ViewManager::createViewWindow(), and Plot2d_ViewWindow::getViewFrame().
|
signal |
|
slot |
Creates new view
References SUIT_ViewManager::createViewWindow().
|
static |
Fills preference manager for viewer
References SUIT_PreferenceMgr::addItem(), SUIT_PreferenceMgr::Bool, SUIT_PreferenceMgr::Color, SUIT_PreferenceMgr::GroupBox, SUIT_PreferenceMgr::IntSpin, SUIT_PreferenceMgr::Selector, and SUIT_PreferenceMgr::setItemProperty().
Plot2d_Viewer * Plot2d_ViewManager::getPlot2dModel | ( | ) | const |
References SUIT_ViewManager::myViewModel.
|
protectedvirtual |
Adds new view
theView | - view to be added |
Reimplemented from SUIT_ViewManager.
References cloneView(), getPlot2dModel(), Plot2d_ViewWindow::getViewFrame(), SUIT_ViewManager::insertView(), and onCloneView().
|
protectedslot |
SLOT: called if action "Clone view" is activated, emits signal cloneView()
References cloneView().