preferences_widgets.cpp File Reference

Include dependency graph for preferences_widgets.cpp:


Defines

#define MINWIDTH_BOX   90
 Todo:
  • Finish implementation (see WX, there might be missing a i_action handler for IntegerLists, but I don't see any module using it.

#define LAST_COLUMN   10
#define CHECKBOX_LISTS

Functions

QString formatTooltip (const QString &tooltip)
void setfillVLCConfigCombo (const char *configname, intf_thread_t *p_intf, QComboBox *combo)

Define Documentation

#define CHECKBOX_LISTS

Value:

{ \
       QCheckBox *cb = new QCheckBox( qtr( module_GetLongName( p_parser ) ) );\
       checkBoxListItem *cbl = new checkBoxListItem; \
\
       CONNECT( cb, stateChanged( int ), this, onUpdate() );\
       cb->setToolTip( formatTooltip( qtr( module_get_help( p_parser ))));\
       cbl->checkBox = cb; \
\
       cbl->psz_module = strdup( module_get_object( p_parser ) ); \
       modules.push_back( cbl ); \
\
       if( p_item->value.psz && strstr( p_item->value.psz, cbl->psz_module ) ) \
            cbl->checkBox->setChecked( true ); \
}

#define LAST_COLUMN   10

#define MINWIDTH_BOX   90

Todo:

  • Finish implementation (see WX, there might be missing a i_action handler for IntegerLists, but I don't see any module using it.

..

  • Improvements over WX
    • Validator for modulelist

Referenced by FloatConfigControl::FloatConfigControl, IntegerConfigControl::IntegerConfigControl, IntegerListConfigControl::IntegerListConfigControl, ModuleConfigControl::ModuleConfigControl, and StringListConfigControl::StringListConfigControl.


Function Documentation

QString formatTooltip ( const QString &  tooltip  ) 

void setfillVLCConfigCombo ( const char *  configname,
intf_thread_t p_intf,
QComboBox *  combo 
)


Generated on Tue May 25 08:05:19 2010 for VLC by  doxygen 1.5.6