NCBI C++ ToolKit
Public Types | Public Member Functions | Static Public Member Functions | Public Attributes | Protected Member Functions | Protected Attributes | List of all members
CProjectLoadOptionPanel Class Reference

Search Toolkit Book for CProjectLoadOptionPanel

CProjectLoadOptionPanel CProjectLoadOptionPanel - dialog panel for loading Projects and Workspaces. More...

#include <gui/core/project_load_option_panel.hpp>

+ Inheritance diagram for CProjectLoadOptionPanel:
+ Collaboration diagram for CProjectLoadOptionPanel:

Public Types

enum  { ID_CPROJECTLOADOPTIONPANEL = 10005 , ID_FILE_PANEL = 10009 , ID_RECENT_LIST = 10012 }
 
typedef CTimeMRUList< wxString > TFileMRU
 

Public Member Functions

 CProjectLoadOptionPanel ()
 
 CProjectLoadOptionPanel (wxWindow *parent, wxWindowID id=ID_CPROJECTLOADOPTIONPANEL, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(400, 300), long style=wxTAB_TRAVERSAL)
 
bool Create (wxWindow *parent, wxWindowID id=ID_CPROJECTLOADOPTIONPANEL, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(400, 300), long style=wxTAB_TRAVERSAL)
 
 ~CProjectLoadOptionPanel ()
 
void Init ()
 
void CreateControls ()
 
void SetMRU (const TFileMRU &file_mru)
 
void OnRecentListDoubleClicked (wxCommandEvent &event)
 
void OnRecentListLinkClicked (wxHtmlLinkEvent &event)
 
wxBitmap GetBitmapResource (const wxString &name)
 
wxIcon GetIconResource (const wxString &name)
 
void GetProjectFilenames (vector< wxString > &filenames)
 
bool OnFinish ()
 

Static Public Member Functions

static bool ShowToolTips ()
 

Public Attributes

CMultiFileInputm_FilePanel
 
wxSimpleHtmlListBox * m_MRUListBox
 

Protected Member Functions

void x_FileMRUList ()
 
void x_GetSelectedMRUFilenames (vector< wxString > &filenames)
 
bool x_Finish (const vector< wxString > &filenames)
 

Protected Attributes

const TFileMRUm_FileMRU
 
vector< wxString > m_MRUFilenames
 
set< wxString > m_InvalidFiles
 
vector< wxString > m_SelectedFilenames
 

Detailed Description

CProjectLoadOptionPanel CProjectLoadOptionPanel - dialog panel for loading Projects and Workspaces.

Definition at line 59 of file project_load_option_panel.hpp.

Member Typedef Documentation

◆ TFileMRU

Definition at line 65 of file project_load_option_panel.hpp.

Member Enumeration Documentation

◆ anonymous enum

anonymous enum
Enumerator
ID_CPROJECTLOADOPTIONPANEL 
ID_FILE_PANEL 
ID_RECENT_LIST 

Definition at line 100 of file project_load_option_panel.hpp.

Constructor & Destructor Documentation

◆ CProjectLoadOptionPanel() [1/2]

CProjectLoadOptionPanel::CProjectLoadOptionPanel ( )

Definition at line 70 of file project_load_option_panel.cpp.

References Init().

◆ CProjectLoadOptionPanel() [2/2]

CProjectLoadOptionPanel::CProjectLoadOptionPanel ( wxWindow *  parent,
wxWindowID  id = ID_CPROJECTLOADOPTIONPANEL,
const wxPoint &  pos = wxDefaultPosition,
const wxSize &  size = wxSize(400, 300),
long  style = wxTAB_TRAVERSAL 
)

◆ ~CProjectLoadOptionPanel()

CProjectLoadOptionPanel::~CProjectLoadOptionPanel ( )

Definition at line 98 of file project_load_option_panel.cpp.

Member Function Documentation

◆ Create()

bool CProjectLoadOptionPanel::Create ( wxWindow *  parent,
wxWindowID  id = ID_CPROJECTLOADOPTIONPANEL,
const wxPoint &  pos = wxDefaultPosition,
const wxSize &  size = wxSize(400, 300),
long  style = wxTAB_TRAVERSAL 
)

◆ CreateControls()

void CProjectLoadOptionPanel::CreateControls ( )

◆ GetBitmapResource()

wxBitmap CProjectLoadOptionPanel::GetBitmapResource ( const wxString &  name)

Definition at line 353 of file project_load_option_panel.cpp.

◆ GetIconResource()

wxIcon CProjectLoadOptionPanel::GetIconResource ( const wxString &  name)

Definition at line 363 of file project_load_option_panel.cpp.

◆ GetProjectFilenames()

void CProjectLoadOptionPanel::GetProjectFilenames ( vector< wxString > &  filenames)

Definition at line 340 of file project_load_option_panel.cpp.

References filenames, and m_SelectedFilenames.

Referenced by CProjectLoadManager::GetTask().

◆ Init()

void CProjectLoadOptionPanel::Init ( void  )

◆ OnFinish()

bool CProjectLoadOptionPanel::OnFinish ( )

◆ OnRecentListDoubleClicked()

void CProjectLoadOptionPanel::OnRecentListDoubleClicked ( wxCommandEvent &  event)

Definition at line 207 of file project_load_option_panel.cpp.

◆ OnRecentListLinkClicked()

void CProjectLoadOptionPanel::OnRecentListLinkClicked ( wxHtmlLinkEvent &  event)

Definition at line 215 of file project_load_option_panel.cpp.

References info, and m_MRUListBox.

◆ SetMRU()

void CProjectLoadOptionPanel::SetMRU ( const TFileMRU file_mru)

◆ ShowToolTips()

bool CProjectLoadOptionPanel::ShowToolTips ( )
static

Definition at line 347 of file project_load_option_panel.cpp.

◆ x_FileMRUList()

void CProjectLoadOptionPanel::x_FileMRUList ( )
protected

◆ x_Finish()

bool CProjectLoadOptionPanel::x_Finish ( const vector< wxString > &  filenames)
protected

◆ x_GetSelectedMRUFilenames()

void CProjectLoadOptionPanel::x_GetSelectedMRUFilenames ( vector< wxString > &  filenames)
protected

Definition at line 229 of file project_load_option_panel.cpp.

References filenames, m_MRUFilenames, and m_MRUListBox.

Referenced by OnFinish().

Member Data Documentation

◆ m_FileMRU

const TFileMRU* CProjectLoadOptionPanel::m_FileMRU
protected

Definition at line 117 of file project_load_option_panel.hpp.

Referenced by Init(), SetMRU(), and x_FileMRUList().

◆ m_FilePanel

CMultiFileInput* CProjectLoadOptionPanel::m_FilePanel

Definition at line 98 of file project_load_option_panel.hpp.

Referenced by CreateControls(), Init(), and OnFinish().

◆ m_InvalidFiles

set<wxString> CProjectLoadOptionPanel::m_InvalidFiles
protected

Definition at line 119 of file project_load_option_panel.hpp.

Referenced by x_FileMRUList(), and x_Finish().

◆ m_MRUFilenames

vector<wxString> CProjectLoadOptionPanel::m_MRUFilenames
protected

◆ m_MRUListBox

wxSimpleHtmlListBox* CProjectLoadOptionPanel::m_MRUListBox

◆ m_SelectedFilenames

vector<wxString> CProjectLoadOptionPanel::m_SelectedFilenames
protected

Definition at line 122 of file project_load_option_panel.hpp.

Referenced by GetProjectFilenames(), Init(), and x_Finish().


The documentation for this class was generated from the following files:
Modified on Fri Feb 23 11:49:30 2024 by modify_doxy.py rev. 669887