Horizon
preferences_window_stock_info_partinfo.hpp
1 #pragma once
2 #include <gtkmm.h>
3 
4 namespace horizon {
5 
6 class PartinfoPreferencesEditor : public Gtk::Box {
7 public:
8  PartinfoPreferencesEditor(BaseObjectType *cobject, const Glib::RefPtr<Gtk::Builder> &x, class Preferences &prefs);
9  static PartinfoPreferencesEditor *create(Preferences &prefs);
10 
11 private:
12  Preferences &preferences;
13  class PartInfoPreferences &partinfo_preferences;
14  Gtk::Entry *partinfo_base_url_entry = nullptr;
15  Gtk::ComboBoxText *partinfo_preferred_distributor_combo = nullptr;
16  Gtk::CheckButton *partinfo_ignore_moq_1_cb = nullptr;
17  Gtk::SpinButton *partinfo_max_price_breaks_sp = nullptr;
18  Gtk::SpinButton *partinfo_cache_days_sp = nullptr;
19  void update_warnings();
20 };
21 
22 } // namespace horizon
Definition: preferences.hpp:83
Definition: preferences_window_stock_info_partinfo.hpp:6
Definition: preferences.hpp:136