"Fossies" - the Fresh Open Source Software Archive

Member "fityk-1.3.1/wxgui/modelinfo.h" (13 May 2016, 815 Bytes) of package /linux/misc/fityk-1.3.1.tar.gz:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) C and C++ source code syntax highlighting (style: standard) with prefixed line numbers and code folding option. Alternatively you can here view or download the uninterpreted source code file. For more information about "modelinfo.h" see the Fossies "Dox" file reference documentation.

    1 // This file is part of fityk program. Copyright 2001-2013 Marcin Wojdyr
    2 // Licence: GNU General Public License ver. 2+
    3 
    4 #ifndef FITYK_WX_MODELINFO_H_
    5 #define FITYK_WX_MODELINFO_H_
    6 
    7 #include <vector>
    8 #include <string>
    9 #include "fitinfo.h" // NumericFormatPanel
   10 
   11 /// Status bar configuration dialog
   12 class ModelInfoDlg: public wxDialog
   13 {
   14 public:
   15     ModelInfoDlg(wxWindow* parent, wxWindowID id);
   16     bool Initialize();
   17     const std::string get_info_cmd() const;
   18 
   19 private:
   20     wxTextCtrl *main_tc;
   21     wxRadioBox *rb;
   22     wxCheckBox *simplify_cb, *extra_space_cb;
   23     NumericFormatPanel *nf;
   24 
   25     void update_text();
   26     void OnRadio(wxCommandEvent&);
   27     void OnFormatChange(wxCommandEvent&) { update_text(); }
   28     void OnCopy(wxCommandEvent&);
   29     void OnSave(wxCommandEvent&);
   30 };
   31 
   32 #endif // FITYK_WX_MODELINFO_H_