1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229
|
///////////////////////////////////////////////////////////////////////////
// C++ code generated with wxFormBuilder (version Nov 6 2013)
// http://www.wxformbuilder.org/
//
// PLEASE DO "NOT" EDIT THIS FILE!
///////////////////////////////////////////////////////////////////////////
#include "wx/ginkgostyle/ginkgostyle.h"
#include "opendialogsbase.h"
///////////////////////////////////////////////////////////////////////////
DialogoDicomDirBase::DialogoDicomDirBase( wxWindow* parent, wxWindowID id, const wxString& title, const wxPoint& pos, const wxSize& size, long style ) : wxDialog( parent, id, title, pos, size, style )
{
this->SetSizeHints( wxSize( 880,521 ), wxDefaultSize );
wxBoxSizer* bSizer15;
bSizer15 = new wxBoxSizer( wxVERTICAL );
m_pHeader = new HeaderPanel( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
m_pHeader->SetToolTip( _("Acquire from DICOM Dir") );
bSizer15->Add( m_pHeader, 0, wxEXPAND, 5 );
m_pBody = new BodyPanel( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
wxBoxSizer* bSizer7;
bSizer7 = new wxBoxSizer( wxVERTICAL );
m_pResultsView = new wxDataViewCtrl(m_pBody, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxDV_MULTIPLE|wxDV_ROW_LINES);
bSizer7->Add( m_pResultsView , 1, wxALL|wxEXPAND, 5 );
m_pBody->SetSizer( bSizer7 );
m_pBody->Layout();
bSizer7->Fit( m_pBody );
bSizer15->Add( m_pBody, 1, wxEXPAND, 5 );
m_pFooter = new FooterPanel( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
wxBoxSizer* bSizer16;
bSizer16 = new wxBoxSizer( wxHORIZONTAL );
bSizer16->Add( 0, 0, 1, wxEXPAND, 5 );
m_button4 = new wxButton( m_pFooter, wxID_OK, _("Copy"), wxDefaultPosition, wxDefaultSize, 0 );
m_button4->SetDefault();
bSizer16->Add( m_button4, 0, wxRIGHT, 5 );
m_button13 = new wxButton( m_pFooter, wxID_ANY, _("Link"), wxDefaultPosition, wxDefaultSize, 0 );
bSizer16->Add( m_button13, 0, wxALIGN_CENTER_VERTICAL, 5 );
m_button5 = new wxButton( m_pFooter, wxID_CANCEL, _("Cancel"), wxDefaultPosition, wxDefaultSize, 0 );
bSizer16->Add( m_button5, 0, wxLEFT, 5 );
m_pFooter->SetSizer( bSizer16 );
m_pFooter->Layout();
bSizer16->Fit( m_pFooter );
bSizer15->Add( m_pFooter, 0, wxEXPAND, 5 );
this->SetSizer( bSizer15 );
this->Layout();
bSizer15->Fit( this );
this->Centre( wxBOTH );
// Connect Events
m_button4->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( DialogoDicomDirBase::OnCopyClick ), NULL, this );
m_button13->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( DialogoDicomDirBase::OnLinkClick ), NULL, this );
}
DialogoDicomDirBase::~DialogoDicomDirBase()
{
// Disconnect Events
m_button4->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( DialogoDicomDirBase::OnCopyClick ), NULL, this );
m_button13->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( DialogoDicomDirBase::OnLinkClick ), NULL, this );
}
SelectDriveBase::SelectDriveBase( wxWindow* parent, wxWindowID id, const wxString& title, const wxPoint& pos, const wxSize& size, long style ) : wxDialog( parent, id, title, pos, size, style )
{
this->SetSizeHints( wxSize( 380,220 ), wxDefaultSize );
wxBoxSizer* bSizer15;
bSizer15 = new wxBoxSizer( wxVERTICAL );
m_pBody = new BodyPanel( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
wxBoxSizer* bSizer7;
bSizer7 = new wxBoxSizer( wxVERTICAL );
m_pPanelMessage = new TitledPanel( m_pBody, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
m_pPanelMessage->SetToolTip( _("Select drive") );
wxBoxSizer* bSizer4;
bSizer4 = new wxBoxSizer( wxVERTICAL );
m_pLabel = new wxStaticText( m_pPanelMessage, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
m_pLabel->Wrap( -1 );
bSizer4->Add( m_pLabel, 0, wxALL, 5 );
wxArrayString m_pUnitsChoices;
m_pUnits = new wxChoice( m_pPanelMessage, wxID_ANY, wxDefaultPosition, wxDefaultSize, m_pUnitsChoices, 0 );
m_pUnits->SetSelection( 0 );
bSizer4->Add( m_pUnits, 0, wxALL, 5 );
m_pPanelMessage->SetSizer( bSizer4 );
m_pPanelMessage->Layout();
bSizer4->Fit( m_pPanelMessage );
bSizer7->Add( m_pPanelMessage, 1, wxEXPAND, 5 );
m_pBody->SetSizer( bSizer7 );
m_pBody->Layout();
bSizer7->Fit( m_pBody );
bSizer15->Add( m_pBody, 1, wxEXPAND, 5 );
m_pFooter = new FooterPanel( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
wxBoxSizer* bSizer16;
bSizer16 = new wxBoxSizer( wxHORIZONTAL );
bSizer16->Add( 0, 0, 1, wxEXPAND, 5 );
m_button4 = new wxButton( m_pFooter, wxID_OK, _("Ok"), wxDefaultPosition, wxDefaultSize, 0 );
m_button4->SetDefault();
bSizer16->Add( m_button4, 0, wxRIGHT, 5 );
m_button5 = new wxButton( m_pFooter, wxID_CANCEL, _("Cancel"), wxDefaultPosition, wxDefaultSize, 0 );
bSizer16->Add( m_button5, 0, wxLEFT, 5 );
m_pFooter->SetSizer( bSizer16 );
m_pFooter->Layout();
bSizer16->Fit( m_pFooter );
bSizer15->Add( m_pFooter, 0, wxEXPAND, 5 );
this->SetSizer( bSizer15 );
this->Layout();
bSizer15->Fit( this );
this->Centre( wxBOTH );
// Connect Events
m_button4->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( SelectDriveBase::OnEndClick ), NULL, this );
}
SelectDriveBase::~SelectDriveBase()
{
// Disconnect Events
m_button4->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( SelectDriveBase::OnEndClick ), NULL, this );
}
CopyOrLinkBase::CopyOrLinkBase( wxWindow* parent, wxWindowID id, const wxString& title, const wxPoint& pos, const wxSize& size, long style ) : wxDialog( parent, id, title, pos, size, style )
{
this->SetSizeHints( wxSize( 380,220 ), wxDefaultSize );
wxBoxSizer* bSizer15;
bSizer15 = new wxBoxSizer( wxVERTICAL );
m_pBody = new BodyPanel( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
wxBoxSizer* bSizer7;
bSizer7 = new wxBoxSizer( wxVERTICAL );
m_pPanelMessage = new TitledPanel( m_pBody, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
m_pPanelMessage->SetToolTip( _("Copy or link") );
wxBoxSizer* bSizer4;
bSizer4 = new wxBoxSizer( wxVERTICAL );
m_pLabel = new wxStaticText( m_pPanelMessage, wxID_ANY, _("Do you want to copy or link files?"), wxDefaultPosition, wxDefaultSize, 0 );
m_pLabel->Wrap( -1 );
bSizer4->Add( m_pLabel, 0, wxALL, 5 );
m_pPanelMessage->SetSizer( bSizer4 );
m_pPanelMessage->Layout();
bSizer4->Fit( m_pPanelMessage );
bSizer7->Add( m_pPanelMessage, 1, wxEXPAND, 5 );
m_pBody->SetSizer( bSizer7 );
m_pBody->Layout();
bSizer7->Fit( m_pBody );
bSizer15->Add( m_pBody, 1, wxEXPAND, 5 );
m_pFooter = new FooterPanel( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
wxBoxSizer* bSizer16;
bSizer16 = new wxBoxSizer( wxHORIZONTAL );
bSizer16->Add( 0, 0, 1, wxEXPAND, 5 );
m_button4 = new wxButton( m_pFooter, wxID_ANY, _("Copy"), wxDefaultPosition, wxDefaultSize, 0 );
m_button4->SetDefault();
bSizer16->Add( m_button4, 0, wxRIGHT, 5 );
m_button5 = new wxButton( m_pFooter, wxID_ANY, _("Link"), wxDefaultPosition, wxDefaultSize, 0 );
bSizer16->Add( m_button5, 0, wxLEFT, 5 );
m_pFooter->SetSizer( bSizer16 );
m_pFooter->Layout();
bSizer16->Fit( m_pFooter );
bSizer15->Add( m_pFooter, 0, wxEXPAND, 5 );
this->SetSizer( bSizer15 );
this->Layout();
bSizer15->Fit( this );
this->Centre( wxBOTH );
// Connect Events
m_button4->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( CopyOrLinkBase::OnCopy ), NULL, this );
m_button5->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( CopyOrLinkBase::OnLink ), NULL, this );
}
CopyOrLinkBase::~CopyOrLinkBase()
{
// Disconnect Events
m_button4->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( CopyOrLinkBase::OnCopy ), NULL, this );
m_button5->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( CopyOrLinkBase::OnLink ), NULL, this );
}
|