Patch level :4.0 nopatch
Files correlati : Ricompilazione Demo : [ ] Commento :iniziata installazione client git-svn-id: svn://10.65.10.50/trunk@15526 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
parent
1b73b9e61c
commit
8ead286823
@ -889,9 +889,9 @@ CampoWizardPage6::CampoWizardPage6(wxWizard* parent) : CampoWizardPage(parent)
|
||||
{
|
||||
wxString strTitle = wxT("Installazione di tipo Standard");
|
||||
wxString strBody = wxT("<p>Digitare nel campo <b>'Cartella programma'</b> il percorso completo della cartella dove si desidera installare il programma. ");
|
||||
strBody += wxT("Il percorso di default (consigliato) e' <i>C:\\Campo32</i> </p>");
|
||||
strBody += wxT("Il percorso di default (consigliato) e' <i>C:\\Campo</i> </p>");
|
||||
strBody += wxT("<p>Digitare nel campo <b>'Cartella Dati'</b> il percorso completo della cartella dove si desidera installare l'area dati. ");
|
||||
strBody += wxT("Il percorso di default (consigliato) e' <i>C:\\Campo32\\dati</i> </p>");
|
||||
strBody += wxT("Il percorso di default (consigliato) e' <i>C:\\Campo\\dati</i> </p>");
|
||||
strBody += wxT("<p><b>Dati dimostrativi:</b> area dati precompilata per esemplificare il funzionamento del software. ");
|
||||
strBody += wxT("Di norma <b>NON</b> vanno caricati nel caso di una normale installazione!</p>");
|
||||
SetHTMLText(strTitle, strBody);
|
||||
@ -907,8 +907,7 @@ CampoWizardPage6::CampoWizardPage6(wxWizard* parent) : CampoWizardPage(parent)
|
||||
wxString strPath;
|
||||
strPath = "C:\\";
|
||||
strPath += APPNAME;
|
||||
wxTextCtrl* tcPrgPath = new wxTextCtrl(this, 601, strPath,
|
||||
wxDefaultPosition, wxSize(320,-1));
|
||||
wxTextCtrl* tcPrgPath = new wxTextCtrl(this, 601, strPath, wxDefaultPosition, wxSize(320,-1));
|
||||
gbsSizer->Add(tcPrgPath, wxGBPosition(0, 1));
|
||||
//bottone 'sfoglia'
|
||||
wxButton* bPrgButton = new wxButton(this, 602, wxT("Sfoglia"), wxDefaultPosition, wxSize(48, -1));
|
||||
@ -919,8 +918,7 @@ CampoWizardPage6::CampoWizardPage6(wxWizard* parent) : CampoWizardPage(parent)
|
||||
AddLabel(gbsSizer, "Cartella dati", 1, 0);
|
||||
//campo testo
|
||||
strPath += "\\dati";
|
||||
wxTextCtrl* tcDataPath = new wxTextCtrl(this, 603, strPath,
|
||||
wxDefaultPosition, wxSize(320,-1));
|
||||
wxTextCtrl* tcDataPath = new wxTextCtrl(this, 603, strPath, wxDefaultPosition, wxSize(320,-1));
|
||||
gbsSizer->Add(tcDataPath, wxGBPosition(1, 1));
|
||||
//bottone 'sfoglia'
|
||||
wxButton* bDataButton = new wxButton(this, 604, wxT("Sfoglia"), wxDefaultPosition, wxSize(48, -1));
|
||||
@ -938,12 +936,26 @@ CampoWizardPage6::CampoWizardPage6(wxWizard* parent) : CampoWizardPage(parent)
|
||||
class CampoWizardPage7 : public CampoWizardPage
|
||||
{
|
||||
protected:
|
||||
DECLARE_EVENT_TABLE();
|
||||
virtual bool TransferDataFromWindow();
|
||||
void OnSrvClick(wxCommandEvent& e);
|
||||
|
||||
public:
|
||||
CampoWizardPage7(wxWizard* parent);
|
||||
};
|
||||
|
||||
BEGIN_EVENT_TABLE(CampoWizardPage7, CampoWizardPage)
|
||||
EVT_CHECKBOX(705, OnSrvClick)
|
||||
EVT_CHECKBOX(707, OnSrvClick)
|
||||
END_EVENT_TABLE()
|
||||
|
||||
void CampoWizardPage7::OnSrvClick(wxCommandEvent& e)
|
||||
{
|
||||
wxWindow* pWnd = FindWindowById(e.GetId() + 1);
|
||||
if (pWnd)
|
||||
pWnd->Enable(e.IsChecked());
|
||||
}
|
||||
|
||||
bool CampoWizardPage7::TransferDataFromWindow()
|
||||
{
|
||||
return true;
|
||||
@ -953,7 +965,7 @@ CampoWizardPage7::CampoWizardPage7(wxWizard* parent) : CampoWizardPage(parent)
|
||||
{
|
||||
wxString strTitle = wxT("Installazione di tipo Server");
|
||||
wxString strBody = wxT("<p>Digitare nel campo <b>'Cartella programma'</b> il percorso completo della cartella dove si desidera installare il programma. ");
|
||||
strBody += wxT("Il percorso di default (consigliato) e' <i>C:\\Campo32</i> </p>");
|
||||
strBody += wxT("Il percorso di default (consigliato) e' <i>C:\\Campo</i> </p>");
|
||||
strBody += wxT("<p>Le cartella del programma e dei dati <b>dovranno essere condivise in modalita' lettura/scrittura</b> agli utenti di sistema e di rete che utilizzeranno il software <b><i>Campo</i></b>. ");
|
||||
strBody += wxT("In mancanza di tale condivisione nessun client potra' accedere al server!</p>");
|
||||
strBody += wxT("<p><b>Gestore autorizzazioni:</b> e' il software che permette di gestire una chiave di protezione hardware multiutenza condivisa in rete. ");
|
||||
@ -972,8 +984,7 @@ CampoWizardPage7::CampoWizardPage7(wxWizard* parent) : CampoWizardPage(parent)
|
||||
wxString strPath;
|
||||
strPath = "C:\\";
|
||||
strPath += APPNAME;
|
||||
wxTextCtrl* tcPrgPath = new wxTextCtrl(this, 701, strPath,
|
||||
wxDefaultPosition, wxSize(320,-1));
|
||||
wxTextCtrl* tcPrgPath = new wxTextCtrl(this, 701, strPath, wxDefaultPosition, wxSize(320,-1));
|
||||
gbsSizer->Add(tcPrgPath, wxGBPosition(0, 1));
|
||||
//bottone 'sfoglia'
|
||||
wxButton* bPrgButton = new wxButton(this, 702, wxT("Sfoglia"), wxDefaultPosition, wxSize(48, -1));
|
||||
@ -984,8 +995,7 @@ CampoWizardPage7::CampoWizardPage7(wxWizard* parent) : CampoWizardPage(parent)
|
||||
AddLabel(gbsSizer, "Cartella dati", 1, 0);
|
||||
//campo testo
|
||||
strPath += "\\dati";
|
||||
wxTextCtrl* tcDataPath = new wxTextCtrl(this, 703, strPath,
|
||||
wxDefaultPosition, wxSize(320,-1));
|
||||
wxTextCtrl* tcDataPath = new wxTextCtrl(this, 703, strPath, wxDefaultPosition, wxSize(320,-1));
|
||||
gbsSizer->Add(tcDataPath, wxGBPosition(1, 1));
|
||||
//bottone 'sfoglia'
|
||||
wxButton* bDataButton = new wxButton(this, 704, wxT("Sfoglia"), wxDefaultPosition, wxSize(48, -1));
|
||||
@ -997,8 +1007,8 @@ CampoWizardPage7::CampoWizardPage7(wxWizard* parent) : CampoWizardPage(parent)
|
||||
chAuthoriz->SetValue(false);
|
||||
gbsSizer->Add(chAuthoriz, wxGBPosition(2, 1));
|
||||
//server authoriz
|
||||
wxTextCtrl* tcAuthoriz = new wxTextCtrl(this, 706, "localhost",
|
||||
wxDefaultPosition, wxSize(96,-1));
|
||||
wxTextCtrl* tcAuthoriz = new wxTextCtrl(this, 706, "localhost", wxDefaultPosition, wxSize(96,-1));
|
||||
tcAuthoriz->Disable();
|
||||
gbsSizer->Add(tcAuthoriz, wxGBPosition(2, 2));
|
||||
|
||||
//quarta riga della griglia
|
||||
@ -1006,6 +1016,10 @@ CampoWizardPage7::CampoWizardPage7(wxWizard* parent) : CampoWizardPage(parent)
|
||||
wxCheckBox* chDictionary = new wxCheckBox(this, 707, wxT("Installa il gestore dei dizionari"));
|
||||
chDictionary->SetValue(false);
|
||||
gbsSizer->Add(chDictionary, wxGBPosition(3, 1));
|
||||
//server diction
|
||||
wxTextCtrl* tcDiction = new wxTextCtrl(this, 708, "localhost", wxDefaultPosition, wxSize(96,-1));
|
||||
tcDiction->Disable();
|
||||
gbsSizer->Add(tcDiction, wxGBPosition(3, 2));
|
||||
}
|
||||
/**********************************************************************************************************/
|
||||
// 8 Installazione client
|
||||
@ -1016,11 +1030,54 @@ protected:
|
||||
public:
|
||||
CampoWizardPage8(wxWizard* parent);
|
||||
};
|
||||
|
||||
CampoWizardPage8::CampoWizardPage8(wxWizard* parent) : CampoWizardPage(parent)
|
||||
{
|
||||
wxString strTitle = wxT("Installazione di tipo Client");
|
||||
wxString strBody = wxT("Pagina 8. Installazione Client");
|
||||
wxString strBody = wxT("<p>Digitare nel campo <b>'Cartella locale programma'</b> il percorso completo della cartella dove si desidera installare il programma. ");
|
||||
strBody += wxT("Il percorso di default (consigliato) e' <i>C:\\Campo</i> </p>");
|
||||
SetHTMLText(strTitle, strBody);
|
||||
|
||||
//griglia per sistemare i campi
|
||||
wxGridBagSizer* gbsSizer = new wxGridBagSizer(VGAP, HGAP);
|
||||
GetSizer()->Add(gbsSizer);
|
||||
|
||||
//prima riga della griglia
|
||||
//prompt
|
||||
AddLabel(gbsSizer, "Cartella locale programma", 0, 0);
|
||||
//campo testo
|
||||
wxString strPath;
|
||||
strPath = "C:\\";
|
||||
strPath += APPNAME;
|
||||
wxTextCtrl* tcDestPrgPath = new wxTextCtrl(this, 801, strPath, wxDefaultPosition, wxSize(320,-1));
|
||||
gbsSizer->Add(tcDestPrgPath, wxGBPosition(0, 1));
|
||||
//bottone 'sfoglia'
|
||||
wxButton* bDestPrgButton = new wxButton(this, 802, wxT("Sfoglia"), wxDefaultPosition, wxSize(48, -1));
|
||||
gbsSizer->Add(bDestPrgButton, wxGBPosition(0, 2));
|
||||
|
||||
//seconda riga della griglia
|
||||
//prompt
|
||||
AddLabel(gbsSizer, "Cartella remota origine programmi", 1, 0);
|
||||
//campo testo
|
||||
strPath = "Z:\\";
|
||||
strPath += APPNAME;
|
||||
wxTextCtrl* tcSrcPrgPath = new wxTextCtrl(this, 803, strPath, wxDefaultPosition, wxSize(320,-1));
|
||||
gbsSizer->Add(tcSrcPrgPath, wxGBPosition(1, 1));
|
||||
//bottone 'sfoglia'
|
||||
wxButton* bSrcPrgButton = new wxButton(this, 804, wxT("Sfoglia"), wxDefaultPosition, wxSize(48, -1));
|
||||
gbsSizer->Add(bSrcPrgButton, wxGBPosition(1, 2));
|
||||
|
||||
//terza riga della griglia
|
||||
//prompt
|
||||
AddLabel(gbsSizer, "Cartella remota dati da utilizzare", 2, 0);
|
||||
//campo testo
|
||||
strPath += "\\dati";
|
||||
wxTextCtrl* tcDataPath = new wxTextCtrl(this, 805, strPath, wxDefaultPosition, wxSize(320,-1));
|
||||
gbsSizer->Add(tcDataPath, wxGBPosition(2, 1));
|
||||
//bottone 'sfoglia'
|
||||
wxButton* bDataButton = new wxButton(this, 806, wxT("Sfoglia"), wxDefaultPosition, wxSize(48, -1));
|
||||
gbsSizer->Add(bDataButton, wxGBPosition(2, 2));
|
||||
|
||||
}
|
||||
/**********************************************************************************************************/
|
||||
//pagina con la selezione di destinazione
|
||||
|
Loading…
x
Reference in New Issue
Block a user