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
Preferences(const Preferences &preferences)
Copy constructur.
const QWidget * currentEntry() const
Preferences(QWidget *parent=NULL, const char *name="Preferences")
HashMap< QWidget *, QTreeWidgetItem * > widget_to_item_
void writePreferences(INIFile &inifile)
const QWidget * currentPage() const
void removeItem_(QTreeWidgetItem *item, bool update)
HashSet< PreferencesEntry * > entries_
void removeEntry(PreferencesEntry *child)
void insertChildEntry(const std::string &category, PreferencesEntry *child)
HashMap< QTreeWidgetItem *, PreferencesEntry * > item_to_entry_
void insertChildEntry(PreferencesEntry *parent, PreferencesEntry *child)
void insertEntry(PreferencesEntry *child)
void dialogButtonsClicked_(QAbstractButton *button)
HashMap< QTreeWidgetItem *, QWidget * > item_to_widget_
void fetchPreferences(INIFile &inifile)
virtual ~Preferences()
Destructor.
BALL_DEPRECATED void showHelp()
void showEntry(QWidget *page)
Show the given page.
void setApplyEnabled(bool enabled)
Activate or deactivate the apply and ok buttons.
void applyPreferences()
Store the last applied values for undo.