NCBI C++ ToolKit
Public Member Functions | Static Public Member Functions | Private Member Functions | Private Attributes | Static Private Attributes | List of all members
CValidateFrame Class Reference

Search Toolkit Book for CValidateFrame

#include <gui/packages/pkg_sequence_edit/validate_frame.hpp>

+ Inheritance diagram for CValidateFrame:
+ Collaboration diagram for CValidateFrame:

Public Member Functions

 CValidateFrame ()
 Constructors. More...
 
 CValidateFrame (wxWindow *parent, IWorkbench *wb, CRef< objects::CUser_object > params, wxWindowID id=17000, const wxString &caption=_("Validation Errors"), const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(900, 600), long style=wxCAPTION|wxRESIZE_BORDER|wxSYSTEM_MENU|wxCLOSE_BOX|wxMINIMIZE_BOX|wxMAXIMIZE_BOX|wxTAB_TRAVERSAL)
 
bool Create (wxWindow *parent, wxWindowID id=17000, const wxString &caption=_("Validation Errors"), const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(900, 600), long style=wxCAPTION|wxRESIZE_BORDER|wxSYSTEM_MENU|wxCLOSE_BOX|wxMINIMIZE_BOX|wxMAXIMIZE_BOX|wxTAB_TRAVERSAL)
 
virtual ~CValidateFrame ()
 Destructor. More...
 
void Init ()
 Initialises member variables. More...
 
void CreateControls ()
 Creates the controls and sizers. More...
 
void OnRefresh (wxCommandEvent &event)
 
void OnDismiss (wxCommandEvent &event)
 
void OnSequester (wxCommandEvent &event)
 
void OnSegregate (wxCommandEvent &event)
 
void OnReport (wxCommandEvent &event)
 
void OnDone (wxCommandEvent &event)
 
void OnUpdateDoneBtn (wxUpdateUIEvent &event)
 
wxBitmap GetBitmapResource (const wxString &name)
 Retrieves bitmap resources. More...
 
wxIcon GetIconResource (const wxString &name)
 Retrieves icon resources. More...
 

Static Public Member Functions

static void GetInstance (wxWindow *parent, IWorkbench *workbench, CRef< objects::CUser_object > params, wxWindowID id=17000, const wxString &caption=_("Validation Errors"), const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(900, 600), long style=wxCAPTION|wxRESIZE_BORDER|wxSYSTEM_MENU|wxCLOSE_BOX|wxMINIMIZE_BOX|wxMAXIMIZE_BOX|wxTAB_TRAVERSAL)
 
static bool ShowToolTips ()
 Should we show tooltips? More...
 

Private Member Functions

virtual void SetRegistryPath (const string &reg_path)
 
virtual void LoadSettings ()
 
virtual void SaveSettings () const
 
bool x_AllowDoneButton ()
 
void LoadData (void)
 

Private Attributes

IWorkbenchm_Workbench
 
CRef< objects::CUser_object > m_params
 
CValidatePanelm_Panel
 
string m_RegPath
 
wxButton * m_DoneButton
 

Static Private Attributes

static CValidateFramem_Instance = NULL
 

Detailed Description

CValidateFrame class declaration

Definition at line 95 of file validate_frame.hpp.

Constructor & Destructor Documentation

◆ CValidateFrame() [1/2]

CValidateFrame::CValidateFrame ( )

Constructors.

Definition at line 124 of file validate_frame.cpp.

References Init().

Referenced by GetInstance().

◆ CValidateFrame() [2/2]

CValidateFrame::CValidateFrame ( wxWindow *  parent,
IWorkbench wb,
CRef< objects::CUser_object >  params,
wxWindowID  id = 17000,
const wxString &  caption = _("Validation Errors"),
const wxPoint &  pos = wxDefaultPosition,
const wxSize &  size = wxSize(900, 600),
long  style = wxCAPTION|wxRESIZE_BORDER|wxSYSTEM_MENU|wxCLOSE_BOX|wxMINIMIZE_BOX|wxMAXIMIZE_BOX|wxTAB_TRAVERSAL 
)

◆ ~CValidateFrame()

CValidateFrame::~CValidateFrame ( )
virtual

Destructor.

Definition at line 162 of file validate_frame.cpp.

References m_Instance, NULL, and SaveSettings().

Member Function Documentation

◆ Create()

bool CValidateFrame::Create ( wxWindow *  parent,
wxWindowID  id = 17000,
const wxString &  caption = _("Validation Errors"),
const wxPoint &  pos = wxDefaultPosition,
const wxSize &  size = wxSize(900, 600),
long  style = wxCAPTION|wxRESIZE_BORDER|wxSYSTEM_MENU|wxCLOSE_BOX|wxMINIMIZE_BOX|wxMAXIMIZE_BOX|wxTAB_TRAVERSAL 
)

◆ CreateControls()

void CValidateFrame::CreateControls ( )

◆ GetBitmapResource()

wxBitmap CValidateFrame::GetBitmapResource ( const wxString &  name)

Retrieves bitmap resources.

Definition at line 312 of file validate_frame.cpp.

◆ GetIconResource()

wxIcon CValidateFrame::GetIconResource ( const wxString &  name)

Retrieves icon resources.

Definition at line 325 of file validate_frame.cpp.

◆ GetInstance()

void CValidateFrame::GetInstance ( wxWindow *  parent,
IWorkbench workbench,
CRef< objects::CUser_object >  params,
wxWindowID  id = 17000,
const wxString &  caption = _("Validation Errors"),
const wxPoint &  pos = wxDefaultPosition,
const wxSize &  size = wxSize(900, 600),
long  style = wxCAPTION|wxRESIZE_BORDER|wxSYSTEM_MENU|wxCLOSE_BOX|wxMINIMIZE_BOX|wxMAXIMIZE_BOX|wxTAB_TRAVERSAL 
)
static

◆ Init()

void CValidateFrame::Init ( void  )

Initialises member variables.

Definition at line 234 of file validate_frame.cpp.

References m_DoneButton, m_Panel, and NULL.

◆ LoadData()

void CValidateFrame::LoadData ( void  )
private

Definition at line 504 of file validate_frame.cpp.

References CValidatePanel::LoadData(), and m_Panel.

Referenced by GetInstance(), OnDone(), and OnRefresh().

◆ LoadSettings()

void CValidateFrame::LoadSettings ( )
privatevirtual

◆ OnDismiss()

void CValidateFrame::OnDismiss ( wxCommandEvent &  event)

Definition at line 334 of file validate_frame.cpp.

◆ OnDone()

void CValidateFrame::OnDone ( wxCommandEvent &  event)

◆ OnRefresh()

void CValidateFrame::OnRefresh ( wxCommandEvent &  event)

Definition at line 509 of file validate_frame.cpp.

References LoadData().

◆ OnReport()

void CValidateFrame::OnReport ( wxCommandEvent &  event)

◆ OnSegregate()

void CValidateFrame::OnSegregate ( wxCommandEvent &  event)

◆ OnSequester()

void CValidateFrame::OnSequester ( wxCommandEvent &  event)

◆ OnUpdateDoneBtn()

void CValidateFrame::OnUpdateDoneBtn ( wxUpdateUIEvent &  event)

◆ SaveSettings()

void CValidateFrame::SaveSettings ( ) const
privatevirtual

◆ SetRegistryPath()

void CValidateFrame::SetRegistryPath ( const string reg_path)
privatevirtual

Definition at line 176 of file validate_frame.cpp.

References m_RegPath.

◆ ShowToolTips()

bool CValidateFrame::ShowToolTips ( )
static

Should we show tooltips?

Definition at line 303 of file validate_frame.cpp.

◆ x_AllowDoneButton()

bool CValidateFrame::x_AllowDoneButton ( )
private

Member Data Documentation

◆ m_DoneButton

wxButton* CValidateFrame::m_DoneButton
private

Definition at line 158 of file validate_frame.hpp.

Referenced by CreateControls(), Init(), OnDone(), and OnUpdateDoneBtn().

◆ m_Instance

CValidateFrame * CValidateFrame::m_Instance = NULL
staticprivate

Definition at line 156 of file validate_frame.hpp.

Referenced by GetInstance(), and ~CValidateFrame().

◆ m_Panel

CValidatePanel* CValidateFrame::m_Panel
private

◆ m_params

CRef<objects::CUser_object> CValidateFrame::m_params
private

Definition at line 154 of file validate_frame.hpp.

Referenced by CreateControls().

◆ m_RegPath

string CValidateFrame::m_RegPath
private

Definition at line 157 of file validate_frame.hpp.

Referenced by LoadSettings(), SaveSettings(), and SetRegistryPath().

◆ m_Workbench

IWorkbench* CValidateFrame::m_Workbench
private

Definition at line 153 of file validate_frame.hpp.

Referenced by CreateControls(), OnDone(), OnReport(), OnSegregate(), and OnSequester().


The documentation for this class was generated from the following files:
Modified on Tue May 28 05:50:38 2024 by modify_doxy.py rev. 669887