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. QTableView clicked signal

QTableView clicked signal

Scheduled Pinned Locked Moved General and Desktop
2 Posts 1 Posters 2.2k 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.
  • A Offline
    A Offline
    artefactman
    wrote on last edited by
    #1

    Hi !

    I have a QStandardItemModel with external data.
    This model is linked to a QTableView with setModel(), everything is well displayed, but while connecting the signal clicked(const QModelIndex& index), my slot is never triggered, I set the flags Qt::ItemIsEnabled to items onto my model. My items are QStrings.

    The model is updated by calling only setItem();
    It seems I didn't understand how to use the signal clicked() from QTableView...

    Could anyone help me ?

    1 Reply Last reply
    0
    • A Offline
      A Offline
      artefactman
      wrote on last edited by
      #2

      Ok an error while writing the connect() code...

      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