A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://www.ncbi.nlm.nih.gov/IEB/ToolBox/CPP_DOC/doxyhtml/bulk__molinfo__edit__dlg_8cpp_source.html below:

NCBI C++ ToolKit: src/gui/packages/pkg_sequence_edit/bulk_molinfo_edit_dlg.cpp Source File

40 #include <wx/button.h> 78

: m_TopSeqEntry(seh), m_WizardType(wizard_type)

81  Create

(parent,

id

, caption, pos,

size

, style);

92 

SetExtraStyle(wxWS_EX_BLOCK_EVENTS);

98

GetSizer()->SetSizeHints(

this

);

139

wxBoxSizer* itemBoxSizer2 =

new

wxBoxSizer(wxVERTICAL);

140

itemCBulkCmdDlg1->SetSizer(itemBoxSizer2);

142

wxGrid* itemGrid3 =

new

wxGrid( itemCBulkCmdDlg1,

ID_GRID

, wxDefaultPosition, wxSize(600, 300), wxSUNKEN_BORDER|wxHSCROLL|wxVSCROLL );

143

itemGrid3->SetDefaultColSize(50);

144

itemGrid3->SetDefaultRowSize(25);

145

itemGrid3->SetColLabelSize(25);

146

itemGrid3->SetRowLabelSize(100);

147

itemGrid3->CreateGrid(5, 5, wxGrid::wxGridSelectCells);

148

itemBoxSizer2->Add(itemGrid3, 0, wxGROW|wxALL, 5);

150

wxBoxSizer* itemBoxSizer4 =

new

wxBoxSizer(wxHORIZONTAL);

151

itemBoxSizer2->Add(itemBoxSizer4, 0, wxALIGN_CENTER_HORIZONTAL|wxALL, 5);

153

wxButton* itemButton5 =

new

wxButton( itemCBulkCmdDlg1, wxID_OK,

_

(

"Accept"

), wxDefaultPosition, wxDefaultSize, 0 );

154

itemBoxSizer4->Add(itemButton5, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5);

156

wxButton* itemButton6 =

new

wxButton( itemCBulkCmdDlg1, wxID_CANCEL,

_

(

"Cancel"

), wxDefaultPosition, wxDefaultSize, 0 );

157

itemBoxSizer4->Add(itemButton6, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5);

167  m_Grid

->SetTable(gridAdapter,

true

);

172

wxArrayString moltype_choices;

173  for

(

size_t i

= 0;

i

< mol_strings.size();

i

++) {

174

moltype_choices.push_back(

ToWxString

(mol_strings[

i

]));

177

wxArrayString topology_choices;

178

topology_choices.push_back(

wxT

(

"linear"

));

179

topology_choices.push_back(

wxT

(

"circular"

));

181  for

(

int row

= 0;

row

< seqTable->GetNum_rows();

row

++) {

182  m_Grid

->SetCellEditor(

row

, 0,

new

wxGridCellChoiceEditor (moltype_choices,

false

));

183  m_Grid

->SetCellEditor(

row

, 1,

new

wxGridCellChoiceEditor (topology_choices,

false

));

186  m_Grid

->AutoSizeColumns();

242  return "Unknown error"

;

USING_SCOPE(ncbi::objects)

bool Create(wxWindow *parent, wxWindowID id, const wxString &title, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxDefaultSize, long style=wxDEFAULT_FRAME_STYLE, const wxString &name=wxFrameNameStr)

virtual string GetErrorMessage()

CBulkMolinfoEditDlg()

Constructors.

wxBitmap GetBitmapResource(const wxString &name)

Retrieves bitmap resources.

static bool ShowToolTips()

Should we show tooltips?

bool Create(wxWindow *parent, wxWindowID id=10077, const wxString &caption=_("Molecule Information"), const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(400, 300), long style=wxCAPTION|wxRESIZE_BORDER|wxSYSTEM_MENU|wxCLOSE_BOX|wxTAB_TRAVERSAL)

Creation.

void Init()

Initialises member variables.

void CreateControls()

Creates the controls and sizers.

~CBulkMolinfoEditDlg()

Destructor.

objects::CSeq_entry_Handle m_TopSeqEntry

CSourceRequirements::EWizardType m_WizardType

virtual CRef< CCmdComposite > GetCommand()

wxIcon GetIconResource(const wxString &name)

Retrieves icon resources.

CRef< objects::CSeq_table > GetValuesTable(void)

#define END_NCBI_SCOPE

End previously defined NCBI scope.

#define BEGIN_NCBI_SCOPE

Define ncbi namespace.

vector< string > GetMoleculeTypeOptions(CSourceRequirements::EWizardType wizard_type)

CRef< objects::CSeq_table > BuildMolInfoValuesTableFromSeqEntry(objects::CSeq_entry_Handle seh, CSourceRequirements::EWizardType wizard_type)

CRef< CCmdComposite > ApplyMolInfoValuesTableToSeqEntry(CRef< objects::CSeq_table >values_table, objects::CSeq_entry_Handle seh, bool add_confirmed=true)

const struct ncbi::grid::netcache::search::fields::SIZE size

#define row(bind, expected)

wxString ToWxString(const string &s)


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4