New button
-
thank
is here any simple way to learn it or samples that i start with it? -
I think you will like this "wiki page":http://qt-project.org/wiki/How_to_Use_QPushButton
-
yes i like it and i use some of this properties in my programs...
but i think QML is my problem solver
thanks -
Have a look at "onentered":http://qt-project.org/doc/qt-4.8/qml-mousearea.html#onEntered-signal
Don't forget to set hoverEnabled
Something like:
@Onentered : true ? Size 1 : size 2@ -
yes,i got it,but my question is just for example and changing size of button is not exactly my mean...
thanks you eddy -
a new question...is here any designer for QML that i create a button visually like adobe flash???
-
[quote author="mehrdad" date="1331632780"]a new question...is here any designer for QML that i create a button visually like adobe flash??? [/quote]
Qt Creator has QML designer (the 'Design' tab) in it.
-
:)
yes,i know it,my mean is not a designer that create windows by widgets
a designer that create widgets by pictures
for example in adobe flash you can create a button by 4 pictures that this 4 pictures make 4 states of button(normal over clicked hit)... -
Adobe photoshop and The Gimp both have the possibility to export layers as QML
see this "Qt Labs blog":http://labs.qt.nokia.com/2010/10/19/exporting-qml-from-photoshop-and-gimp/
-
its good but in qt-samples i see pictures loaded in svg formats?