Include dependency graph for simple_preferences.cpp:

Defines | |
| #define | ICON_HEIGHT 64 |
| #define | BUTTON_HEIGHT 74 |
| #define | ADD_CATEGORY(button, label, icon, numb) |
| #define | CONFIG_GENERIC(option, type, label, qcontrol) |
| #define | CONFIG_GENERIC2(option, type, label, qcontrol) |
| #define | CONFIG_GENERIC_NO_BOOL(option, type, label, qcontrol) |
| #define | CONFIG_GENERIC_FILE(option, type, label, qcontrol, qbutton) |
| #define | START_SPREFS_CAT(name, label) |
| #define | END_SPREFS_CAT |
| #define | audioCommon(name) |
| #define | audioControl(name) |
| #define | audioControl2(name) |
| #define | addToCachingBox(str, cachingNumber) ui.cachingCombo->addItem( str, QVariant( cachingNumber ) ); |
| #define | TestCaC(name) |
| #define | TestCaCi(name, int) |
| #define | saveBox(name, box) |
| #define | CaCi(name, int) config_PutInt( p_intf, name, int * i_comboValue ) |
| #define | CaC(name) CaCi( name, 1 ) |
| #define ADD_CATEGORY | ( | button, | |||
| label, | |||||
| icon, | |||||
| numb | ) |
Value:
QToolButton * button = new QToolButton( this ); \ button->setIcon( QIcon( ":/pixmaps/prefs/" #icon ) ); \ button->setIconSize( QSize( ICON_HEIGHT , ICON_HEIGHT ) ); \ button->setText( label ); \ button->setToolButtonStyle( Qt::ToolButtonTextUnderIcon ); \ button->resize( BUTTON_HEIGHT , BUTTON_HEIGHT); \ button->setSizePolicy(QSizePolicy::Expanding,QSizePolicy::Expanding) ; \ button->setAutoRaise( true ); \ button->setCheckable( true ); \ buttonGroup->addButton( button, numb ); \ layout->addWidget( button );
| #define addToCachingBox | ( | str, | |||
| cachingNumber | ) | ui.cachingCombo->addItem( str, QVariant( cachingNumber ) ); |
| #define audioCommon | ( | name | ) |
Value:
QWidget * name ## Control = new QWidget( ui.outputAudioBox ); \ QHBoxLayout * name ## Layout = new QHBoxLayout( name ## Control); \ name ## Layout->setMargin( 0 ); \ name ## Layout->setSpacing( 0 ); \ QLabel * name ## Label = new QLabel( qtr( "Device:" ), name ## Control ); \ name ## Label->setMinimumSize(QSize(100, 0)); \ name ## Layout->addWidget( name ## Label ); \
| #define audioControl | ( | name | ) |
| #define audioControl2 | ( | name | ) |
Value:
audioCommon( name ) \ QLineEdit * name ## Device = new QLineEdit( name ## Control ); \ name ## Layout->addWidget( name ## Device ); \ name ## Label->setBuddy( name ## Device ); \ QPushButton * name ## Browse = new QPushButton( qtr( "Browse..." ), name ## Control); \ name ## Layout->addWidget( name ## Browse ); \ outputAudioLayout->addWidget( name ## Control, outputAudioLayout->rowCount(), 0, 1, -1 );
| #define BUTTON_HEIGHT 74 |
| #define CaC | ( | name | ) | CaCi( name, 1 ) |
| #define CaCi | ( | name, | |||
| int | ) | config_PutInt( p_intf, name, int * i_comboValue ) |
| #define CONFIG_GENERIC | ( | option, | |||
| type, | |||||
| label, | |||||
| qcontrol | ) |
Value:
p_config = config_FindConfig( VLC_OBJECT(p_intf), option ); \ if( p_config ) \ { \ control = new type ## ConfigControl( VLC_OBJECT(p_intf), \ p_config, label, ui.qcontrol, false ); \ controls.append( control ); \ }
| #define CONFIG_GENERIC2 | ( | option, | |||
| type, | |||||
| label, | |||||
| qcontrol | ) |
Value:
p_config = config_FindConfig( VLC_OBJECT(p_intf), option ); \ if( p_config ) \ { \ control = new type ## ConfigControl( VLC_OBJECT(p_intf), \ p_config, label, qcontrol, false ); \ controls.append( control ); \ }
| #define CONFIG_GENERIC_FILE | ( | option, | |||
| type, | |||||
| label, | |||||
| qcontrol, | |||||
| qbutton | ) |
Value:
p_config = config_FindConfig( VLC_OBJECT(p_intf), option ); \ if( p_config ) \ { \ control = new type ## ConfigControl( VLC_OBJECT(p_intf), \ p_config, label, qcontrol, qbutton, \ false ); \ controls.append( control ); \ }
| #define CONFIG_GENERIC_NO_BOOL | ( | option, | |||
| type, | |||||
| label, | |||||
| qcontrol | ) |
Value:
p_config = config_FindConfig( VLC_OBJECT(p_intf), option ); \ if( p_config ) \ { \ control = new type ## ConfigControl( VLC_OBJECT(p_intf), \ p_config, label, ui.qcontrol ); \ controls.append( control ); \ }
| #define END_SPREFS_CAT |
Value:
break; \
}
| #define ICON_HEIGHT 64 |
| #define saveBox | ( | name, | |||
| box | ) |
| #define START_SPREFS_CAT | ( | name, | |||
| label | ) |
| #define TestCaC | ( | name | ) |
Value:
b_cache_equal = b_cache_equal && \
( i_cache == config_GetInt( p_intf, name ) )
| #define TestCaCi | ( | name, | |||
| int | ) |
Value:
b_cache_equal = b_cache_equal && \
( ( i_cache * int ) == config_GetInt( p_intf, name ) )
1.5.1