CAlgoToolManagerParamsPanel::Create( parent,
id, pos,
size, style );
94GetSizer()->SetSizeHints(
this);
134wxBoxSizer* itemBoxSizer2 =
newwxBoxSizer(wxVERTICAL);
135itemCAlgoToolManagerParamsPanel1->SetSizer(itemBoxSizer2);
137wxStaticBox* itemStaticBoxSizer3Static =
newwxStaticBox(itemCAlgoToolManagerParamsPanel1,
wxID_ANY,
_(
"Objects for Cleanup"));
138wxStaticBoxSizer* itemStaticBoxSizer3 =
newwxStaticBoxSizer(itemStaticBoxSizer3Static, wxVERTICAL);
139itemBoxSizer2->Add(itemStaticBoxSizer3, 1, wxGROW|wxALL, 5);
142itemStaticBoxSizer3->Add(
m_ObjectList, 1, wxGROW|wxALL, 5);
144wxArrayString itemRadioBox5Strings;
145itemRadioBox5Strings.Add(
_(
"&Basic"));
146itemRadioBox5Strings.Add(
_(
"&Extended"));
147wxRadioBox* itemRadioBox5 =
newwxRadioBox( itemCAlgoToolManagerParamsPanel1,
ID_RADIOBOX1,
_(
"Cleanup Mode"), wxDefaultPosition, wxDefaultSize, itemRadioBox5Strings, 1, wxRA_SPECIFY_ROWS );
148itemRadioBox5->SetSelection(0);
149itemBoxSizer2->Add(itemRadioBox5, 0, wxALIGN_LEFT|wxALL, 5);
152itemRadioBox5->SetValidator( wxGenericValidator(&
GetData().m_CleanupMode) );
203 returnwxPanel::TransferDataToWindow();
212 if(!wxPanel::TransferDataFromWindow())
216 if(
GetData().m_Objects.empty()) {
217wxMessageBox(
wxT(
"Please select objects for cleanup."),
wxT(
"Error"),
218wxOK | wxICON_ERROR,
this);
static string MakeKey(const string §ion, const string &key, const string &delim=CGuiRegistry::kDecimalDot)
create a key from a section and a subkey
CRegistryWriteView GetWriteView(const string §ion)
get a read-write view at a particular level.
static CGuiRegistry & GetInstance()
access the application-wide singleton
CRegistryReadView GetReadView(const string §ion) const
get a read-only view at a particular level.
class CRegistryReadView provides a nested hierarchical view at a particular key.
void LoadTableSettings(const CRegistryReadView &view, bool byName=false)
void SaveTableSettings(CRegistryWriteView &view, bool saveSorting=true) const
static const char * kTableTag
void Init()
Initialises member variables.
void CreateControls()
Creates the controls and sizers.
virtual void LoadSettings()
void RestoreDefaults()
override in derived classes
virtual bool TransferDataFromWindow()
Transfer data from the window.
void Init()
Initialises member variables.
virtual bool TransferDataToWindow()
Transfer data to the window.
static bool ShowToolTips()
Should we show tooltips?
CObjectListWidget * m_ObjectList
~CCleanupPanel()
Destructor.
wxBitmap GetBitmapResource(const wxString &name)
Retrieves bitmap resources.
virtual void SaveSettings() const
override in derived classes
CCleanupParams & GetData()
Data access.
bool Create(wxWindow *parent, wxWindowID id=ID_CCLEANUPPANEL, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(400, 300), long style=wxTAB_TRAVERSAL)
Creation.
wxIcon GetIconResource(const wxString &name)
Retrieves icon resources.
TConstScopedObjects * m_InputObjects
CCleanupPanel()
Constructors.
#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
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