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. | |
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 31 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 | ( | ) | [virtual] |
Destructor.
Definition at line 64 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 85 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 73 of file config_remove_dialog.cpp.
References m_chb_is_default, and m_lbl_path.
ConfigRemoveDialog::m_chb_is_default [protected] |
The Gtk::CheckButton to set the remove default flag.
Definition at line 46 of file config_remove_dialog.h.
Referenced by ConfigRemoveDialog(), get_remove_default(), and init().
ConfigRemoveDialog::m_lbl_path [protected] |
A Gtk::Label that presents the path to be deleted.
Definition at line 45 of file config_remove_dialog.h.
Referenced by ConfigRemoveDialog(), and init().