Navigation

    Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Search
    • Unsolved
    1. Home
    2. Tags
    3. items
    Log in to post

    • SOLVED How to remove decoration tinting of selected items in item views?
      General and Desktop • selection qss views items • • napajejenunedk0  

      9
      1
      Votes
      9
      Posts
      2171
      Views

      @VRonin Nice. I was looking for something more integrated, so that to provide clear graphics of the icon all of the time, but obviously the clarity should be achieved in a more manual manner. Thanks. Actually, is there a QSS way to set the decoration?
    • SOLVED Sorting QTableview items alphabetically!
      General and Desktop • tableviewcolumn sort items alphabetical • • Kushan  

      6
      0
      Votes
      6
      Posts
      3128
      Views

      @VRonin Thanx mate
    • items() and itemsAt() do not return correct item position
      General and Desktop • qgraphicsview qgraphicsscene item position items itemat • • alogim  

      6
      0
      Votes
      6
      Posts
      4591
      Views

      I do not understand last question. I do not see any problem with mapping which rely on the item bounding rectangle. You can have an infinite number of visually the same graphics items if you use different combination of position and bounding box parameters. For example if you create QGraphicsEllipseItem using following rectangle/position pairs you will get the same result on the screen? pair 1: QRectF rect1( 0, 0, 1., 2 ); QPointF pos1(10.,20.); pair 2: QRectF rect1( 10,20, 1., 2 ); QPointF pos1(0.,0.); Which way to define depends on your needs.