//================================================================
//================================================================
- WxGimmickSettingsDialog::WxGimmickSettingsDialog(wxWindow *parent)
+ WxGimmickSettingsDialog::WxGimmickSettingsDialog(wxWindow *parent,
+ WxGimmickSettings* settings)
:
wxDialog( parent,
-1,
wxMAXIMIZE_BOX |
wxMINIMIZE_BOX |
wxCAPTION
- )
+ ),
+ mSettings(settings)
{
wxBoxSizer *sizer = new wxBoxSizer(wxVERTICAL);
+
+
wxSizer* bsizer = CreateSeparatedButtonSizer(wxOK|wxCANCEL);
mOkButton = (wxButton*)FindWindowById(GetAffirmativeId(), this);
mCancelButton = (wxButton*)FindWindowById(GetEscapeId(), this);
//================================================================
//================================================================
- WxGimmickHelpWindow::WxGimmickHelpWindow(wxWindow *parent)
+ WxGimmickHelp::WxGimmickHelp(wxWindow *parent)
:
- wxDialog( parent,
+ wxPanel( parent, -1)
+ /*
-1,
_T("Gimmick! Help"),
wxDefaultPosition,
)
+ */
{
- SetBackgroundColour(*wxBLUE);
+ // SetBackgroundColour(*wxBLUE);
wxBoxSizer *sizer = new wxBoxSizer(wxVERTICAL);
wxFONTWEIGHT_NORMAL,
false);
- wxTextAttr mwxInputTextAttr;
- mwxInputTextAttr.SetFont(*FixedFont);
- mwxInputTextAttr.SetBackgroundColour(*wxBLUE);
- mwxInputTextAttr.SetTextColour(*wxWHITE);
- mText->SetDefaultStyle(mwxInputTextAttr);
- mText->SetBackgroundColour(*wxBLUE);
+ // wxTextAttr mwxInputTextAttr;
+ // mwxInputTextAttr.SetFont(*FixedFont);
+ // mwxInputTextAttr.SetBackgroundColour(*wxBLUE);
+ // mwxInputTextAttr.SetTextColour(*wxWHITE);
+ // mText->SetDefaultStyle(mwxInputTextAttr);
+ // mText->SetBackgroundColour(*wxBLUE);
std::string tip("\n");
- tip += " Welcome to Gimmick !\n\n";
- tip += " ( Give me my medical images quick ! )\n\n\n";
- tip += " You do not have any image collection yet\n\n";
- tip += " To create one :\n";
+ tip += " Welcome to Gimmick !\n";
+ tip += " ( Give me my medical images quick ! )\n\n\n";
+ tip += " To start you must create a 'Collection' :\n";
tip += " 1) Right click on 'Collection'\n";
tip += " 2) Select 'New collection'\n";
tip += " 3) Enter the collection file name and the collection name\n\n";
tip += " To add images to your collection :\n";
tip += " 1) Right click on your collection\n";
tip += " 2) Select 'Add image(s) to collection'\n";
- tip += " 3) Select 'Scan Directory' to add all images of a directory or\n";
- tip += " Select 'Select File(s)' to add only some selected images\n";
+ tip += " 3) Select :\n";
+ tip += " * 'Scan Directory' to add all images of a directory or\n";
+ tip += " * 'Select File(s)' to add only some selected images\n";
tip += " 4) Select the directory or the files to add\n";
tip += "\n\n";
- tip += " Remember then that *ALL* actions in Gimmick! are accessible\n";
- tip += " by right clicking on the elements of the view\n";
+ tip += " Remember then that *ALL ACTIONS* in Gimmick!\n";
+ tip += " are done by right clicking on the DICOM tree elements\n";
tip += "\n";
tip += " Enjoy!\n";
sizer->Add(mText,1,wxGROW);
-
+ /*
wxSizer* bsizer = CreateSeparatedButtonSizer(wxOK);
mOkButton = (wxButton*)FindWindowById(GetAffirmativeId(), this);
-
+
sizer->Add ( bsizer, 0, wxGROW );
-
+ */
SetSizer(sizer);
SetAutoLayout(true);
//================================================================
//================================================================
- WxGimmickHelpWindow::~WxGimmickHelpWindow()
+ WxGimmickHelp::~WxGimmickHelp()
{
}
//================================================================