Saturday, July 5th 2008, 4:20am UTC+1

You are not logged in.

  • Login
  • Register

Dear visitor, welcome to QtForum.org. If this is your first visit here, please read the Help. It explains how this page works. You must be registered before you can use all the page's features. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.

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