|
Fawkes API
Fawkes Development Version
|
Dialog to remove a config entry. More...
#include "config_remove_dialog.h"
Public Member Functions | |
| ConfigRemoveDialog (Gtk::Label *lbl_path, Gtk::CheckButton *chb_is_default) | |
| Constructor. | |
| ConfigRemoveDialog (BaseObjectType *cobject, const Glib::RefPtr< Gtk::Builder > &builder) | |
| Constructor. | |
| virtual | ~ConfigRemoveDialog () |
| Destructor. | |
| void | init (const Glib::ustring &path, bool is_default) |
| Initialize the dialog. | |
| bool | get_remove_default () const |
| Get the remove default flag of the entry to be deleted. | |
Protected Attributes | |
| Gtk::Label * | m_lbl_path |
| A Gtk::Label that presents the path to be deleted. | |
| Gtk::CheckButton * | m_chb_is_default |
| The Gtk::CheckButton to set the remove default flag. | |
Dialog to remove a config entry.
Definition at line 28 of file config_remove_dialog.h.
| ConfigRemoveDialog::ConfigRemoveDialog | ( | Gtk::Label * | lbl_path, |
| Gtk::CheckButton * | chb_is_default | ||
| ) |
Constructor.
| lbl_path | label of path to delete |
| chb_is_default | checkbutton for default value deletion |
Definition at line 43 of file config_remove_dialog.cpp.
References m_chb_is_default, and m_lbl_path.
| ConfigRemoveDialog::ConfigRemoveDialog | ( | BaseObjectType * | cobject, |
| const Glib::RefPtr< Gtk::Builder > & | builder | ||
| ) |
Constructor.
| cobject | pointer to base object type |
| builder | Gtk builder |
Definition at line 53 of file config_remove_dialog.cpp.
References m_chb_is_default, and m_lbl_path.
|
virtual |
Destructor.
Definition at line 62 of file config_remove_dialog.cpp.
| bool ConfigRemoveDialog::get_remove_default | ( | ) | const |
Get the remove default flag of the entry to be deleted.
Definition at line 83 of file config_remove_dialog.cpp.
References m_chb_is_default.
| void ConfigRemoveDialog::init | ( | const Glib::ustring & | path, |
| bool | is_default | ||
| ) |
Initialize the dialog.
| path | the config path that was selected for deletion. |
| is_default | true if only the default config value is set |
Definition at line 71 of file config_remove_dialog.cpp.
References m_chb_is_default, and m_lbl_path.
|
protected |
The Gtk::CheckButton to set the remove default flag.
Definition at line 41 of file config_remove_dialog.h.
Referenced by ConfigRemoveDialog(), get_remove_default(), and init().
|
protected |
A Gtk::Label that presents the path to be deleted.
Definition at line 40 of file config_remove_dialog.h.
Referenced by ConfigRemoveDialog(), and init().