ALBA
Public Member Functions | Public Attributes | Protected Attributes | List of all members
albaGUIDialogPreview Class Reference

#include <albaGUIDialogPreview.h>

Inheritance diagram for albaGUIDialogPreview:
Inheritance graph
[legend]
Collaboration diagram for albaGUIDialogPreview:
Collaboration graph
[legend]

Public Member Functions

 albaGUIDialogPreview (const wxString &title, long style=albaCLOSEWINDOW|albaRESIZABLE|albaCLOSE|albaUSEGUI|albaUSERWI)
 
virtual ~albaGUIDialogPreview ()
 
albaRWIGetRWI ()
 
albaGUIGetGui ()
 
- Public Member Functions inherited from albaGUIDialog
 albaGUIDialog (const wxString &title, long style=albaCLOSEWINDOW|albaRESIZABLE|albaCLOSE)
 
virtual ~albaGUIDialog ()
 
void SetListener (albaObserver *Listener)
 
void OnEvent (albaEventBase *alba_event)
 
void Add (wxWindow *window, int option=0, int flag=wxEXPAND, int border=0)
 
void Add (albaGUI *window, int option=0, int flag=wxEXPAND, int border=0)
 
void Add (wxSizer *sizer, int option=0, int flag=wxEXPAND, int border=0)
 
bool Remove (wxWindow *window)
 
bool Remove (wxSizer *sizer)
 
int ShowModal ()
 
void EnableOk (bool enable)
 
void EnableCancel (bool enable)
 
void EnableClose (bool enable)
 
virtual void WXSetInitialFittingClientSize (int flags, wxSizer *sizer=NULL)
 
virtual void OnOK (wxCommandEvent &event)
 
virtual void OnCancel (wxCommandEvent &event)
 
virtual void OnCloseWindow (wxCloseEvent &event)
 
virtual void OnSize (wxSizeEvent &event)
 
- Public Member Functions inherited from albaObserver
 albaObserver ()
 
virtual ~albaObserver ()
 
virtual void OnEvent (albaEventBase *e)=0
 

Public Attributes

wxBoxSizer * m_RwiSizer
 
- Public Attributes inherited from albaGUIDialog
wxBoxSizer * m_GuiSizer
 
wxBoxSizer * m_ButtonsSizer
 
wxBoxSizer * m_DialogSizer
 
wxButton * m_OkButton
 
wxButton * m_CancelButton
 
wxButton * m_CloseButton
 
albaObserverm_Listener
 

Protected Attributes

wxBoxSizer * m_PreviewSizer
 
albaRWIm_Rwi
 
albaGUIm_Gui
 

Detailed Description

albaGUIDialogPreview - a dialog widget with a render window.

albaGUIDialogPreview can be used inside operations to make a preview window.

See also
albaGUIDialog

Definition at line 41 of file albaGUIDialogPreview.h.

Constructor & Destructor Documentation

◆ albaGUIDialogPreview()

albaGUIDialogPreview::albaGUIDialogPreview ( const wxString &  title,
long  style = albaCLOSEWINDOW|albaRESIZABLE|albaCLOSE|albaUSEGUI|albaUSERWI 
)

◆ ~albaGUIDialogPreview()

virtual albaGUIDialogPreview::~albaGUIDialogPreview ( )
virtual

Member Function Documentation

◆ GetRWI()

albaRWI * albaGUIDialogPreview::GetRWI ( )
inline

Return the dialog's render window.

Definition at line 48 of file albaGUIDialogPreview.h.

◆ GetGui()

albaGUI * albaGUIDialogPreview::GetGui ( )
inline

Return the dialog's gui.

Definition at line 50 of file albaGUIDialogPreview.h.

Member Data Documentation

◆ m_RwiSizer

wxBoxSizer* albaGUIDialogPreview::m_RwiSizer

Sizer used for the vtk render window and if you want to plug any gui on bottom of the RWI.

Definition at line 52 of file albaGUIDialogPreview.h.

◆ m_PreviewSizer

wxBoxSizer* albaGUIDialogPreview::m_PreviewSizer
protected

Sizer used for the preview render window.

Definition at line 55 of file albaGUIDialogPreview.h.

◆ m_Rwi

albaRWI* albaGUIDialogPreview::m_Rwi
protected

Render window.

Definition at line 56 of file albaGUIDialogPreview.h.

◆ m_Gui

albaGUI* albaGUIDialogPreview::m_Gui
protected

Gui variable used to plug custom widgets.

Definition at line 57 of file albaGUIDialogPreview.h.


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