Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. New button
Forum Updated to NodeBB v4.3 + New Features

New button

Scheduled Pinned Locked Moved General and Desktop
17 Posts 5 Posters 5.6k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Offline
    M Offline
    mehrdad
    wrote on last edited by
    #8

    thank
    is here any simple way to learn it or samples that i start with it?

    1 Reply Last reply
    0
    • EddyE Offline
      EddyE Offline
      Eddy
      wrote on last edited by
      #9

      I think you will like this "wiki page":http://qt-project.org/wiki/How_to_Use_QPushButton

      Qt Certified Specialist
      www.edalsolutions.be

      1 Reply Last reply
      0
      • M Offline
        M Offline
        mehrdad
        wrote on last edited by
        #10

        yes i like it and i use some of this properties in my programs...
        but i think QML is my problem solver
        thanks

        1 Reply Last reply
        0
        • EddyE Offline
          EddyE Offline
          Eddy
          wrote on last edited by
          #11

          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@

          Qt Certified Specialist
          www.edalsolutions.be

          1 Reply Last reply
          0
          • M Offline
            M Offline
            mehrdad
            wrote on last edited by
            #12

            yes,i got it,but my question is just for example and changing size of button is not exactly my mean...
            thanks you eddy

            1 Reply Last reply
            0
            • M Offline
              M Offline
              mehrdad
              wrote on last edited by
              #13

              a new question...is here any designer for QML that i create a button visually like adobe flash???

              1 Reply Last reply
              0
              • T Offline
                T Offline
                timoph
                wrote on last edited by
                #14

                [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.

                1 Reply Last reply
                0
                • M Offline
                  M Offline
                  mehrdad
                  wrote on last edited by
                  #15

                  :)
                  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)...

                  1 Reply Last reply
                  0
                  • EddyE Offline
                    EddyE Offline
                    Eddy
                    wrote on last edited by
                    #16

                    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/

                    Qt Certified Specialist
                    www.edalsolutions.be

                    1 Reply Last reply
                    0
                    • M Offline
                      M Offline
                      mehrdad
                      wrote on last edited by
                      #17

                      its good but in qt-samples i see pictures loaded in svg formats?

                      1 Reply Last reply
                      0

                      • Login

                      • Login or register to search.
                      • First post
                        Last post
                      0
                      • Categories
                      • Recent
                      • Tags
                      • Popular
                      • Users
                      • Groups
                      • Search
                      • Get Qt Extensions
                      • Unsolved