ALBA
albaGUIDialogPreview.h
Go to the documentation of this file.
1/*=========================================================================
2
3 Program: ALBA (Agile Library for Biomedical Applications)
4 Module: albaGUIDialogPreview
5 Authors: Paolo Quadrani
6
7 Copyright (c) BIC
8 All rights reserved. See Copyright.txt or
9
10
11 This software is distributed WITHOUT ANY WARRANTY; without even
12 the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
13 PURPOSE. See the above copyright notice for more information.
14
15=========================================================================*/
16#ifndef __albaGUIDialogPreview_H__
17#define __albaGUIDialogPreview_H__
18
19class albaRWI;
20
21//----------------------------------------------------------------------------
22// Include:
23//----------------------------------------------------------------------------
24#include "wx/dialog.h"
25#include "albaEvent.h"
26#include "albaGUI.h"
27#include "albaGUIDialog.h"
28//----------------------------------------------------------------------------
29// Const:
30//----------------------------------------------------------------------------
32{
35};
36
41class ALBA_EXPORT albaGUIDialogPreview : public albaGUIDialog
42{
43public:
44 albaGUIDialogPreview (const wxString& title, long style = albaCLOSEWINDOW | albaRESIZABLE | albaCLOSE | albaUSEGUI | albaUSERWI );
46
48 albaRWI *GetRWI() {return m_Rwi;};
50 albaGUI *GetGui() {return m_Gui;};
51
52 wxBoxSizer *m_RwiSizer;
53
54protected:
55 wxBoxSizer *m_PreviewSizer;
58};
59#endif
DIALOG_EXSTYLES
@ albaUSEGUI
@ albaUSERWI
@ albaRESIZABLE
Definition: albaGUIDialog.h:33
@ albaCLOSE
Definition: albaGUIDialog.h:37
@ albaCLOSEWINDOW
Definition: albaGUIDialog.h:34
albaGUIDialogPreview - a dialog widget with a render window.
virtual ~albaGUIDialogPreview()
wxBoxSizer * m_RwiSizer
Sizer used for the vtk render window and if you want to plug any gui on bottom of the RWI.
wxBoxSizer * m_PreviewSizer
Sizer used for the preview render window.
albaRWI * GetRWI()
Return the dialog's render window.
albaGUI * m_Gui
Gui variable used to plug custom widgets.
albaGUIDialogPreview(const wxString &title, long style=albaCLOSEWINDOW|albaRESIZABLE|albaCLOSE|albaUSEGUI|albaUSERWI)
albaGUI * GetGui()
Return the dialog's gui.
albaRWI * m_Rwi
Render window.
albaGUIDialog is the base class for albaDialogs.
Definition: albaGUIDialog.h:76
albaGUI is a panel with function to easily create GUI.
Definition: albaGUI.h:110