text->setToolTip( formatTooltip(qtr(p_item->psz_longtext)) );
if( label )
label->setToolTip( formatTooltip(qtr(p_item->psz_longtext)) );
- connect( text, SIGNAL(textChanged( const QString & )), this,
- SIGNAL(Updated()) );
}
/*********** File **************/
text->setToolTip( formatTooltip(qtr(p_item->psz_longtext)) );
if( label )
label->setToolTip( formatTooltip(qtr(p_item->psz_longtext)) );
- connect( text, SIGNAL(textChanged( const QString & )), this,
- SIGNAL(Updated()) );
}
/********* String / Directory **********/
combo->setToolTip( formatTooltip(qtr(p_item->psz_longtext)) );
if( label )
label->setToolTip( formatTooltip(qtr(p_item->psz_longtext)) );
- connect( combo, SIGNAL(currentIndexChanged( int )), this,
- SIGNAL(Updated()) );
}
QString StringListConfigControl::getValue()
l->addWidget( combo, line, 1, Qt::AlignRight );
}
}
+
ModuleConfigControl::ModuleConfigControl( vlc_object_t *_p_this,
module_config_t *_p_item, QLabel *_label, QComboBox *_combo,
bool bycat ) : VStringConfigControl( _p_this, _p_item )
combo->setToolTip( formatTooltip(qtr(p_item->psz_longtext)) );
if( label )
label->setToolTip( formatTooltip(qtr(p_item->psz_longtext)) );
- connect( combo, SIGNAL(currentIndexChanged( int )), this,
- SIGNAL(Updated()) );
}
QString ModuleConfigControl::getValue()
{
groupBox = new QGroupBox ( qtr(p_item->psz_text) );
text = new QLineEdit();
- connect( text, SIGNAL(textChanged( const QString & )), this,
- SIGNAL(Updated()) );
QGridLayout *layoutGroupBox = new QGridLayout( groupBox );
finish( bycat );
text->setToolTip( formatTooltip( qtr( p_item->psz_longtext) ) );
}
-#if 0
-ModuleConfigControl::ModuleConfigControl( vlc_object_t *_p_this,
- module_config_t *_p_item, QLabel *_label, QComboBox *_combo,
- bool bycat ) : VStringConfigControl( _p_this, _p_item )
-{
- combo = _combo;
- label = _label;
- finish( bycat );
-}
-#endif
ModuleListConfigControl::~ModuleListConfigControl()
{
spin->setToolTip( formatTooltip(qtr(p_item->psz_longtext)) );
if( label )
label->setToolTip( formatTooltip(qtr(p_item->psz_longtext)) );
- connect( spin, SIGNAL(valueChanged( int )), this,
- SIGNAL(Updated()) );
}
int IntegerConfigControl::getValue()
combo->setToolTip( formatTooltip(qtr(p_item->psz_longtext)) );
if( label )
label->setToolTip( formatTooltip(qtr(p_item->psz_longtext)) );
- connect( combo, SIGNAL(currentIndexChanged( int )), this,
- SIGNAL(Updated()) );
}
int IntegerListConfigControl::getValue()
checkbox->setCheckState( p_item->value.i == VLC_TRUE ? Qt::Checked
: Qt::Unchecked );
checkbox->setToolTip( formatTooltip(qtr(p_item->psz_longtext)) );
- connect( checkbox, SIGNAL(stateChanged( int )), this,
- SIGNAL(Updated()) );
}
int BoolConfigControl::getValue()
spin->setToolTip( formatTooltip(qtr(p_item->psz_longtext)) );
if( label )
label->setToolTip( formatTooltip(qtr(p_item->psz_longtext)) );
- connect( spin, SIGNAL(valueChanged( double )), this,
- SIGNAL(Updated()) );
}
float FloatConfigControl::getValue()