kaushal_gaurav
11th February 2009, 04:42
Hi,
My app is crashing when i set the QSortFilterProxyModel in the combo box.
below is the code snippet that i use to set the model to the comboBox
m_TxPowerProxyModel->setDynamicSortFilter(true);
m_TxPowerProxyModel->setSourceModel(m_Model);
m_Ui.txPowerCombo->setModel(m_TxPowerProxyModel);
m_Ui.txPowerCombo->setModelColumn(DevicesModel::TX_POWER);
m_TxPowerProxyModel->SetModelSearchStr(m_BandProxyModel->data(index).toString());
Please Help......
Regards,
GK
My app is crashing when i set the QSortFilterProxyModel in the combo box.
below is the code snippet that i use to set the model to the comboBox
m_TxPowerProxyModel->setDynamicSortFilter(true);
m_TxPowerProxyModel->setSourceModel(m_Model);
m_Ui.txPowerCombo->setModel(m_TxPowerProxyModel);
m_Ui.txPowerCombo->setModelColumn(DevicesModel::TX_POWER);
m_TxPowerProxyModel->SetModelSearchStr(m_BandProxyModel->data(index).toString());
Please Help......
Regards,
GK