Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in / Register
jami-project
jami-project
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 184
    • Issues 184
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
    • Iterations
  • Requirements
    • Requirements
    • List
  • Operations
    • Operations
    • Incidents
  • Analytics
    • Analytics
    • Insights
    • Issue
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Members
    • Members
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • savoirfairelinux
  • jami-projectjami-project
  • Issues
  • #184

Closed (moved)
Open
Opened Dec 05, 2015 by RingBot@RingBotOwner

[LRC] Implement DecorationRole for all relevant objects roleData()

Issue generated from Tuleap's migration script. Originally submitted by: Emmanuel Lepage Vallee (elv13)

Currently,some models have DecorationRole (icons), but some others need to dereference the object and play with the pixmapmanipulationinterface to get them.

While dealing with icons is tricky because the actual icon "object" is dependant on the GUI toolkit (GDK pixmaps or Cairo surfaces for GTK, QIcon for Qt, etc), the API should at least be consistent on how this is handled. For now, there is no coherent way for "dumb" model bindings to display icons.

For the KDE and Windows client, Qt5 offer the QIconEngine() class that allow to create resolution independant icons.

The reason why this wasn't done sooner was the lack of "proper" research on how to handle resolution independence. After further investigation, it is not really an issue at all and can totally be implemented.

Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking
None
Due date
None
Reference: savoirfairelinux/ring-project#184