5 #ifndef BALL_VIEW_DIALOGS_PREFERENCES_H
6 #define BALL_VIEW_DIALOGS_PREFERENCES_H
8 #ifndef BALL_COMMON_GLOBAL_H
12 #ifndef BALL_DATATYPE_STRING_H
16 #ifndef BALL_DATATYPE_HASHSET_H
20 #ifndef BALL_DATATYPE_HASHMAP_H
24 #include <BALL/VIEW/UIC/ui_preferences.h>
32 class PreferencesEntry;
42 public Ui_PreferencesData
104 void fetchPreferences(
INIFile &inifile);
111 void writePreferences(
INIFile &inifile);
114 const QWidget* currentEntry()
const;
117 const QWidget* currentPage()
const;
120 void setApplyEnabled(
bool enabled);
140 void entrySelected();
143 void setDefaultValues();
149 void applyPreferences();
155 void dialogButtonsClicked_(QAbstractButton* button);
172 #endif // BALL_VIEW_DIALOGS_PREFERENCES_H
HashSet< PreferencesEntry * > entries_
HashMap< QTreeWidgetItem *, QWidget * > item_to_widget_
HashMap< QWidget *, QTreeWidgetItem * > widget_to_item_
HashMap< QTreeWidgetItem *, PreferencesEntry * > item_to_entry_