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

Search Toolkit Book for CSubPrepIntroPanel

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

+ Inheritance diagram for CSubPrepIntroPanel:
+ Collaboration diagram for CSubPrepIntroPanel:

Public Member Functions

 CSubPrepIntroPanel ()
 Constructors. More...
 
 CSubPrepIntroPanel (wxWindow *parent, IWorkbench *workbench, wxWindowID id=10090, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(400, 300), long style=wxTAB_TRAVERSAL)
 
bool Create (wxWindow *parent, wxWindowID id=10090, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(400, 300), long style=wxTAB_TRAVERSAL)
 Creation. More...
 
 ~CSubPrepIntroPanel ()
 Destructor. More...
 
void Init ()
 Initialises member variables. More...
 
void CreateControls ()
 Creates the controls and sizers. More...
 
void OnClickSubmitterSummary (wxMouseEvent &event)
 wxEVT_LEFT_DOWN event handler for wxID_STATIC More...
 
void OnEditSubmitterInfoClicked (wxHyperlinkEvent &event)
 wxEVT_COMMAND_HYPERLINK event handler for ID_HYPERLINKCTRL5 More...
 
void OnSubmissionTypeSelected (wxCommandEvent &event)
 wxEVT_COMMAND_LISTBOX_SELECTED event handler for ID_SUBMISSION_TYPE More...
 
void OnIntroTextClickUrl (wxTextUrlEvent &event)
 wxEVT_COMMAND_TEXT_URL event handler for ID_INTRO_TEXT More...
 
wxBitmap GetBitmapResource (const wxString &name)
 Retrieves bitmap resources. More...
 
wxIcon GetIconResource (const wxString &name)
 Retrieves icon resources. More...
 
void RefreshSubmitterInfoStatus ()
 
CSourceRequirements::EWizardType GetWizardTypeFromCtrl ()
 
void SetWizardTypeCtrl ()
 
bool IsComplete ()
 

Static Public Member Functions

static bool ShowToolTips ()
 Should we show tooltips? More...
 

Public Attributes

wxStaticText * m_StarSubmitter
 
wxTextCtrl * m_SubmitterLabel
 
wxStaticText * m_StarType
 
wxListBox * m_SubmissionType
 
wxTextCtrl * m_IntroText
 

Private Member Functions

void x_LaunchSubmitEditor ()
 
CSourceRequirements::EWizardType x_GetWizardTypeFromSelection (int sel)
 
CSubPrep_panelx_GetParent ()
 
void x_SetSubmissionNotReady (string error)
 
void x_UpdateSubmitBlock (CRef< objects::CSubmit_block > new_block, CRef< objects::CCit_gen > new_gen, string alt_email)
 
void x_SetIntroText (CSourceRequirements::EWizardType wizard_type)
 

Private Attributes

IWorkbenchm_Workbench
 

Detailed Description

CSubPrepIntroPanel class declaration

Definition at line 81 of file subprepintropanel.hpp.

Constructor & Destructor Documentation

◆ CSubPrepIntroPanel() [1/2]

CSubPrepIntroPanel::CSubPrepIntroPanel ( )

Constructors.

CSubPrepIntroPanel type definition

CSubPrepIntroPanel event table definition

CSubPrepIntroPanel constructors

Definition at line 86 of file subprepintropanel.cpp.

References Init().

◆ CSubPrepIntroPanel() [2/2]

CSubPrepIntroPanel::CSubPrepIntroPanel ( wxWindow *  parent,
IWorkbench workbench,
wxWindowID  id = 10090,
const wxPoint &  pos = wxDefaultPosition,
const wxSize &  size = wxSize(400, 300),
long  style = wxTAB_TRAVERSAL 
)

◆ ~CSubPrepIntroPanel()

CSubPrepIntroPanel::~CSubPrepIntroPanel ( )

Destructor.

CSubPrepIntroPanel destructor

Definition at line 123 of file subprepintropanel.cpp.

Member Function Documentation

◆ Create()

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

Creation.

CSubPrepIntroPanel creator

Definition at line 103 of file subprepintropanel.cpp.

References CreateControls(), and ncbi::grid::netcache::search::fields::size.

Referenced by CSubPrepIntroPanel().

◆ CreateControls()

void CSubPrepIntroPanel::CreateControls ( )

◆ GetBitmapResource()

wxBitmap CSubPrepIntroPanel::GetBitmapResource ( const wxString &  name)

Retrieves bitmap resources.

Get bitmap resources

Definition at line 229 of file subprepintropanel.cpp.

◆ GetIconResource()

wxIcon CSubPrepIntroPanel::GetIconResource ( const wxString &  name)

Retrieves icon resources.

Get icon resources

Definition at line 242 of file subprepintropanel.cpp.

◆ GetWizardTypeFromCtrl()

CSourceRequirements::EWizardType CSubPrepIntroPanel::GetWizardTypeFromCtrl ( )

◆ Init()

void CSubPrepIntroPanel::Init ( void  )

Initialises member variables.

Member initialisation

Definition at line 134 of file subprepintropanel.cpp.

References m_IntroText, m_StarSubmitter, m_StarType, m_SubmissionType, m_SubmitterLabel, and NULL.

Referenced by CSubPrepIntroPanel().

◆ IsComplete()

bool CSubPrepIntroPanel::IsComplete ( )

◆ OnClickSubmitterSummary()

void CSubPrepIntroPanel::OnClickSubmitterSummary ( wxMouseEvent &  event)

wxEVT_LEFT_DOWN event handler for wxID_STATIC

wxEVT_LEFT_DOWN event handler for wxID_STATIC

Definition at line 563 of file subprepintropanel.cpp.

References x_LaunchSubmitEditor().

Referenced by CreateControls().

◆ OnEditSubmitterInfoClicked()

void CSubPrepIntroPanel::OnEditSubmitterInfoClicked ( wxHyperlinkEvent &  event)

wxEVT_COMMAND_HYPERLINK event handler for ID_HYPERLINKCTRL5

wxEVT_COMMAND_HYPERLINK event handler for ID_HYPERLINKCTRL5

Definition at line 573 of file subprepintropanel.cpp.

References x_LaunchSubmitEditor().

◆ OnIntroTextClickUrl()

void CSubPrepIntroPanel::OnIntroTextClickUrl ( wxTextUrlEvent &  event)

wxEVT_COMMAND_TEXT_URL event handler for ID_INTRO_TEXT

wxEVT_COMMAND_TEXT_URL event handler for ID_INTRO_TEXT

Definition at line 699 of file subprepintropanel.cpp.

References CAppPopup::PopupURL(), str(), and ToStdString().

◆ OnSubmissionTypeSelected()

void CSubPrepIntroPanel::OnSubmissionTypeSelected ( wxCommandEvent &  event)

wxEVT_COMMAND_LISTBOX_SELECTED event handler for ID_SUBMISSION_TYPE

wxEVT_COMMAND_LISTBOX_SELECTED event handler for ID_SUBMISSION_TYPE

Definition at line 678 of file subprepintropanel.cpp.

References GetWizardTypeFromCtrl(), CSubPrep_panel::GetWizardTypeName(), m_StarType, m_SubmissionType, s_ShowStar(), CSubPrep_panel::SetWizardType(), ToWxString(), x_GetParent(), and x_SetIntroText().

◆ RefreshSubmitterInfoStatus()

void CSubPrepIntroPanel::RefreshSubmitterInfoStatus ( )

◆ SetWizardTypeCtrl()

void CSubPrepIntroPanel::SetWizardTypeCtrl ( )

◆ ShowToolTips()

bool CSubPrepIntroPanel::ShowToolTips ( )
static

Should we show tooltips?

Should we show tooltips?

Definition at line 220 of file subprepintropanel.cpp.

Referenced by CreateControls().

◆ x_GetParent()

CSubPrep_panel * CSubPrepIntroPanel::x_GetParent ( )
private

◆ x_GetWizardTypeFromSelection()

CSourceRequirements::EWizardType CSubPrepIntroPanel::x_GetWizardTypeFromSelection ( int  sel)
private

◆ x_LaunchSubmitEditor()

void CSubPrepIntroPanel::x_LaunchSubmitEditor ( )
private

◆ x_SetIntroText()

void CSubPrepIntroPanel::x_SetIntroText ( CSourceRequirements::EWizardType  wizard_type)
private

◆ x_SetSubmissionNotReady()

void CSubPrepIntroPanel::x_SetSubmissionNotReady ( string  error)
private

◆ x_UpdateSubmitBlock()

void CSubPrepIntroPanel::x_UpdateSubmitBlock ( CRef< objects::CSubmit_block >  new_block,
CRef< objects::CCit_gen >  new_gen,
string  alt_email 
)
private

Definition at line 420 of file subprepintropanel.cpp.

References CSubPrep_panel::UpdateSubmitBlock(), and x_GetParent().

Referenced by x_LaunchSubmitEditor().

Member Data Documentation

◆ m_IntroText

wxTextCtrl* CSubPrepIntroPanel::m_IntroText

Definition at line 136 of file subprepintropanel.hpp.

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

◆ m_StarSubmitter

wxStaticText* CSubPrepIntroPanel::m_StarSubmitter

Definition at line 132 of file subprepintropanel.hpp.

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

◆ m_StarType

wxStaticText* CSubPrepIntroPanel::m_StarType

◆ m_SubmissionType

wxListBox* CSubPrepIntroPanel::m_SubmissionType

◆ m_SubmitterLabel

wxTextCtrl* CSubPrepIntroPanel::m_SubmitterLabel

◆ m_Workbench

IWorkbench* CSubPrepIntroPanel::m_Workbench
private

Definition at line 146 of file subprepintropanel.hpp.

Referenced by x_LaunchSubmitEditor().


The documentation for this class was generated from the following files:
Modified on Fri Sep 20 14:58:19 2024 by modify_doxy.py rev. 669887