Loading t14/gamebrd.cpp +3 −1 Original line number Diff line number Diff line Loading @@ -36,7 +36,9 @@ GameBoard::GameBoard(QWidget *parent) frame->setFrameStyle( QFrame::WinPanel | QFrame::Sunken ); cannonField = new CannonField( this ); cannonField->setBackgroundColor( QColor( 250, 250, 200) ); cannonField->setPalette( QPalette(QColor(250, 250, 200)) ); cannonField->setAutoFillBackground(true); connect( angle,SIGNAL(valueChanged(int)), cannonField,SLOT(setAngle(int))); connect( cannonField,SIGNAL(angleChanged(int)), angle,SLOT(setValue(int))); Loading Loading
t14/gamebrd.cpp +3 −1 Original line number Diff line number Diff line Loading @@ -36,7 +36,9 @@ GameBoard::GameBoard(QWidget *parent) frame->setFrameStyle( QFrame::WinPanel | QFrame::Sunken ); cannonField = new CannonField( this ); cannonField->setBackgroundColor( QColor( 250, 250, 200) ); cannonField->setPalette( QPalette(QColor(250, 250, 200)) ); cannonField->setAutoFillBackground(true); connect( angle,SIGNAL(valueChanged(int)), cannonField,SLOT(setAngle(int))); connect( cannonField,SIGNAL(angleChanged(int)), angle,SLOT(setValue(int))); Loading