Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-38307

styleData.row is always zero at TableViewColumn delegate.

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P1: Critical
    • Resolution: Done
    • Affects Version/s: 5.3.0 Beta1
    • Fix Version/s: 5.3.0 RC1
    • Component/s: Quick: Controls 1
    • Labels:
      None
    • Environment:
      linux x86
    • Commits:
      f580f4ce858a332e62948c1c5372995e9a576452

      Description

      in the following sample styleData.row is always zero.
      it works in 5.2.

      import QtQuick 2.2
      import QtQuick.Controls 1.1
      TableView{
          width: 600
          height: 800
          model: 10
          TableViewColumn{
              delegate:Item{
                  Component.onCompleted: {
                      console.log("Row:" + styleData.row)
                      console.log("Value:" + styleData.value)
                  }
              }
          }
      }
      

      and styleData.value is correct only for first row.
      it worked in Qt 5.2
      please fix it before 5.3 release.

        Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

            Assignee:
            bachewii Jens
            Reporter:
            chezgi abbas ali chezgi
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes