Mcalc  0.1
a machinist's calculator
application.hpp
Go to the documentation of this file.
1 
13 #pragma once
14 #ifndef MCALC_APPLICATION_HPP
15 #define MCALC_APPLICATION_HPP
16 
17 #include <gtkmm.h>
18 
19 namespace mc {
20  class Settings;
21  class DataStore;
22  class Interface;
23  class DummyInterface;
24  class ComboBoxText;
25  class FileChooserButton;
26  class Spinner;
27  class Slider;
28  class Output;
29 }
30 
36 namespace mcalc {
37 
42  class Application {
43  protected:
45  Glib::RefPtr<Gtk::Builder> builder;
46 
48  Gtk::Window* window;
49 
52 
55 
69  public:
76  Application(Glib::RefPtr<Gtk::Builder> b, Gtk::Window* w);
77 
79  ~Application();
80 
85  void set_stylesheet( std::string f );
86 
87  };
88 
89 }
90 
91 #endif
Definition: broadcaster.cpp:4
Definition: spinner.hpp:29
Definition: interface.hpp:100
mc::DummyInterface * hard
Definition: application.hpp:66
mc::ComboBoxText * fs_hardness
Definition: application.hpp:58
mc::ComboBoxText * fs_material
Definition: application.hpp:56
mc::Output * fs_rpm
Definition: application.hpp:64
Definition: application.cpp:16
Definition: settings.hpp:27
Glib::RefPtr< Gtk::Builder > builder
Definition: application.hpp:45
mc::Slider * fs_velocity
Definition: application.hpp:62
mc::Spinner * fs_diameter
Definition: application.hpp:60
mc::Slider * fs_grade
Definition: application.hpp:61
mc::ComboBoxText * fs_tool
Definition: application.hpp:59
mc::DataStore * datastore
Definition: application.hpp:51
mc::DummyInterface * tough
Definition: application.hpp:67
Definition: application.hpp:42
Definition: comboboxtext.hpp:31
mc::ComboBoxText * fs_designation
Definition: application.hpp:57
Definition: datastore.hpp:44
mc::Slider * fs_feedrate
Definition: application.hpp:63
Gtk::Window * window
Definition: application.hpp:48
mc::Settings * settings
Definition: application.hpp:54
Definition: slider.hpp:31
Definition: output.hpp:29