From: unknown Date: Tue, 16 Apr 2013 16:39:17 +0000 (+0200) Subject: Feature #1711 CreaDevManager application implementation X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=commitdiff_plain;h=9877d27eb9a1339d97bc8e13ec5f1f75a5dc9e3f;p=crea.git Feature #1711 CreaDevManager application implementation Fix: Welcome buttons not showing on launch --- diff --git a/lib/creaDevManagerLib/wxCDMAppliDescriptionPanel.cpp b/lib/creaDevManagerLib/wxCDMAppliDescriptionPanel.cpp index 710d1ee..ac06179 100644 --- a/lib/creaDevManagerLib/wxCDMAppliDescriptionPanel.cpp +++ b/lib/creaDevManagerLib/wxCDMAppliDescriptionPanel.cpp @@ -80,13 +80,11 @@ bool wxCDMAppliDescriptionPanel::Create( ) { wxPanel::Create(parent, id, pos, size, style); - + this->appli = appli; + CreateControls(); // this part makes the scrollbars show up this->FitInside(); // ask the sizer about the needed size this->SetScrollRate(5, 5); - - this->appli = appli; - CreateControls(); return TRUE; } diff --git a/lib/creaDevManagerLib/wxCDMApplicationDescriptionPanel.cpp b/lib/creaDevManagerLib/wxCDMApplicationDescriptionPanel.cpp index 00cf8cc..dd48c2a 100644 --- a/lib/creaDevManagerLib/wxCDMApplicationDescriptionPanel.cpp +++ b/lib/creaDevManagerLib/wxCDMApplicationDescriptionPanel.cpp @@ -82,13 +82,11 @@ bool wxCDMApplicationDescriptionPanel::Create( ) { wxPanel::Create(parent, id, pos, size, style); - + this->application = application; + CreateControls(); // this part makes the scrollbars show up this->FitInside(); // ask the sizer about the needed size this->SetScrollRate(5, 5); - - this->application = application; - CreateControls(); return TRUE; } diff --git a/lib/creaDevManagerLib/wxCDMBlackBoxDescriptionPanel.cpp b/lib/creaDevManagerLib/wxCDMBlackBoxDescriptionPanel.cpp index c562ef7..b694aee 100644 --- a/lib/creaDevManagerLib/wxCDMBlackBoxDescriptionPanel.cpp +++ b/lib/creaDevManagerLib/wxCDMBlackBoxDescriptionPanel.cpp @@ -78,14 +78,12 @@ bool wxCDMBlackBoxDescriptionPanel::Create( long style ) { + this->blackBox = blackBox; wxPanel::Create(parent, id, pos, size, style); - + CreateControls(); // this part makes the scrollbars show up this->FitInside(); // ask the sizer about the needed size this->SetScrollRate(5, 5); - - this->blackBox = blackBox; - CreateControls(); return TRUE; } diff --git a/lib/creaDevManagerLib/wxCDMCMakeListsDescriptionPanel.cpp b/lib/creaDevManagerLib/wxCDMCMakeListsDescriptionPanel.cpp index 40c2c33..ea0d465 100644 --- a/lib/creaDevManagerLib/wxCDMCMakeListsDescriptionPanel.cpp +++ b/lib/creaDevManagerLib/wxCDMCMakeListsDescriptionPanel.cpp @@ -73,11 +73,11 @@ bool wxCDMCMakeListsDescriptionPanel::Create( ) { wxPanel::Create(parent, id, pos, size, style); + this->cMakeLists = makefile; + CreateControls(); // this part makes the scrollbars show up this->FitInside(); // ask the sizer about the needed size this->SetScrollRate(5, 5); - this->cMakeLists = makefile; - CreateControls(); return TRUE; } diff --git a/lib/creaDevManagerLib/wxCDMFileDescriptionPanel.cpp b/lib/creaDevManagerLib/wxCDMFileDescriptionPanel.cpp index 81768a9..e99603a 100644 --- a/lib/creaDevManagerLib/wxCDMFileDescriptionPanel.cpp +++ b/lib/creaDevManagerLib/wxCDMFileDescriptionPanel.cpp @@ -75,12 +75,11 @@ bool wxCDMFileDescriptionPanel::Create( ) { wxPanel::Create(parent, id, pos, size, style); + this->file = file; + CreateControls(); // this part makes the scrollbars show up this->FitInside(); // ask the sizer about the needed size this->SetScrollRate(5, 5); - - this->file = file; - CreateControls(); return TRUE; } diff --git a/lib/creaDevManagerLib/wxCDMFolderDescriptionPanel.cpp b/lib/creaDevManagerLib/wxCDMFolderDescriptionPanel.cpp index 7f95533..2f1c181 100644 --- a/lib/creaDevManagerLib/wxCDMFolderDescriptionPanel.cpp +++ b/lib/creaDevManagerLib/wxCDMFolderDescriptionPanel.cpp @@ -76,12 +76,11 @@ bool wxCDMFolderDescriptionPanel::Create( ) { wxPanel::Create(parent, id, pos, size, style); + this->folder = folder; + CreateControls(); // this part makes the scrollbars show up this->FitInside(); // ask the sizer about the needed size this->SetScrollRate(5, 5); - - this->folder = folder; - CreateControls(); return TRUE; } diff --git a/lib/creaDevManagerLib/wxCDMLibDescriptionPanel.cpp b/lib/creaDevManagerLib/wxCDMLibDescriptionPanel.cpp index 039c45a..5a71470 100644 --- a/lib/creaDevManagerLib/wxCDMLibDescriptionPanel.cpp +++ b/lib/creaDevManagerLib/wxCDMLibDescriptionPanel.cpp @@ -78,12 +78,11 @@ bool wxCDMLibDescriptionPanel::Create( ) { wxPanel::Create(parent, id, pos, size, style); + this->lib = lib; + CreateControls(); // this part makes the scrollbars show up this->FitInside(); // ask the sizer about the needed size this->SetScrollRate(5, 5); - - this->lib = lib; - CreateControls(); return TRUE; } diff --git a/lib/creaDevManagerLib/wxCDMLibraryDescriptionPanel.cpp b/lib/creaDevManagerLib/wxCDMLibraryDescriptionPanel.cpp index 8c76721..42f58fe 100644 --- a/lib/creaDevManagerLib/wxCDMLibraryDescriptionPanel.cpp +++ b/lib/creaDevManagerLib/wxCDMLibraryDescriptionPanel.cpp @@ -81,12 +81,11 @@ bool wxCDMLibraryDescriptionPanel::Create( ) { wxPanel::Create(parent, id, pos, size, style); + this->library = library; + CreateControls(); // this part makes the scrollbars show up this->FitInside(); // ask the sizer about the needed size this->SetScrollRate(5, 5); - - this->library = library; - CreateControls(); return TRUE; } diff --git a/lib/creaDevManagerLib/wxCDMMainDescriptionPanel.cpp b/lib/creaDevManagerLib/wxCDMMainDescriptionPanel.cpp index 41daf68..71d4508 100644 --- a/lib/creaDevManagerLib/wxCDMMainDescriptionPanel.cpp +++ b/lib/creaDevManagerLib/wxCDMMainDescriptionPanel.cpp @@ -74,11 +74,12 @@ bool wxCDMMainDescriptionPanel::Create( ) { wxPanel::Create(parent, id, pos, size, style); + CreateControls(); //to scroll this->FitInside(); // ask the sizer about the needed size this->SetScrollRate(5, 5); - CreateControls(); + return TRUE; } diff --git a/lib/creaDevManagerLib/wxCDMPackageDescriptionPanel.cpp b/lib/creaDevManagerLib/wxCDMPackageDescriptionPanel.cpp index 5ac4691..6858c55 100644 --- a/lib/creaDevManagerLib/wxCDMPackageDescriptionPanel.cpp +++ b/lib/creaDevManagerLib/wxCDMPackageDescriptionPanel.cpp @@ -89,12 +89,11 @@ bool wxCDMPackageDescriptionPanel::Create( ) { wxPanel::Create(parent, id, pos, size, style); + this->package = package; + CreateControls(); // this part makes the scrollbars show up this->FitInside(); // ask the sizer about the needed size this->SetScrollRate(5, 5); - - this->package = package; - CreateControls(); return TRUE; } diff --git a/lib/creaDevManagerLib/wxCDMPackageManagerPanel.cpp b/lib/creaDevManagerLib/wxCDMPackageManagerPanel.cpp index a706c17..c7d0d77 100644 --- a/lib/creaDevManagerLib/wxCDMPackageManagerPanel.cpp +++ b/lib/creaDevManagerLib/wxCDMPackageManagerPanel.cpp @@ -80,12 +80,11 @@ bool wxCDMPackageManagerPanel::Create( ) { wxPanel::Create(parent, id, pos, size, style); + this->project = project; + CreateControls(); // this part makes the scrollbars show up this->FitInside(); // ask the sizer about the needed size this->SetScrollRate(5, 5); - - this->project = project; - CreateControls(); return TRUE; } diff --git a/lib/creaDevManagerLib/wxCDMProjectActionsPanel.cpp b/lib/creaDevManagerLib/wxCDMProjectActionsPanel.cpp index 5b5510e..35a98be 100755 --- a/lib/creaDevManagerLib/wxCDMProjectActionsPanel.cpp +++ b/lib/creaDevManagerLib/wxCDMProjectActionsPanel.cpp @@ -75,14 +75,12 @@ bool wxCDMProjectActionsPanel::Create( ) { wxPanel::Create(parent,id,pos,size,style); - // this part makes the scrollbars show up - this->FitInside(); // ask the sizer about the needed size - this->SetScrollRate(5, 5); - wxBoxSizer* sizer = new wxBoxSizer(wxHORIZONTAL); this->SetSizer(sizer); - CreateControls(); + // this part makes the scrollbars show up + this->FitInside(); // ask the sizer about the needed size + this->SetScrollRate(5, 5); return TRUE; } diff --git a/lib/creaDevManagerLib/wxCDMProjectDescriptionPanel.cpp b/lib/creaDevManagerLib/wxCDMProjectDescriptionPanel.cpp index 503d511..844d8cb 100644 --- a/lib/creaDevManagerLib/wxCDMProjectDescriptionPanel.cpp +++ b/lib/creaDevManagerLib/wxCDMProjectDescriptionPanel.cpp @@ -81,12 +81,11 @@ bool wxCDMProjectDescriptionPanel::Create( ) { wxPanel::Create(parent, id, pos, size, style); + this->project = project; + CreateControls(); // this part makes the scrollbars show up this->FitInside(); // ask the sizer about the needed size this->SetScrollRate(5, 5); - - this->project = project; - CreateControls(); return TRUE; }