Simplify connecting QItemSelection::currentRowChanged to PropertyProxyModel::activeRow
This commit is contained in:
parent
0cef509771
commit
e8f81557bb
3 changed files with 10 additions and 11 deletions
|
|
@ -17,7 +17,12 @@ public:
|
|||
QVariant data(const QModelIndex &proxyIndex, int role) const;
|
||||
|
||||
public Q_SLOTS:
|
||||
void setActiveRow(int row);
|
||||
/** Updates the model (and view) to show the values for row
|
||||
*
|
||||
* The column part of the index is not used QModelIndex is used to make is eacy to connect to
|
||||
* QItemSelectionModel::currentRowChanged
|
||||
*/
|
||||
void setActiveRow(const QModelIndex &row);
|
||||
|
||||
private:
|
||||
enum Columns {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue