Home
last modified time | relevance | path

Searched refs:ResultTypeRole (Results 1 – 9 of 9) sorted by relevance

/dports/graphics/qgis/qgis-3.22.3/tests/src/python/
H A Dtest_qgslocator.py359 self.assertEqual(p.data(p.index(0, 0), QgsLocatorModel.ResultTypeRole), 0)
403 self.assertEqual(p.data(p.index(0, 0), QgsLocatorModel.ResultTypeRole), 0)
411 self.assertEqual(p.data(p.index(4, 0), QgsLocatorModel.ResultTypeRole), 0)
414 self.assertEqual(p.data(p.index(5, 0), QgsLocatorModel.ResultTypeRole), 1)
416 self.assertEqual(p.data(p.index(6, 0), QgsLocatorModel.ResultTypeRole), 1)
418 self.assertEqual(p.data(p.index(7, 0), QgsLocatorModel.ResultTypeRole), 1)
420 self.assertEqual(p.data(p.index(8, 0), QgsLocatorModel.ResultTypeRole), 1)
422 self.assertEqual(p.data(p.index(9, 0), QgsLocatorModel.ResultTypeRole), 1)
424 self.assertEqual(p.data(p.index(10, 0), QgsLocatorModel.ResultTypeRole), 1)
426 self.assertEqual(p.data(p.index(11, 0), QgsLocatorModel.ResultTypeRole), 2)
[all …]
/dports/graphics/qgis-ltr/qgis-3.16.16/tests/src/python/
H A Dtest_qgslocator.py319 self.assertEqual(p.data(p.index(0, 0), QgsLocatorModel.ResultTypeRole), 0)
363 self.assertEqual(p.data(p.index(0, 0), QgsLocatorModel.ResultTypeRole), 0)
371 self.assertEqual(p.data(p.index(4, 0), QgsLocatorModel.ResultTypeRole), 0)
374 self.assertEqual(p.data(p.index(5, 0), QgsLocatorModel.ResultTypeRole), 1)
376 self.assertEqual(p.data(p.index(6, 0), QgsLocatorModel.ResultTypeRole), 1)
378 self.assertEqual(p.data(p.index(7, 0), QgsLocatorModel.ResultTypeRole), 1)
380 self.assertEqual(p.data(p.index(8, 0), QgsLocatorModel.ResultTypeRole), 1)
382 self.assertEqual(p.data(p.index(9, 0), QgsLocatorModel.ResultTypeRole), 1)
384 self.assertEqual(p.data(p.index(10, 0), QgsLocatorModel.ResultTypeRole), 1)
386 self.assertEqual(p.data(p.index(11, 0), QgsLocatorModel.ResultTypeRole), 2)
[all …]
/dports/graphics/qgis/qgis-3.22.3/src/core/locator/
H A Dqgslocatormodel.cpp136 case ResultTypeRole: in data()
189 roles[ResultTypeRole] = "ResultType"; in roleNames()
348 const int leftTypeRole = sourceModel()->data( left, QgsLocatorModel::ResultTypeRole ).toInt(); in lessThan()
349 const int rightTypeRole = sourceModel()->data( right, QgsLocatorModel::ResultTypeRole ).toInt(); in lessThan()
H A Dqgslocatormodel.h54 ResultTypeRole, //!< Result type enumerator
/dports/graphics/qgis-ltr/qgis-3.16.16/src/core/locator/
H A Dqgslocatormodel.cpp136 case ResultTypeRole: in data()
189 roles[ResultTypeRole] = "ResultType"; in roleNames()
348 int leftTypeRole = sourceModel()->data( left, QgsLocatorModel::ResultTypeRole ).toInt(); in lessThan()
349 int rightTypeRole = sourceModel()->data( right, QgsLocatorModel::ResultTypeRole ).toInt(); in lessThan()
H A Dqgslocatormodel.h54 ResultTypeRole, //!< Result type enumerator
/dports/databases/akonadi/akonadi-21.12.3/src/widgets/
H A Dselftestdialog.cpp49 ResultTypeRole = Qt::UserRole, enumerator
113 item->setData(type, ResultTypeRole); in report()
580 switch (item->data(ResultTypeRole).toInt()) { in createReport()
/dports/graphics/qgis/qgis-3.22.3/python/core/auto_generated/locator/
H A Dqgslocatormodel.sip.in34 ResultTypeRole,
/dports/graphics/qgis-ltr/qgis-3.16.16/python/core/auto_generated/locator/
H A Dqgslocatormodel.sip.in34 ResultTypeRole,