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. QTablewidget insert check box and do alot
Forum Updated to NodeBB v4.3 + New Features

QTablewidget insert check box and do alot

Scheduled Pinned Locked Moved Unsolved General and Desktop
24 Posts 4 Posters 4.8k 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.
  • ManiRonM ManiRon

    @mrjj yes sir i removed it but i want an effect which all buttons have when pressed

    ManiRonM Offline
    ManiRonM Offline
    ManiRon
    wrote on last edited by
    #21

    @ManiRon

    For example when we press a button we feel like it goes inside and comes back like that effect i want

    mrjjM 1 Reply Last reply
    0
    • ManiRonM ManiRon

      @ManiRon

      For example when we press a button we feel like it goes inside and comes back like that effect i want

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

      @ManiRon
      Hi
      to keep the pressed down effect, then only assign
      background-color: do not change anything with border as that disabled the down effect.
      alt text

      Else you have to create such effect your self.

      ManiRonM 1 Reply Last reply
      1
      • mrjjM mrjj

        @ManiRon
        Hi
        to keep the pressed down effect, then only assign
        background-color: do not change anything with border as that disabled the down effect.
        alt text

        Else you have to create such effect your self.

        ManiRonM Offline
        ManiRonM Offline
        ManiRon
        wrote on last edited by
        #23

        @mrjj

        how can we create ? is there any way sir?

        mrjjM 1 Reply Last reply
        0
        • ManiRonM ManiRon

          @mrjj

          how can we create ? is there any way sir?

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

          @ManiRon
          Hi
          You can use the
          border-top-color
          border-right-color
          border-bottom-color
          border-left-color
          to draw the normal "3d" effect in both normal and pressed state
          or use
          border.image
          http://doc.qt.io/qt-5/stylesheet-reference.html#border-image

          http://doc.qt.io/qt-5/stylesheet-reference.html

          1 Reply Last reply
          1

          • Login

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