(parent,
id, caption, pos,
size, style);
81SetExtraStyle(wxWS_EX_BLOCK_EVENTS);
82CDialog::Create( parent,
id, caption, pos,
size, style );
87GetSizer()->SetSizeHints(
this);
117 m_Sizer=
newwxBoxSizer(wxVERTICAL);
118itemCDialog1->SetSizer(
m_Sizer);
120wxStaticBox* itemStaticBoxSizer3Static =
newwxStaticBox(itemCDialog1,
wxID_ANY,
_(
"Project items to be created"));
121wxStaticBoxSizer* itemStaticBoxSizer3 =
newwxStaticBoxSizer(itemStaticBoxSizer3Static, wxVERTICAL);
122 m_Sizer->Add(itemStaticBoxSizer3, 1, wxGROW|wxALL, 5);
125itemStaticBoxSizer3->Add(
m_List, 1, wxGROW|wxALL, 5);
127wxStaticBox* itemStaticBoxSizer5Static =
newwxStaticBox(itemCDialog1,
wxID_ANY,
_(
"Project to place new items"));
128wxStaticBoxSizer* itemStaticBoxSizer5 =
newwxStaticBoxSizer(itemStaticBoxSizer5Static, wxVERTICAL);
129 m_Sizer->Add(itemStaticBoxSizer5, 2, wxGROW|wxALL, 5);
134wxStdDialogButtonSizer* itemStdDialogButtonSizer7 =
newwxStdDialogButtonSizer;
136 m_Sizer->Add(itemStdDialogButtonSizer7, 0, wxALIGN_RIGHT|wxALL, 5);
137wxButton* itemButton8 =
newwxButton( itemCDialog1, wxID_OK,
_(
"&OK"), wxDefaultPosition, wxDefaultSize, 0 );
138itemButton8->SetDefault();
139itemStdDialogButtonSizer7->AddButton(itemButton8);
141wxButton* itemButton9 =
newwxButton( itemCDialog1, wxID_CANCEL,
_(
"&Cancel"), wxDefaultPosition, wxDefaultSize, 0 );
142itemStdDialogButtonSizer7->AddButton(itemButton9);
144itemStdDialogButtonSizer7->Realize();
208 if(CDialog::TransferDataToWindow()) {
224 returnCDialog::TransferDataFromWindow();
void SetObjects(TConstScopedObjects &objects)
SProjectSelectorParams m_Params
void SetProjectService(CProjectService *prj_srv)
CProjectService * m_ProjectService
wxBitmap GetBitmapResource(const wxString &name)
bool Create(wxWindow *parent, wxWindowID id=ID_CPROJECTSELECTORDLG, const wxString &caption=_("Project Selector Dialog"), const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxDefaultSize, long style=wxCAPTION|wxRESIZE_BORDER|wxSYSTEM_MENU|wxCLOSE_BOX|wxTAB_TRAVERSAL)
TConstScopedObjects * m_Objects
void GetParams(SProjectSelectorParams ¶ms) const
virtual void x_LoadSettings(const CRegistryReadView &view)
override these functions in derived classes
wxIcon GetIconResource(const wxString &name)
CProjectSelectorPanel * m_ProjectSelPanel
bool TransferDataFromWindow()
static bool ShowToolTips()
bool TransferDataToWindow()
virtual void x_SaveSettings(CRegistryWriteView view) const
CObjectListWidget * m_List
CProjectSelectorPanel - a panel that allows the user to specify how the project items created by a pl...
virtual bool TransferDataFromWindow()
void SetProjectService(CProjectService *service)
void GetParams(SProjectSelectorParams ¶ms) const
virtual bool TransferDataToWindow()
void SetParams(const SProjectSelectorParams ¶ms)
CProjectService - a service providing API for operations with Workspaces and Projects.
class CRegistryReadView provides a nested hierarchical view at a particular key.
CRegistryReadView GetReadView(const string §ion) const
CRegistryWriteView GetWriteView(const string §ion)
void LoadTableSettings(const CRegistryReadView &view, bool byName=false)
void SaveTableSettings(CRegistryWriteView &view, bool saveSorting=true) const
vector< SConstScopedObject > TConstScopedObjects
#define END_NCBI_SCOPE
End previously defined NCBI scope.
#define BEGIN_NCBI_SCOPE
Define ncbi namespace.
const struct ncbi::grid::netcache::search::fields::SIZE size
static const char * kTableTag
SProjectSelectorParams - holds data for CProjectSelectorPanel.
void SelectProjectByObjects(TConstScopedObjects &objects, CProjectService *srv)
is all objects belong to the same project - selects the project
bool m_EnableCreateSeparate
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