mirror of
https://github.com/jlengrand/Ivolution.git
synced 2026-03-10 08:21:18 +00:00
Adds form builder projects, used to generate the GUI templates.
This commit is contained in:
10
formBuilder/IvolutionV2IvolutionTemplate.py
Normal file
10
formBuilder/IvolutionV2IvolutionTemplate.py
Normal file
@@ -0,0 +1,10 @@
|
||||
"""Subclass of IvolutionTemplate, which is generated by wxFormBuilder."""
|
||||
|
||||
import wx
|
||||
import IvolutionTemplate.py
|
||||
|
||||
# Implementing IvolutionTemplate
|
||||
class IvolutionV2IvolutionTemplate( IvolutionTemplate.py.IvolutionTemplate ):
|
||||
def __init__( self, parent ):
|
||||
IvolutionTemplate.py.IvolutionTemplate.__init__( self, parent )
|
||||
|
||||
3323
formBuilder/ivolution__v21.fbp
Normal file
3323
formBuilder/ivolution__v21.fbp
Normal file
File diff suppressed because it is too large
Load Diff
3323
formBuilder/ivolution_v2.fbp
Normal file
3323
formBuilder/ivolution_v2.fbp
Normal file
File diff suppressed because it is too large
Load Diff
80
formBuilder/noname.cpp
Normal file
80
formBuilder/noname.cpp
Normal file
@@ -0,0 +1,80 @@
|
||||
///////////////////////////////////////////////////////////////////////////
|
||||
// C++ code generated with wxFormBuilder (version Jun 30 2011)
|
||||
// http://www.wxformbuilder.org/
|
||||
//
|
||||
// PLEASE DO "NOT" EDIT THIS FILE!
|
||||
///////////////////////////////////////////////////////////////////////////
|
||||
|
||||
#include "noname.h"
|
||||
|
||||
///////////////////////////////////////////////////////////////////////////
|
||||
|
||||
IvolutionTemplate::IvolutionTemplate( wxWindow* parent, wxWindowID id, const wxString& title, const wxPoint& pos, const wxSize& size, long style ) : wxFrame( parent, id, title, pos, size, style )
|
||||
{
|
||||
this->SetSizeHints( wxDefaultSize, wxDefaultSize );
|
||||
|
||||
statusbar = this->CreateStatusBar( 2, wxST_SIZEGRIP, wxID_ANY );
|
||||
menubar = new wxMenuBar( 0 );
|
||||
filemenu = new wxMenu();
|
||||
wxMenuItem* exitmenu;
|
||||
exitmenu = new wxMenuItem( filemenu, wxID_ANY, wxString( wxT("Exit") ) + wxT('\t') + wxT("CTRL + q"), wxEmptyString, wxITEM_NORMAL );
|
||||
filemenu->Append( exitmenu );
|
||||
|
||||
menubar->Append( filemenu, wxT("File") );
|
||||
|
||||
aboutmenu = new wxMenu();
|
||||
wxMenuItem* helpmenu;
|
||||
helpmenu = new wxMenuItem( aboutmenu, wxID_ANY, wxString( wxT("Help") ) + wxT('\t') + wxT("CTRL + h"), wxEmptyString, wxITEM_NORMAL );
|
||||
aboutmenu->Append( helpmenu );
|
||||
|
||||
wxMenuItem* aboutseparator;
|
||||
aboutseparator = aboutmenu->AppendSeparator();
|
||||
|
||||
wxMenuItem* aboutmenu1;
|
||||
aboutmenu1 = new wxMenuItem( aboutmenu, wxID_ANY, wxString( wxT("About") ) + wxT('\t') + wxT("CTRL + F12"), wxEmptyString, wxITEM_NORMAL );
|
||||
aboutmenu->Append( aboutmenu1 );
|
||||
|
||||
menubar->Append( aboutmenu, wxT("About") );
|
||||
|
||||
this->SetMenuBar( menubar );
|
||||
|
||||
toolbar = new wxAuiToolBar( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxAUI_TB_HORZ_LAYOUT );
|
||||
toolbar->SetToolBitmapSize( wxSize( 25,25 ) );
|
||||
toolbar->AddTool( wxID_ANY, wxT("Input"), wxBitmap( wxT("../Ivolution/ivolution/data/media/icons/folder_add_48.png"), wxBITMAP_TYPE_ANY ), wxNullBitmap, wxITEM_NORMAL, wxEmptyString, wxEmptyString, NULL );
|
||||
|
||||
toolbar->AddTool( wxID_ANY, wxT("Settings"), wxBitmap( wxT("../Ivolution/ivolution/data/media/icons/spanner_48.png"), wxBITMAP_TYPE_ANY ), wxNullBitmap, wxITEM_NORMAL, wxEmptyString, wxEmptyString, NULL );
|
||||
|
||||
toolbar->AddSeparator();
|
||||
|
||||
toolbar->AddTool( wxID_ANY, wxT("Go!"), wxBitmap( wxT("../Ivolution/ivolution/data/media/icons/accepted_48.png"), wxBITMAP_TYPE_ANY ), wxNullBitmap, wxITEM_NORMAL, wxEmptyString, wxEmptyString, NULL );
|
||||
|
||||
toolbar->AddTool( wxID_ANY, wxT("Stop!"), wxBitmap( wxT("../Ivolution/ivolution/data/media/icons/cancel_48.png"), wxBITMAP_TYPE_ANY ), wxNullBitmap, wxITEM_NORMAL, wxEmptyString, wxEmptyString, NULL );
|
||||
|
||||
toolbar->AddSeparator();
|
||||
|
||||
helptool = new wxHyperlinkCtrl( toolbar, wxID_ANY, wxT("Ivolution online"), wxT("http://jlengrand.github.com/FaceMovie/"), wxDefaultPosition, wxDefaultSize, wxHL_ALIGN_RIGHT );
|
||||
toolbar->AddControl( helptool );
|
||||
toolbar->Realize();
|
||||
|
||||
wxFlexGridSizer* mainsizer;
|
||||
mainsizer = new wxFlexGridSizer( 3, 1, 0, 0 );
|
||||
mainsizer->AddGrowableCol( 0 );
|
||||
mainsizer->AddGrowableRow( 0 );
|
||||
mainsizer->SetFlexibleDirection( wxBOTH );
|
||||
mainsizer->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_ALL );
|
||||
|
||||
filelist = new wxListCtrl( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_LIST );
|
||||
mainsizer->Add( filelist, 0, wxALL|wxEXPAND, 5 );
|
||||
|
||||
progressgauge = new wxGauge( this, wxID_ANY, 100, wxDefaultPosition, wxDefaultSize, wxGA_HORIZONTAL );
|
||||
mainsizer->Add( progressgauge, 0, wxALL|wxEXPAND, 5 );
|
||||
|
||||
this->SetSizer( mainsizer );
|
||||
this->Layout();
|
||||
|
||||
this->Centre( wxBOTH );
|
||||
}
|
||||
|
||||
IvolutionTemplate::~IvolutionTemplate()
|
||||
{
|
||||
}
|
||||
58
formBuilder/noname.h
Normal file
58
formBuilder/noname.h
Normal file
@@ -0,0 +1,58 @@
|
||||
///////////////////////////////////////////////////////////////////////////
|
||||
// C++ code generated with wxFormBuilder (version Jun 30 2011)
|
||||
// http://www.wxformbuilder.org/
|
||||
//
|
||||
// PLEASE DO "NOT" EDIT THIS FILE!
|
||||
///////////////////////////////////////////////////////////////////////////
|
||||
|
||||
#ifndef __NONAME_H__
|
||||
#define __NONAME_H__
|
||||
|
||||
#include <wx/artprov.h>
|
||||
#include <wx/xrc/xmlres.h>
|
||||
#include <wx/statusbr.h>
|
||||
#include <wx/string.h>
|
||||
#include <wx/gdicmn.h>
|
||||
#include <wx/font.h>
|
||||
#include <wx/colour.h>
|
||||
#include <wx/settings.h>
|
||||
#include <wx/bitmap.h>
|
||||
#include <wx/image.h>
|
||||
#include <wx/icon.h>
|
||||
#include <wx/menu.h>
|
||||
#include <wx/hyperlink.h>
|
||||
#include <wx/aui/auibar.h>
|
||||
#include <wx/listctrl.h>
|
||||
#include <wx/gauge.h>
|
||||
#include <wx/sizer.h>
|
||||
#include <wx/frame.h>
|
||||
|
||||
///////////////////////////////////////////////////////////////////////////
|
||||
|
||||
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
/// Class IvolutionTemplate
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
class IvolutionTemplate : public wxFrame
|
||||
{
|
||||
private:
|
||||
|
||||
protected:
|
||||
wxStatusBar* statusbar;
|
||||
wxMenuBar* menubar;
|
||||
wxMenu* filemenu;
|
||||
wxMenu* aboutmenu;
|
||||
wxAuiToolBar* toolbar;
|
||||
wxHyperlinkCtrl* helptool;
|
||||
wxListCtrl* filelist;
|
||||
wxGauge* progressgauge;
|
||||
|
||||
public:
|
||||
|
||||
IvolutionTemplate( wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = wxEmptyString, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( 560,451 ), long style = wxDEFAULT_FRAME_STYLE|wxTAB_TRAVERSAL );
|
||||
|
||||
~IvolutionTemplate();
|
||||
|
||||
};
|
||||
|
||||
#endif //__NONAME_H__
|
||||
2653
formBuilder/test.fbp
Normal file
2653
formBuilder/test.fbp
Normal file
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user