ronak.vashi
9th December 2010, 09:23
Hi All,
There is a QTableView displayed for taking input from user on QWidgetalong with few buttons and drop-downs. There is a button to add rows in QTableView
QTableView is having 7 columns out of which one is QDateEdit(Col# 1), one is QComboBox(Col#4) and rest are QLineEdit. By default one row is displayed with all widgets set at their respective cells.
My Requirment is :
I want to disable QLineEdit at cell (x,2) if in QComboBox at (x,4) value "xyz" is selected.
My Concern is :
I am not able to identify user has clicked QComboBox of which row.
Is there any in-buit function to get row number user is currently working ?
Please help !!! :)
There is a QTableView displayed for taking input from user on QWidgetalong with few buttons and drop-downs. There is a button to add rows in QTableView
QTableView is having 7 columns out of which one is QDateEdit(Col# 1), one is QComboBox(Col#4) and rest are QLineEdit. By default one row is displayed with all widgets set at their respective cells.
My Requirment is :
I want to disable QLineEdit at cell (x,2) if in QComboBox at (x,4) value "xyz" is selected.
My Concern is :
I am not able to identify user has clicked QComboBox of which row.
Is there any in-buit function to get row number user is currently working ?
Please help !!! :)