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. 3D style look and feel
Qt 6.11 is out! See what's new in the release blog

3D style look and feel

Scheduled Pinned Locked Moved Solved General and Desktop
16 Posts 3 Posters 6.6k Views 3 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.
  • mrjjM mrjj

    Hi
    Depending what you goal is, you can also create your own style
    http://doc.qt.io/qt-5/qtwidgets-widgets-styles-example.html

    Could you give an example of a button before and after gradient ?

    ansifpiA Offline
    ansifpiA Offline
    ansifpi
    wrote on last edited by ansifpi
    #7

    @mrjj said in 3D style look and feel:

    Hi
    Depending what you goal is, you can also create your own style
    http://doc.qt.io/qt-5/qtwidgets-widgets-styles-example.html

    Could you give an example of a button before and after gradient ?

    Hi,

    I am now using the Qt stylesheet method which is very easy to manage. I tried the "qlineargradient" property which is giving a nice 3D style buttons and the screenshot is attached here, 0_1527395447019_screenshot1_24052018.png

    The advantage of qlineargradient is it doesn't need any images. This makes reduce in the size of application and also performance too.

    Full Stack Developer

    Ansif P I

    1 Reply Last reply
    0
    • mrjjM Offline
      mrjjM Offline
      mrjj
      Lifetime Qt Champion
      wrote on last edited by
      #8

      Hi
      ahh, that sort of 3d effect. i was not sure
      what was wrong with svg. but you need a non flat button look.
      thank you

      ansifpiA 1 Reply Last reply
      0
      • mrjjM mrjj

        Hi
        ahh, that sort of 3d effect. i was not sure
        what was wrong with svg. but you need a non flat button look.
        thank you

        ansifpiA Offline
        ansifpiA Offline
        ansifpi
        wrote on last edited by
        #9

        @mrjj said in 3D style look and feel:

        Hi
        ahh, that sort of 3d effect. i was not sure
        what was wrong with svg. but you need a non flat button look.
        thank you

        Hi,

        I tried using svg buttons, but not giving 3D look. But stylesheet fits well for me :). Do you have any svg exampel(screenshot) about 3D look.

        Regards
        Ansif

        Full Stack Developer

        Ansif P I

        1 Reply Last reply
        0
        • mrjjM Offline
          mrjjM Offline
          mrjj
          Lifetime Qt Champion
          wrote on last edited by
          #10

          Hi
          Well most of the methods is actually also just gradients inside SVG
          http://www.svgopen.org/2008/papers/86-Achieving_3D_Effects_with_SVG/

          also some uses glossy way
          https://openclipart.org/detail/77821/orange-glossy-buttons

          There a many SVG there. ( free to use )

          so i think a stylesheet is just fine for giving the buttons 3d look. since its all you want.
          I most likely would tone it a bit down as rest of design is flat (modern) and
          the buttons stick out a bit. But thats a personal preference.

          ansifpiA 1 Reply Last reply
          3
          • mrjjM mrjj

            Hi
            Well most of the methods is actually also just gradients inside SVG
            http://www.svgopen.org/2008/papers/86-Achieving_3D_Effects_with_SVG/

            also some uses glossy way
            https://openclipart.org/detail/77821/orange-glossy-buttons

            There a many SVG there. ( free to use )

            so i think a stylesheet is just fine for giving the buttons 3d look. since its all you want.
            I most likely would tone it a bit down as rest of design is flat (modern) and
            the buttons stick out a bit. But thats a personal preference.

            ansifpiA Offline
            ansifpiA Offline
            ansifpi
            wrote on last edited by
            #11

            @mrjj said in 3D style look and feel:

            Hi
            Well most of the methods is actually also just gradients inside SVG
            http://www.svgopen.org/2008/papers/86-Achieving_3D_Effects_with_SVG/

            also some uses glossy way
            https://openclipart.org/detail/77821/orange-glossy-buttons

            There a many SVG there. ( free to use )

            so i think a stylesheet is just fine for giving the buttons 3d look. since its all you want.
            I most likely would tone it a bit down as rest of design is flat (modern) and
            the buttons stick out a bit. But thats a personal preference.

            Sorry for the delay. This is exactly i was looking. I really appreciate your support.

            Full Stack Developer

            Ansif P I

            mrjjM 1 Reply Last reply
            0
            • ansifpiA ansifpi

              @mrjj said in 3D style look and feel:

              Hi
              Well most of the methods is actually also just gradients inside SVG
              http://www.svgopen.org/2008/papers/86-Achieving_3D_Effects_with_SVG/

              also some uses glossy way
              https://openclipart.org/detail/77821/orange-glossy-buttons

              There a many SVG there. ( free to use )

              so i think a stylesheet is just fine for giving the buttons 3d look. since its all you want.
              I most likely would tone it a bit down as rest of design is flat (modern) and
              the buttons stick out a bit. But thats a personal preference.

              Sorry for the delay. This is exactly i was looking. I really appreciate your support.

              mrjjM Offline
              mrjjM Offline
              mrjj
              Lifetime Qt Champion
              wrote on last edited by
              #12

              @ansifpi
              Np, but i think a very detailed SVG might be more heavy than stylesheet with gradient but its hard to guess at as it depends on the device also :)

              I assume the goal is a modern look with not super flat buttons but rest of the widgets should follow the flat style ?

              I also like looks like this
              https://dribbble.com/shots/588694-Blue-Milk-UI-Kit-Updated
              even not flat.

              ansifpiA 1 Reply Last reply
              0
              • mrjjM mrjj

                @ansifpi
                Np, but i think a very detailed SVG might be more heavy than stylesheet with gradient but its hard to guess at as it depends on the device also :)

                I assume the goal is a modern look with not super flat buttons but rest of the widgets should follow the flat style ?

                I also like looks like this
                https://dribbble.com/shots/588694-Blue-Milk-UI-Kit-Updated
                even not flat.

                ansifpiA Offline
                ansifpiA Offline
                ansifpi
                wrote on last edited by
                #13

                @mrjj said in 3D style look and feel:

                @ansifpi
                Np, but i think a very detailed SVG might be more heavy than stylesheet with gradient but its hard to guess at as it depends on the device also :)

                I assume the goal is a modern look with not super flat buttons but rest of the widgets should follow the flat style ?

                I also like looks like this
                https://dribbble.com/shots/588694-Blue-Milk-UI-Kit-Updated
                even not flat.

                Yeah it looks very cute. I also likes the same. Ite better to change the whole UI with lightweight controls like Blue Milk UI Kit.

                Full Stack Developer

                Ansif P I

                mrjjM 1 Reply Last reply
                0
                • ansifpiA ansifpi

                  @mrjj said in 3D style look and feel:

                  @ansifpi
                  Np, but i think a very detailed SVG might be more heavy than stylesheet with gradient but its hard to guess at as it depends on the device also :)

                  I assume the goal is a modern look with not super flat buttons but rest of the widgets should follow the flat style ?

                  I also like looks like this
                  https://dribbble.com/shots/588694-Blue-Milk-UI-Kit-Updated
                  even not flat.

                  Yeah it looks very cute. I also likes the same. Ite better to change the whole UI with lightweight controls like Blue Milk UI Kit.

                  mrjjM Offline
                  mrjjM Offline
                  mrjj
                  Lifetime Qt Champion
                  wrote on last edited by
                  #14

                  @ansifpi
                  well its actually just a design.
                  I dream of one day to make a QStyle plugin with it :)

                  There are many options for looks. But if board is not strong at drawing some will be too heavy.

                  ansifpiA 1 Reply Last reply
                  1
                  • mrjjM mrjj

                    @ansifpi
                    well its actually just a design.
                    I dream of one day to make a QStyle plugin with it :)

                    There are many options for looks. But if board is not strong at drawing some will be too heavy.

                    ansifpiA Offline
                    ansifpiA Offline
                    ansifpi
                    wrote on last edited by
                    #15

                    @mrjj said in 3D style look and feel:

                    @ansifpi
                    well its actually just a design.
                    I dream of one day to make a QStyle plugin with it :)

                    There are many options for looks. But if board is not strong at drawing some will be too heavy.

                    Well said. Thanks for all the tips. Keep in touch.

                    Full Stack Developer

                    Ansif P I

                    mrjjM 1 Reply Last reply
                    1
                    • ansifpiA ansifpi

                      @mrjj said in 3D style look and feel:

                      @ansifpi
                      well its actually just a design.
                      I dream of one day to make a QStyle plugin with it :)

                      There are many options for looks. But if board is not strong at drawing some will be too heavy.

                      Well said. Thanks for all the tips. Keep in touch.

                      mrjjM Offline
                      mrjjM Offline
                      mrjj
                      Lifetime Qt Champion
                      wrote on last edited by
                      #16

                      @ansifpi
                      I hang out here alot ;)
                      Happy programming.

                      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