Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
Go to the source code of this file.
Functions | |
mapper | setModel (model) |
mapper | addMapping (mySpinBox, 0) |
mapper | addMapping (myLineEdit, 1) |
mapper | addMapping (myCountryChooser, 2) |
mapper | toFirst () |
mapper | setModel (myModel) |
mapper | addMapping (nameLineEdit, 0) |
mapper | addMapping (ageSpinBox, 1) |
connect (myTableView->selectionModel(), &QItemSelectionModel::currentRowChanged, mapper, &QDataWidgetMapper::setCurrentModelIndex) | |
Variables | |
QDataWidgetMapper * | mapper = new QDataWidgetMapper |
[0] | |
mapper addMapping | ( | ageSpinBox | , |
1 | ) |
mapper addMapping | ( | myCountryChooser | , |
2 | ) |
mapper addMapping | ( | myLineEdit | , |
1 | ) |
mapper addMapping | ( | mySpinBox | , |
0 | ) |
mapper addMapping | ( | nameLineEdit | , |
0 | ) |
connect | ( | myTableView-> | selectionModel(), |
&QItemSelectionModel::currentRowChanged | , | ||
mapper | , | ||
&QDataWidgetMapper::setCurrentModelIndex | ) |
mapper setModel | ( | myModel | ) |
mapper toFirst | ( | ) |
QDataWidgetMapper * mapper = new QDataWidgetMapper |