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

Search Toolkit Book for CBroadcastDialog

#include <gui/core/broadcast_settings_dlg.hpp>

+ Inheritance diagram for CBroadcastDialog:
+ Collaboration diagram for CBroadcastDialog:

Public Member Functions

 CBroadcastDialog ()
 
 CBroadcastDialog (wxWindow *parent, wxWindowID id=ID_CBROADCASTDIALOG, const wxString &caption=_("Broadcast Options"), const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(400, 300), long style=wxCAPTION|wxSYSTEM_MENU|wxCLOSE_BOX)
 
bool Create (wxWindow *parent, wxWindowID id=ID_CBROADCASTDIALOG, const wxString &caption=_("Broadcast Options"), const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(400, 300), long style=wxCAPTION|wxSYSTEM_MENU|wxCLOSE_BOX)
 
 ~CBroadcastDialog ()
 
void Init ()
 
void CreateControls ()
 
void SetData (const SBroadcastParams &params)
 
SBroadcastParams GetData () const
 
void OnApplyClick (wxCommandEvent &event)
 
void OnSetDefaultsBtnClick (wxCommandEvent &event)
 
bool GetAutoSelBroadcast () const
 
void SetAutoSelBroadcast (bool value)
 
bool GetAutoVRBroadcast () const
 
void SetAutoVRBroadcast (bool value)
 
bool GetBroadcastBetweenProjects () const
 
void SetBroadcastBetweenProjects (bool value)
 
bool GetMatchAlnLocs () const
 
void SetMatchAlnLocs (bool value)
 
bool GetMatchByProduct () const
 
void SetMatchByProduct (bool value)
 
int GetMatchRadios () const
 
void SetMatchRadios (int value)
 
int GetPolicy () const
 
void SetPolicy (int value)
 
int GetVRBPolicy () const
 
void SetVRBPolicy (int value)
 
wxBitmap GetBitmapResource (const wxString &name)
 
wxIcon GetIconResource (const wxString &name)
 
 CBroadcastDialog ()
 Constructors. More...
 
 CBroadcastDialog (const SBroadcastDlgParams &params, wxWindow *parent, wxWindowID id=10001, const wxString &caption=_("Broadcast Options"), const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(400, 300), long style=wxCAPTION|wxSYSTEM_MENU|wxCLOSE_BOX)
 
bool Create (wxWindow *parent, wxWindowID id=10001, const wxString &caption=_("Broadcast Options"), const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(400, 300), long style=wxCAPTION|wxSYSTEM_MENU|wxCLOSE_BOX)
 Creation. More...
 
 ~CBroadcastDialog ()
 Destructor. More...
 
void Init (const SBroadcastDlgParams &params)
 Initialises member variables. More...
 
void CreateControls ()
 Creates the controls and sizers. More...
 
SBroadcastDlgParams GetData () const
 REturns dialog results. More...
 
void OnApplyClick (wxCommandEvent &event)
 wxEVT_COMMAND_BUTTON_CLICKED event handler for wxID_APPLY More...
 
int GetVRPolicy () const
 
void SetVRPolicy (int value)
 
bool GetMatchAlnLocs () const
 
void SetMatchAlnLocs (bool value)
 
bool GetMatchByProduct () const
 
void SetMatchByProduct (bool value)
 
bool GetAutoSelBroadcast () const
 
void SetAutoSelBroadcast (bool value)
 
bool GetAutoVRBroadcast () const
 
void SetAutoVRBroadcast (bool value)
 
bool GetBroadcastBetweenProjects () const
 
void SetBroadcastBetweenProjects (bool value)
 
int GetMatchRadios () const
 
void SetMatchRadios (int value)
 
wxBitmap GetBitmapResource (const wxString &name)
 Retrieves bitmap resources. More...
 
wxIcon GetIconResource (const wxString &name)
 Retrieves icon resources. More...
 

Static Public Member Functions

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

Public Attributes

wxEditableListBox * m_BroadcastList
 
wxCheckBox * m_SelectOneToOne
 

Private Types

enum  {
  ID_CBROADCASTDIALOG = 10001, ID_NOTEBOOK = 10000, ID_GENERAL_PANEL = 10002, ID_POLICY_CHOICE = 10020,
  ID_SEQUENCE_MATCHING_RADIOBOX = 10021, ID_USE_LOCATIONS_CHECKBOX = 10022, ID_MATCH_BY_PRODUCTS_CHECKBOX = 10023, ID_PROJECTS_BROADCAST_CHECKBOX = 10024,
  ID_AUTO_BROADCAST_SEL_CHECKBOX = 10026, ID_VISIBLE_RANGE_RADIOBOX = 10027, ID_AUTO_BROADCAST_RANGE_CHECKBOX = 10028, ID_BIOTREE_CONTAINER_PANEL = 10003,
  ID_BROADCAST_LISTBOX = 10030, ID_ONE_TO_ONE_SELECT_CHECKBOX = 10031, ID_SET_DEFAULTS_BTN = 10032, ID_HYPERLINKCTRL = 10033
}
 

Private Attributes

bool m_AutoSelBroadcast
 
bool m_AutoVRBroadcast
 
bool m_BroadcastBetweenProjects
 
bool m_MatchAlnLocs
 
bool m_MatchByProduct
 
int m_MatchRadios
 
int m_Policy
 
int m_VRBPolicy
 
int m_VRPolicy
 

Detailed Description

CBroadcastDialog class declaration

Definition at line 112 of file broadcast_settings_dlg.hpp.

Member Enumeration Documentation

anonymous enum
private
Enumerator
ID_CBROADCASTDIALOG 
ID_NOTEBOOK 
ID_GENERAL_PANEL 
ID_POLICY_CHOICE 
ID_SEQUENCE_MATCHING_RADIOBOX 
ID_USE_LOCATIONS_CHECKBOX 
ID_MATCH_BY_PRODUCTS_CHECKBOX 
ID_PROJECTS_BROADCAST_CHECKBOX 
ID_AUTO_BROADCAST_SEL_CHECKBOX 
ID_VISIBLE_RANGE_RADIOBOX 
ID_AUTO_BROADCAST_RANGE_CHECKBOX 
ID_BIOTREE_CONTAINER_PANEL 
ID_BROADCAST_LISTBOX 
ID_ONE_TO_ONE_SELECT_CHECKBOX 
ID_SET_DEFAULTS_BTN 
ID_HYPERLINKCTRL 

Definition at line 185 of file broadcast_settings_dlg.hpp.

Constructor & Destructor Documentation

CBroadcastDialog::CBroadcastDialog ( )

CBroadcastDialog type definition

CBroadcastDialog event table definition

CBroadcastDialog constructors

Definition at line 66 of file broadcast_settings_dlg.cpp.

References Init().

CBroadcastDialog::CBroadcastDialog ( wxWindow *  parent,
wxWindowID  id = ID_CBROADCASTDIALOG,
const wxString &  caption = _("Broadcast Options"),
const wxPoint &  pos = wxDefaultPosition,
const wxSize &  size = wxSize(400, 300),
long  style = wxCAPTION|wxSYSTEM_MENU|wxCLOSE_BOX 
)

Definition at line 71 of file broadcast_settings_dlg.cpp.

References Create(), and Init().

CBroadcastDialog::~CBroadcastDialog ( )

CBroadcastDialog destructor

Definition at line 93 of file broadcast_settings_dlg.cpp.

CBroadcastDialog::CBroadcastDialog ( )

Constructors.

CBroadcastDialog::CBroadcastDialog ( const SBroadcastDlgParams params,
wxWindow *  parent,
wxWindowID  id = 10001,
const wxString &  caption = _("Broadcast Options"),
const wxPoint &  pos = wxDefaultPosition,
const wxSize &  size = wxSize(400, 300),
long  style = wxCAPTION|wxSYSTEM_MENU|wxCLOSE_BOX 
)

Definition at line 88 of file broadcast_dialog.cpp.

References Create(), and Init().

CBroadcastDialog::~CBroadcastDialog ( )

Destructor.

Member Function Documentation

bool CBroadcastDialog::Create ( wxWindow *  parent,
wxWindowID  id = 10001,
const wxString &  caption = _("Broadcast Options"),
const wxPoint &  pos = wxDefaultPosition,
const wxSize &  size = wxSize(400, 300),
long  style = wxCAPTION|wxSYSTEM_MENU|wxCLOSE_BOX 
)

Creation.

bool CBroadcastDialog::Create ( wxWindow *  parent,
wxWindowID  id = ID_CBROADCASTDIALOG,
const wxString &  caption = _("Broadcast Options"),
const wxPoint &  pos = wxDefaultPosition,
const wxSize &  size = wxSize(400, 300),
long  style = wxCAPTION|wxSYSTEM_MENU|wxCLOSE_BOX 
)

CBroadcastDialog creator

Definition at line 77 of file broadcast_settings_dlg.cpp.

References CreateControls().

Referenced by CBroadcastDialog().

void CBroadcastDialog::CreateControls ( )

Creates the controls and sizers.

void CBroadcastDialog::CreateControls ( )
bool CBroadcastDialog::GetAutoSelBroadcast ( ) const
inline

Definition at line 142 of file broadcast_settings_dlg.hpp.

References m_AutoSelBroadcast.

bool CBroadcastDialog::GetAutoSelBroadcast ( ) const
inline

Definition at line 147 of file broadcastdialog.hpp.

References m_AutoSelBroadcast.

bool CBroadcastDialog::GetAutoVRBroadcast ( ) const
inline

Definition at line 145 of file broadcast_settings_dlg.hpp.

References m_AutoVRBroadcast.

bool CBroadcastDialog::GetAutoVRBroadcast ( ) const
inline

Definition at line 150 of file broadcastdialog.hpp.

References m_AutoVRBroadcast.

wxBitmap CBroadcastDialog::GetBitmapResource ( const wxString &  name)

Retrieves bitmap resources.

wxBitmap CBroadcastDialog::GetBitmapResource ( const wxString &  name)

Get bitmap resources

Definition at line 333 of file broadcast_settings_dlg.cpp.

bool CBroadcastDialog::GetBroadcastBetweenProjects ( ) const
inline

Definition at line 148 of file broadcast_settings_dlg.hpp.

References m_BroadcastBetweenProjects.

bool CBroadcastDialog::GetBroadcastBetweenProjects ( ) const
inline

Definition at line 153 of file broadcastdialog.hpp.

References m_BroadcastBetweenProjects.

SBroadcastDlgParams CBroadcastDialog::GetData ( ) const

REturns dialog results.

SBroadcastDlgParams CBroadcastDialog::GetData ( void  ) const
wxIcon CBroadcastDialog::GetIconResource ( const wxString &  name)

Retrieves icon resources.

wxIcon CBroadcastDialog::GetIconResource ( const wxString &  name)

Get icon resources

Definition at line 341 of file broadcast_settings_dlg.cpp.

bool CBroadcastDialog::GetMatchAlnLocs ( ) const
inline

Definition at line 141 of file broadcastdialog.hpp.

References m_MatchAlnLocs.

bool CBroadcastDialog::GetMatchAlnLocs ( ) const
inline

Definition at line 151 of file broadcast_settings_dlg.hpp.

References m_MatchAlnLocs.

bool CBroadcastDialog::GetMatchByProduct ( ) const
inline

Definition at line 144 of file broadcastdialog.hpp.

References m_MatchByProduct.

bool CBroadcastDialog::GetMatchByProduct ( ) const
inline

Definition at line 154 of file broadcast_settings_dlg.hpp.

References m_MatchByProduct.

int CBroadcastDialog::GetMatchRadios ( ) const
inline

Definition at line 156 of file broadcastdialog.hpp.

References m_MatchRadios.

int CBroadcastDialog::GetMatchRadios ( ) const
inline

Definition at line 157 of file broadcast_settings_dlg.hpp.

References m_MatchRadios.

int CBroadcastDialog::GetPolicy ( ) const
inline

Definition at line 160 of file broadcast_settings_dlg.hpp.

References m_Policy.

int CBroadcastDialog::GetVRBPolicy ( ) const
inline

Definition at line 163 of file broadcast_settings_dlg.hpp.

References m_VRBPolicy.

int CBroadcastDialog::GetVRPolicy ( ) const
inline

Definition at line 138 of file broadcastdialog.hpp.

References m_VRPolicy.

void CBroadcastDialog::Init ( const SBroadcastDlgParams params)
void CBroadcastDialog::Init ( void  )

Definition at line 99 of file broadcast_settings_dlg.cpp.

References m_BroadcastList, m_SelectOneToOne, and NULL.

Referenced by CBroadcastDialog().

void CBroadcastDialog::OnApplyClick ( wxCommandEvent &  event)

wxEVT_COMMAND_BUTTON_CLICKED event handler for wxID_APPLY

void CBroadcastDialog::OnApplyClick ( wxCommandEvent &  event)

wxEVT_COMMAND_BUTTON_CLICKED event handler for wxID_APPLY

Definition at line 284 of file broadcast_dialog.cpp.

References ID_CHECKBOX1, ID_CHECKBOX2, ID_CHOICE1, and ID_RADIOBOX1.

void CBroadcastDialog::OnSetDefaultsBtnClick ( wxCommandEvent &  event)

Definition at line 313 of file broadcast_settings_dlg.cpp.

References m_BroadcastList, m_SelectOneToOne, and wxT.

void CBroadcastDialog::SetAutoSelBroadcast ( bool  value)
inline

Definition at line 143 of file broadcast_settings_dlg.hpp.

References m_AutoSelBroadcast, and value.

void CBroadcastDialog::SetAutoSelBroadcast ( bool  value)
inline

Definition at line 148 of file broadcastdialog.hpp.

References m_AutoSelBroadcast, and value.

void CBroadcastDialog::SetAutoVRBroadcast ( bool  value)
inline

Definition at line 146 of file broadcast_settings_dlg.hpp.

References m_AutoVRBroadcast, and value.

void CBroadcastDialog::SetAutoVRBroadcast ( bool  value)
inline

Definition at line 151 of file broadcastdialog.hpp.

References m_AutoVRBroadcast, and value.

void CBroadcastDialog::SetBroadcastBetweenProjects ( bool  value)
inline

Definition at line 149 of file broadcast_settings_dlg.hpp.

References m_BroadcastBetweenProjects, and value.

void CBroadcastDialog::SetBroadcastBetweenProjects ( bool  value)
inline

Definition at line 154 of file broadcastdialog.hpp.

References m_BroadcastBetweenProjects, and value.

void CBroadcastDialog::SetData ( const SBroadcastParams params)
void CBroadcastDialog::SetMatchAlnLocs ( bool  value)
inline

Definition at line 142 of file broadcastdialog.hpp.

References m_MatchAlnLocs, and value.

void CBroadcastDialog::SetMatchAlnLocs ( bool  value)
inline

Definition at line 152 of file broadcast_settings_dlg.hpp.

References m_MatchAlnLocs, and value.

void CBroadcastDialog::SetMatchByProduct ( bool  value)
inline

Definition at line 145 of file broadcastdialog.hpp.

References m_MatchByProduct, and value.

void CBroadcastDialog::SetMatchByProduct ( bool  value)
inline

Definition at line 155 of file broadcast_settings_dlg.hpp.

References m_MatchByProduct, and value.

void CBroadcastDialog::SetMatchRadios ( int  value)
inline

Definition at line 157 of file broadcastdialog.hpp.

References m_MatchRadios, and value.

void CBroadcastDialog::SetMatchRadios ( int  value)
inline

Definition at line 158 of file broadcast_settings_dlg.hpp.

References m_MatchRadios, and value.

void CBroadcastDialog::SetPolicy ( int  value)
inline

Definition at line 161 of file broadcast_settings_dlg.hpp.

References m_Policy, and value.

void CBroadcastDialog::SetVRBPolicy ( int  value)
inline

Definition at line 164 of file broadcast_settings_dlg.hpp.

References m_VRBPolicy, and value.

void CBroadcastDialog::SetVRPolicy ( int  value)
inline

Definition at line 139 of file broadcastdialog.hpp.

References m_VRPolicy, and value.

static bool CBroadcastDialog::ShowToolTips ( )
static

Should we show tooltips?

bool CBroadcastDialog::ShowToolTips ( )
static

Should we show tooltips?

Definition at line 328 of file broadcast_settings_dlg.cpp.

Member Data Documentation

bool CBroadcastDialog::m_AutoSelBroadcast
private
bool CBroadcastDialog::m_AutoVRBroadcast
private
bool CBroadcastDialog::m_BroadcastBetweenProjects
private
wxEditableListBox* CBroadcastDialog::m_BroadcastList
bool CBroadcastDialog::m_MatchAlnLocs
private
bool CBroadcastDialog::m_MatchByProduct
private
int CBroadcastDialog::m_MatchRadios
private
int CBroadcastDialog::m_Policy
private

Definition at line 183 of file broadcast_settings_dlg.hpp.

Referenced by CreateControls(), GetPolicy(), and SetPolicy().

wxCheckBox* CBroadcastDialog::m_SelectOneToOne
int CBroadcastDialog::m_VRBPolicy
private
int CBroadcastDialog::m_VRPolicy
private

Definition at line 171 of file broadcastdialog.hpp.

Referenced by GetVRPolicy(), Init(), and SetVRPolicy().


The documentation for this class was generated from the following files:
Modified on Tue Sep 19 16:21:37 2017 by modify_doxy.py rev. 546573