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

Search Toolkit Book for CEditHistory

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

+ Inheritance diagram for CEditHistory:
+ Collaboration diagram for CEditHistory:

Public Member Functions

 CEditHistory ()
 Constructors. More...
 
 CEditHistory (wxWindow *parent, objects::CBioseq_Handle bsh, wxWindowID id=wxID_ANY, const wxString &caption=_("Edit History"), const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxDefaultSize, long style=wxCAPTION|wxRESIZE_BORDER|wxSYSTEM_MENU|wxCLOSE_BOX|wxTAB_TRAVERSAL)
 
bool Create (wxWindow *parent, wxWindowID id=wxID_ANY, const wxString &caption=_("Edit History"), const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxDefaultSize, long style=wxCAPTION|wxRESIZE_BORDER|wxSYSTEM_MENU|wxCLOSE_BOX|wxTAB_TRAVERSAL)
 Creation. More...
 
 ~CEditHistory ()
 Destructor. More...
 
void Init ()
 Initialises member variables. More...
 
void CreateControls ()
 Creates the controls and sizers. More...
 
wxBitmap GetBitmapResource (const wxString &name)
 Retrieves bitmap resources. More...
 
wxIcon GetIconResource (const wxString &name)
 Retrieves icon resources. More...
 
CRef< CCmdCompositeGetCommand ()
 
- Public Member Functions inherited from CReportEditingDialog
virtual bool Show (bool show=1)
 Report opening events in dialogs used in the editing package. More...
 

Static Public Member Functions

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

Private Attributes

objects::CBioseq_Handle m_Bioseq
 
CGrowableListCtrlm_IdListReplaces
 
CGrowableListCtrlm_IdListReplacedBy
 
wxCheckBox * m_Deleted
 
CFlexibleDatePanelm_DeletedDate
 
CFlexibleDatePanelm_ReplacesDate
 
CFlexibleDatePanelm_ReplacedByDate
 

Detailed Description

CEditHistory class declaration

Definition at line 62 of file edit_history.hpp.

Constructor & Destructor Documentation

◆ CEditHistory() [1/2]

CEditHistory::CEditHistory ( )

Constructors.

CEditHistory type definition

CEditHistory event table definition

CEditHistory constructors

Definition at line 82 of file edit_history.cpp.

References Init().

◆ CEditHistory() [2/2]

CEditHistory::CEditHistory ( wxWindow *  parent,
objects::CBioseq_Handle  bsh,
wxWindowID  id = wxID_ANY,
const wxString &  caption = _("Edit History"),
const wxPoint &  pos = wxDefaultPosition,
const wxSize &  size = wxDefaultSize,
long  style = wxCAPTION|wxRESIZE_BORDER|wxSYSTEM_MENU|wxCLOSE_BOX|wxTAB_TRAVERSAL 
)

◆ ~CEditHistory()

CEditHistory::~CEditHistory ( )

Destructor.

CEditHistory destructor

Definition at line 123 of file edit_history.cpp.

Member Function Documentation

◆ Create()

bool CEditHistory::Create ( wxWindow *  parent,
wxWindowID  id = wxID_ANY,
const wxString &  caption = _("Edit History"),
const wxPoint &  pos = wxDefaultPosition,
const wxSize &  size = wxDefaultSize,
long  style = wxCAPTION|wxRESIZE_BORDER|wxSYSTEM_MENU|wxCLOSE_BOX|wxTAB_TRAVERSAL 
)

Creation.

CEditHistory creator

Definition at line 101 of file edit_history.cpp.

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

◆ CreateControls()

void CEditHistory::CreateControls ( )

◆ GetBitmapResource()

wxBitmap CEditHistory::GetBitmapResource ( const wxString &  name)

Retrieves bitmap resources.

Get bitmap resources

Definition at line 369 of file edit_history.cpp.

◆ GetCommand()

CRef< CCmdComposite > CEditHistory::GetCommand ( void  )

◆ GetIconResource()

wxIcon CEditHistory::GetIconResource ( const wxString &  name)

Retrieves icon resources.

Get icon resources

Definition at line 382 of file edit_history.cpp.

◆ Init()

void CEditHistory::Init ( void  )

Initialises member variables.

Member initialisation

Definition at line 134 of file edit_history.cpp.

References m_Deleted, m_DeletedDate, m_IdListReplacedBy, m_IdListReplaces, m_ReplacedByDate, m_ReplacesDate, and NULL.

◆ ShowToolTips()

bool CEditHistory::ShowToolTips ( )
static

Should we show tooltips?

Should we show tooltips?

Definition at line 360 of file edit_history.cpp.

Member Data Documentation

◆ m_Bioseq

objects::CBioseq_Handle CEditHistory::m_Bioseq
private

Definition at line 114 of file edit_history.hpp.

Referenced by CreateControls(), and GetCommand().

◆ m_Deleted

wxCheckBox* CEditHistory::m_Deleted
private

Definition at line 117 of file edit_history.hpp.

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

◆ m_DeletedDate

CFlexibleDatePanel* CEditHistory::m_DeletedDate
private

Definition at line 118 of file edit_history.hpp.

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

◆ m_IdListReplacedBy

CGrowableListCtrl* CEditHistory::m_IdListReplacedBy
private

Definition at line 116 of file edit_history.hpp.

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

◆ m_IdListReplaces

CGrowableListCtrl* CEditHistory::m_IdListReplaces
private

Definition at line 115 of file edit_history.hpp.

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

◆ m_ReplacedByDate

CFlexibleDatePanel* CEditHistory::m_ReplacedByDate
private

Definition at line 120 of file edit_history.hpp.

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

◆ m_ReplacesDate

CFlexibleDatePanel* CEditHistory::m_ReplacesDate
private

Definition at line 119 of file edit_history.hpp.

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


The documentation for this class was generated from the following files:
Modified on Sun Apr 21 03:38:07 2024 by modify_doxy.py rev. 669887