ConstraintDialog.h

00001 // -*- C++ -*- generated by wxGlade 0.4 on Sun Dec 11 11:28:21 2005
00002 
00003 #include <wx/wx.h>
00004 #include <wx/image.h>
00005 
00006 #include "../Constraint.h"
00007 #include "../CountedPtr.h"
00008 #include "../History.h"
00009 #include "../Parser.h"
00010 #include "../VariableNames.h"
00011 
00012 #ifndef CONSTRAINTDIALOG_H
00013 #define CONSTRAINTDIALOG_H
00014 
00015 // begin wxGlade: ::dependencies
00016 // end wxGlade
00017 
00018 
00019 class ConstraintDialog: public wxDialog {
00020 public:
00021     // begin wxGlade: ConstraintDialog::ids
00022     // end wxGlade
00023 
00024     ConstraintDialog(
00025             wxWindow*                   parent,
00026             int                         id,
00027             Constraint&                 rConstraint,
00028             const VariableNames&        variables,
00029             const ProblemBase*          pProblem,
00030             CountedPtr<const Parser>    cpParser,
00031             History&                    rHistory,
00032             const wxString&             title = wxT(""),
00033             const wxPoint&              pos=wxDefaultPosition,
00034             const wxSize&               size=wxDefaultSize,
00035             long                        style=wxDEFAULT_DIALOG_STYLE);
00036 
00037     void OnOk(wxCommandEvent& event);
00038 
00039 private:
00040     // begin wxGlade: ConstraintDialog::methods
00041     void set_properties();
00042     void do_layout();
00043     // end wxGlade
00044 
00045     Constraint& mrConstraint;
00046 
00047     // To jest CountedPtr tylko ze względu na FunctionValidator
00048     CountedPtr<const VariableNames> mcpVariables;
00049 
00050     DECLARE_EVENT_TABLE()
00051 protected:
00052     // begin wxGlade: ConstraintDialog::attributes
00053     wxComboBox* mpFunctionCombo;
00054     wxChoice* mpTypeChoice;
00055     wxButton* mpOkButton;
00056     wxButton* mpCancelButton;
00057     // end wxGlade
00058 }; // wxGlade: end class
00059 
00060 
00061 #endif // CONSTRAINTDIALOG_H

Wygenerowano Fri Sep 29 21:04:48 2006 dla EduOptim2 programem  doxygen 1.4.6