this->setLayout(aHBLayout);
connect( myColorBtn, SIGNAL( clicked() ), SLOT( onColor() ) );
+ connect( myFamily, SIGNAL( activated(int) ), SIGNAL( Modified() ) );
+ connect( myBold, SIGNAL( toggled(bool) ), SIGNAL( Modified() ) );
+ connect( myItalic, SIGNAL( toggled(bool) ), SIGNAL( Modified() ) );
+ connect( myShadow, SIGNAL( toggled(bool) ), SIGNAL( Modified() ) );
}
/*!
void SVTK_FontWidget::onColor()
{
QColor aColor = QColorDialog::getColor( GetColor(), this );
- if ( aColor.isValid() )
+ if ( aColor.isValid() ) {
SetColor( aColor );
+ emit Modified();
+ }
}
void SVTK_FontWidget::SetData( const QColor& theColor,