

Public Member Functions | |
| ConfigControl (vlc_object_t *_p_this, module_config_t *_p_conf, QWidget *p) | |
| ConfigControl (vlc_object_t *_p_this, module_config_t *_p_conf) | |
| virtual | ~ConfigControl () |
| virtual int | getType ()=0 |
| const char * | getName () |
| QWidget * | getWidget () |
| bool | isAdvanced () |
| virtual void | hide () |
| virtual void | show () |
| void | doApply (intf_thread_t *) |
| ConfigControl (vlc_object_t *, module_config_t *, HWND, HINSTANCE) | |
| virtual | ~ConfigControl () |
| virtual int | GetIntValue () |
| virtual float | GetFloatValue () |
| virtual char * | GetPszValue () |
| char * | GetName () |
| int | GetType () |
| bool | IsAdvanced () |
| void | SetUpdateCallback (void(*)(void *), void *) |
Static Public Member Functions | |
| static ConfigControl * | createControl (vlc_object_t *, module_config_t *, QWidget *) |
| static ConfigControl * | createControl (vlc_object_t *, module_config_t *, QWidget *, QGridLayout *, int &) |
Protected Member Functions | |
| void | OnUpdate (UINT) |
Protected Attributes | |
| vlc_object_t * | p_this |
| module_config_t * | p_item |
| QString | _name |
| QWidget * | widget |
| bool | _advanced |
| HWND | label |
| void(* | pf_update_callback )(void *) |
| void * | p_update_data |
| ConfigControl::ConfigControl | ( | vlc_object_t * | _p_this, | |
| module_config_t * | _p_conf, | |||
| QWidget * | p | |||
| ) | [inline] |
References widget.
| ConfigControl::ConfigControl | ( | vlc_object_t * | _p_this, | |
| module_config_t * | _p_conf | |||
| ) | [inline] |
References widget.
| ConfigControl::~ConfigControl | ( | ) | [inline, virtual] |
| ConfigControl::ConfigControl | ( | vlc_object_t * | _p_this, | |
| module_config_t * | p_item, | |||
| HWND | parent, | |||
| HINSTANCE | hInst | |||
| ) |
| virtual ConfigControl::~ConfigControl | ( | ) | [virtual] |
| virtual int ConfigControl::getType | ( | ) | [pure virtual] |
Implemented in VIntConfigControl, BoolConfigControl, VFloatConfigControl, VStringConfigControl, and KeySelectorControl.
Referenced by doApply().
| const char* ConfigControl::getName | ( | ) | [inline] |
References p_item, and module_config_t::psz_name.
Referenced by doApply(), IntegerListConfigControl::IntegerListConfigControl, and StringListConfigControl::StringListConfigControl.
| bool ConfigControl::isAdvanced | ( | ) | [inline] |
References module_config_t::b_advanced, and p_item.
| virtual void ConfigControl::hide | ( | ) | [inline, virtual] |
Reimplemented in IntegerConfigControl, IntegerListConfigControl, BoolConfigControl, FloatConfigControl, StringConfigControl, FileConfigControl, ModuleConfigControl, ModuleListConfigControl, StringListConfigControl, and KeySelectorControl.
References getWidget().
| virtual void ConfigControl::show | ( | ) | [inline, virtual] |
Reimplemented in IntegerConfigControl, IntegerListConfigControl, BoolConfigControl, FloatConfigControl, StringConfigControl, FileConfigControl, ModuleConfigControl, ModuleListConfigControl, StringListConfigControl, and KeySelectorControl.
References getWidget().
| ConfigControl * ConfigControl::createControl | ( | vlc_object_t * | p_this, | |
| module_config_t * | p_item, | |||
| QWidget * | parent | |||
| ) | [static] |
| ConfigControl * ConfigControl::createControl | ( | vlc_object_t * | p_this, | |
| module_config_t * | p_item, | |||
| QWidget * | parent, | |||
| QGridLayout * | l, | |||
| int & | line | |||
| ) | [static] |
References CONFIG_ITEM_BOOL, CONFIG_ITEM_DIRECTORY, CONFIG_ITEM_FILE, CONFIG_ITEM_FLOAT, CONFIG_ITEM_FONT, CONFIG_ITEM_INTEGER, CONFIG_ITEM_KEY, CONFIG_ITEM_MODULE, CONFIG_ITEM_MODULE_CAT, CONFIG_ITEM_MODULE_LIST, CONFIG_ITEM_MODULE_LIST_CAT, CONFIG_ITEM_PASSWORD, CONFIG_ITEM_STRING, module_nvalue_t::f, module_nvalue_t::i, module_config_t::i_list, module_config_t::i_type, module_config_t::max, and module_config_t::min.
| void ConfigControl::doApply | ( | intf_thread_t * | p_intf | ) |
References CONFIG_ITEM_BOOL, CONFIG_ITEM_FLOAT, CONFIG_ITEM_INTEGER, CONFIG_ITEM_KEY, CONFIG_ITEM_STRING, config_PutFloat, config_PutInt, config_PutPsz, KeySelectorControl::doApply(), getName(), getType(), VStringConfigControl::getValue(), VFloatConfigControl::getValue(), VIntConfigControl::getValue(), and qtu.
Referenced by SPrefsPanel::apply(), and AdvPrefsPanel::apply().
| virtual int ConfigControl::GetIntValue | ( | ) | [inline, virtual] |
Reimplemented in KeyConfigControl, IntegerConfigControl, IntegerListConfigControl, RangedIntConfigControl, and BoolConfigControl.
Referenced by PrefsPanel::ApplyChanges().
| virtual float ConfigControl::GetFloatValue | ( | ) | [inline, virtual] |
| virtual char* ConfigControl::GetPszValue | ( | ) | [inline, virtual] |
Reimplemented in ModuleConfigControl, StringConfigControl, StringListConfigControl, and FileConfigControl.
References GetName().
Referenced by PrefsPanel::ApplyChanges().
| char * ConfigControl::GetName | ( | ) |
| int ConfigControl::GetType | ( | ) |
| bool ConfigControl::IsAdvanced | ( | ) |
| void ConfigControl::SetUpdateCallback | ( | void(*)(void *) | p_callback, | |
| void * | p_data | |||
| ) |
References p_update_data, and pf_update_callback.
| void ConfigControl::OnUpdate | ( | UINT | event | ) | [protected] |
References p_update_data, and pf_update_callback.
vlc_object_t * ConfigControl::p_this [protected] |
module_config_t* ConfigControl::p_item [protected] |
QString ConfigControl::_name [protected] |
QWidget* ConfigControl::widget [protected] |
Referenced by BoolConfigControl::BoolConfigControl, ConfigControl(), FileConfigControl::FileConfigControl, FloatConfigControl::FloatConfigControl, FontConfigControl::FontConfigControl(), getWidget(), IntegerConfigControl::IntegerConfigControl, IntegerListConfigControl::IntegerListConfigControl, ModuleConfigControl::ModuleConfigControl, ModuleListConfigControl::ModuleListConfigControl, StringConfigControl::StringConfigControl, and StringListConfigControl::StringListConfigControl.
bool ConfigControl::_advanced [protected] |
HWND ConfigControl::label [protected] |
Reimplemented in FileConfigControl, and FontConfigControl.
Referenced by KeyConfigControl::KeyConfigControl.
void(* ConfigControl::pf_update_callback)(void *) [protected] |
Referenced by OnUpdate(), and SetUpdateCallback().
void* ConfigControl::p_update_data [protected] |
Referenced by OnUpdate(), and SetUpdateCallback().
1.5.6