Main Page   Class Hierarchy   Compound List   File List   Compound Members  

unitsdlg.h

00001 
00002 
00003 /*
00004  *  Definition of class for dialog to specify the transformation values.
00005 */
00006 
00007 #ifndef UNITSDLG_H
00008 #define UNITSDLG_H
00009 
00010 #ifdef __GNUG__
00011 #pragma interface
00012 #endif
00013 
00014 #include "chandbas.h"
00015 #include "wxwin.h"
00016 
00019 
00020 //: defenition
00024 
00025 class Unitssettings: public wxDialog
00026 {
00027         public:
00028 
00029         // Constructor.
00030                 Unitssettings(GDSMainWindow* parent,long style = (wxTHICK_FRAME | wxCAPTION));
00031 
00032                 // Destructor.
00033                 ~Unitssettings();
00034 
00035       // windows initialization.
00036                 void                            SetupWindow();
00037 
00038       // Close window if OK-Button is pressed.
00039                 void                            CmOk();
00040 
00041       // Close window if EXIT-button is pressed.
00042       void                              OnCloseWindow(wxCloseEvent& event);
00043 
00044         protected:
00045 
00046         // Pointer to Mainwindow.
00047                 GDSMainWindow*          _parent;
00048 
00049       // wxWindows class.
00050                 wxPanel*                        _panel;
00051 
00052       // wxWindows class.
00053                 wxButton*               _ok;
00054 
00055       // wxWindows class.
00056       wxTextCtrl*               _ed_acc;
00057 
00058       // wxWindows class.
00059                 wxChoice*               _units_list;
00060 
00061       // wxWindows class.
00062       wxStaticBox*   _accbox;
00063 
00064       // wxWindows class.
00065       wxString          _choices[9];
00066 
00067                 // String which contains the unitsetting.
00068       char                              _acc[10];
00069 
00070       // String which contains the accuracy value
00071       char                              _unit[10];
00072 
00073                 // Declare used events.
00074       DECLARE_EVENT_TABLE()
00075 };
00076 
00077 #endif
unitsdlg.h Source File -- Thu Nov 28 21:24:56 2002 -- 28 Nov 2002 -- 1.2.18 -- -- . -- Main Page