Searched refs:mMaterialModel (Results 1 – 2 of 2) sorted by relevance
38 mMaterialModel = new QStringListModel(this); in MainWindow()41 mMaterialProxyModel->setSourceModel(mMaterialModel); in MainWindow()135 selected = mMaterialModel->data(selectedIndex, Qt::DisplayRole).toString(); in onIdle()144 if (mMaterialModel->stringList() != list) in onIdle()146 mMaterialModel->setStringList(list); in onIdle()150 for (int i=0; i<mMaterialModel->rowCount(); ++i) in onIdle()152 const QModelIndex& index = mMaterialModel->index(i,0); in onIdle()153 if (mMaterialModel->data(index, Qt::DisplayRole).toString() == selected) in onIdle()
76 QStringListModel* mMaterialModel; member in sh::MainWindow