I would create a custom widget, handling all "buttons", and implement mouse press/release and do the drawing myself. (To detect hover use mouse move event)
I would create a custom widget, handling all "buttons", and implement mouse press/release and do the drawing myself. (To detect hover use mouse move event)
I just find QML,but not know that very much.
Could QML handle this?
Sure it can, but it is also not that easy and you have to wait till summer when the stable version is shipped out. And as I understand the whole concept it is primary for interfaces with fixed sizes ==> mobile embedded devices...
oops...
I just tried Qt creator 2.0 Alpha,and it crashes a lot. Especially when using the Designer For QML.
One more problem is (though I asked it in another post,but no good answer)
Most programs use PNG file for buttons.And images of hover, normal,pressed states of a button are in just one PNG file.
I wonder if there is a way in Qt style sheet to use a part of a PNG file.
(I really wish there would be a way.....)
Bookmarks