-
- Downloads
model: Handle Qt::DecorationRole in roledata()
When clients require simple widgets that filter "raw" model data, such as selecting a contact when receiving a call from an unknown contact method, it is overkill for them to have to implement a view delegate to display the picture. This commit add DecorationRole to all models based on Ring::Role. The pixmap manipulation interface need to implement the new functions to make use of this. The interface is responsible to support resolution independance. Tuleap: #170 Change-Id: Ibad44805485b71195805eaca82f08a4a56864f50
Showing
- src/call.cpp 2 additions, 1 deletionsrc/call.cpp
- src/contactmethod.cpp 5 additions, 0 deletionssrc/contactmethod.cpp
- src/interfaces/pixmapmanipulatori.h 4 additions, 0 deletionssrc/interfaces/pixmapmanipulatori.h
- src/person.cpp 2 additions, 0 deletionssrc/person.cpp
- src/phonedirectorymodel.cpp 1 addition, 9 deletionssrc/phonedirectorymodel.cpp
- src/pixmapmanipulatordefault.cpp 25 additions, 0 deletionssrc/pixmapmanipulatordefault.cpp
- src/pixmapmanipulatordefault.h 4 additions, 1 deletionsrc/pixmapmanipulatordefault.h
Loading
Please register or sign in to comment