:) Yes, I did mean to change the backgroud color.
Thanks a lot, though it is still not yet functioning.
I'll try to figure it out.
[quote author="Andre" date="1320656176"]Well, you are the only one who knows of what you want to change the color. If that is the background color, then that is the background color. If it is the color of an item on the view, then do that.
If you want to change the background color, you could do something like this:
@
//in your header
Q_OBJECT // do not forget this one in the private section of your class declaration
private slots:
void RGB_RGBView();
//in your implementation file:
void MyClass::RGB_RGBView()
{
QColor color = QColor::fromRgb(
ui->RRGB->value(),
ui->GRGB->value(),
ui->BRGB->value() );
ui->GraphicsView->setBackgroundBrush(color);
}
@
moderator note: Instead of creating a new post to make corrections, please just edit your previous post instead.[/quote]