Thursday, November 20th 2008, 6:51pm UTC

You are not logged in.

  • Login
  • Register

JDev

Beginner

1

Wednesday, October 31st 2007, 8:27pm

Howto make game interface with designer

Hi I'm a little new to QT but have a good programming background. I'm trying to use the QT designer to create a game interface that I have layed out in photoshop. I can't seem to get images to show up via stylesheets. My simple layout consists of a main window with a grid layout. I add a Qframe and try to set it's style sheet like below. The ui file is in the same directory as the directory images. Any solutions or suggestions? is it possible to view images for the diffrent buttons in QT Designer?

thanks,

QFrame { background-image: url(images/button.png); }
  • Go to the top of the page

Rate this thread