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