Web appOpen in Telegram

ThreadThere is a dataUpdated signal

8 messages · –
  1. F
    I'm using dataChanged() method but how can I pass the QModelIndex arguments from python? Thanks for any help!!
    1. M
      So when you inherit from QAbstractTableModel, you will have the method createIndex
      1. T
        You meant AbstractTableModel?
    2. M
      topLeft = self.createIndex(0,0) bottomRight = self.createIndex(self.rowCount(None), self.columnCount(None)) self.dataChanged.emit( topLeft, bottomRight )
      1. T
        For these two arguments, look at the range you edit. So the lowest row and column you touch (that goes to topLeft) and highest row and column (that goes to bottomRight). Then createIndex() these and pass them as arguments to emit()
QQt for Python (PySide/Shiboken)Qt for Python (PySide/Shiboken)@qtforpython · group · Tech
386members2writing in 30 days
Venue feed Open in Telegram

An open public feed from the search index ChatCrawler — “Google for public Telegram”; refreshed as the venue is crawled. Times are UTC.

Public content only, official Telegram API. About · FAQ · What we do not do · Remove a page · Catalog · Search · How we count