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/project__selector__panel_8cpp_source.html below:

NCBI C++ ToolKit: src/gui/core/project_selector_panel.cpp Source File

48 #include <wx/bitmap.h> 51 #include <wx/listbox.h> 52 #include <wx/checkbox.h> 53 #include <wx/radiobut.h> 54 #include <wx/textctrl.h> 66

: m_EnablePackaging(

false

),

67

m_EnableDecideLater(

true

),

68

m_EnableCreateSeparate(

true

),

69

m_ProjectMode(eAddToExistingProject),

70

m_SelectedProjectId(-1),

72

m_CreateFolder(

false

),

73

m_FolderName(

"New Folder"

)

103  const string

& section)

const 119  const string

& section)

127  if

(saved_pid == pid) {

196 

wxPanel::Create( parent,

id

, pos,

size

, style );

201

GetSizer()->SetSizeHints(

this

);

260

wxBoxSizer* itemBoxSizer2 =

new

wxBoxSizer(wxVERTICAL);

261

itemPanel1->SetSizer(itemBoxSizer2);

263

wxRadioButton* itemRadioButton3 =

new

wxRadioButton( itemPanel1,

ID_CREATE_NEW_BTN

,

_

(

"Create a new Project"

), wxDefaultPosition, wxDefaultSize, wxRB_GROUP );

264

itemRadioButton3->SetValue(

false

);

265

itemBoxSizer2->Add(itemRadioButton3, 0, wxALIGN_LEFT|wxALL, 5);

275

wxBoxSizer* itemBoxSizer6 =

new

wxBoxSizer(wxHORIZONTAL);

276

itemBoxSizer2->Add(itemBoxSizer6, 1, wxGROW|wxALL, 0);

278

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

280

wxArrayString m_ProjectListStrings;

284  m_Separator

=

new

wxStaticLine( itemPanel1, wxID_STATIC, wxDefaultPosition, wxDefaultSize, wxLI_HORIZONTAL );

285

itemBoxSizer2->Add(

m_Separator

, 0, wxGROW|wxALL, 5);

293

itemBoxSizer2->Add(

m_FolderCheck

, 0, wxALIGN_LEFT|wxALL, 5);

295

wxBoxSizer* itemBoxSizer12 =

new

wxBoxSizer(wxHORIZONTAL);

296

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

298

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

301

itemBoxSizer12->Add(

m_FolderInput

, 1, wxALIGN_CENTER_VERTICAL|wxALL, 5);

304

itemRadioButton3->SetValidator( wxGenericValidator(&

m_CreateOption

) );

319

GetSizer()->Hide(GetSizer()->GetItemCount() - 1);

341  if

(doc && doc->IsLoaded()) {

417  bool

en_list = (prj_count > 0);

435  return

wxPanel::TransferDataToWindow();

441  if

(wxPanel::TransferDataFromWindow()) {

466

wxPanel::OnInitDialog(event);

User-defined methods of the data storage class.

User-defined methods of the data storage class.

EVT_CHECKBOX(ID_CADJUSTFEATURES_CHECKBOX, CAdjustFeaturesForGaps::OnKnownUnknownSelected) EVT_CHECKBOX(ID_CADJUSTFEATURES_CHECKBOX1

static string MakeKey(const string &section, const string &key, const string &delim=CGuiRegistry::kDecimalDot)

create a key from a section and a subkey

CProjectSelectorPanel - a panel that allows the user to specify how the project items created by a pl...

SProjectSelectorParams m_Params

void OnInitDialog(wxInitDialogEvent &event)

void OnProjectListSelected(wxCommandEvent &event)

wxTextCtrl * m_FolderInput

void OnCreateFolderCheckClick(wxCommandEvent &event)

wxRadioButton * m_CreateSeparateRadio

wxCheckBox * m_PackageCheck

wxCheckBox * m_FolderCheck

TProjectIdVector m_ProjectIds

wxRadioButton * m_ExistingRadio

bool Create(wxWindow *parent, wxWindowID id=ID_CPROJECTSELECTORPANEL, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxDefaultSize, long style=wxTAB_TRAVERSAL)

virtual bool TransferDataFromWindow()

wxStaticLine * m_Separator

void OnCreateDepBtnSelected(wxCommandEvent &event)

void x_FillProjectsList()

CProjectService * m_ProjectService

this member is used for saving projects IDs within the session static TProjectId m_LastSelectedProjec...

void OnCreateNewBtnSelected(wxCommandEvent &event)

wxBitmap GetBitmapResource(const wxString &name)

CProjectSelectorPanel()

CProjectSelectorPanel.

void SetProjectService(CProjectService *service)

wxIcon GetIconResource(const wxString &name)

void GetParams(SProjectSelectorParams &params) const

void OnAddToExistBtnSelected(wxCommandEvent &event)

virtual bool TransferDataToWindow()

wxListBox * m_ProjectList

static bool ShowToolTips()

void x_SelectProjectByParams()

void SetParams(const SProjectSelectorParams &params)

CProjectService - a service providing API for operations with Workspaces and Projects.

CRef< objects::CGBWorkspace > GetGBWorkspace()

class CRegistryReadView provides a nested hierarchical view at a particular key.

int GetInt(const string &key, int default_val=0) const

access a named key at this level, with no recursion

bool GetBool(const string &key, bool default_val=false) const

string GetString(const string &key, const string &default_val=kEmptyStr) const

void Set(const string &key, int val)

access a named key at this level, with no recursion

CProjectSelectOptions - describes how new Project Items shall be added to a workspace.

void Set_CreateNewProject(const string &folder=kEmptyStr)

void Set_CreateSeparateProjects()

void Set_AddToExistingProject(TProjectId &project_id, const string &folder=kEmptyStr)

Template class for iteration on objects of class C (non-medifiable version)

vector< SConstScopedObject > TConstScopedObjects

static TPid GetPid(void)

Get process identifier (pid) for the current process.

pid_t TPid

Process identifier (PID) and process handle.

#define END_NCBI_SCOPE

End previously defined NCBI scope.

#define BEGIN_NCBI_SCOPE

Define ncbi namespace.

const TTitle & GetTitle(void) const

Get the Title member data.

unsigned int

A callback function used to compare two keys in a database.

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

Defines process management classes.

static const char * kCreateFolderTag

static const char * kSelPrjIdTag

static const char * kModeTag

static const char * kPIDTag

static const char * kFolderNameTag

SProjectSelectorParams - holds data for CProjectSelectorPanel.

@ eCreateSeparateProjects

void SelectProjectByObjects(TConstScopedObjects &objects, CProjectService *srv)

is all objects belong to the same project - selects the project

void LoadSettings(CRegistryReadView &view, const string &section)

TProjectId m_SelectedProjectId

bool m_CreateFolder

package in a single item

void ToLoadingOptions(CSelectProjectOptions &options)

bool m_EnableCreateSeparate

void SaveSettings(CRegistryWriteView &view, const string &section) const

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