QtBase  v6.3.1
Functions | Variables
src_gui_itemviews_qdatawidgetmapper.cpp File Reference

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

QDataWidgetMappermapper = new QDataWidgetMapper
 [0] More...
 

Function Documentation

◆ addMapping() [1/5]

mapper addMapping ( ageSpinBox  ,
 
)

◆ addMapping() [2/5]

mapper addMapping ( myCountryChooser  ,
 
)

◆ addMapping() [3/5]

mapper addMapping ( myLineEdit  ,
 
)

◆ addMapping() [4/5]

mapper addMapping ( mySpinBox  ,
 
)

◆ addMapping() [5/5]

mapper addMapping ( nameLineEdit  ,
 
)

◆ connect()

connect ( myTableView->  selectionModel(),
&QItemSelectionModel::currentRowChanged  ,
mapper  ,
&QDataWidgetMapper::setCurrentModelIndex   
)

◆ setModel() [1/2]

mapper setModel ( model  )

◆ setModel() [2/2]

mapper setModel ( myModel  )

◆ toFirst()

mapper toFirst ( )

Variable Documentation

◆ mapper

[0]

[1]

[2]

Definition at line 52 of file src_gui_itemviews_qdatawidgetmapper.cpp.