QIcon::fromTheme for X11/Wayland

Aperta
#1,084 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
35/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Ferma
Stack tecnologico
cpp
Ambito
desktop

Direzione di ricerca

Start by locating the QIcon::fromTheme entry point and reading how platform-specific icon behavior is currently handled. Check the X11 and Wayland paths, then verify that supported platforms load system icons while unsupported platforms retain Qt's default behavior. The issue does not name files or tests, so those must be identified first.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

Is your feature request related to a problem? Please describe.
I would like to allow my app to feel native on KDE environments as much as possible. Therefore I would like to use icons from the system. Unfortunately, the QIcon::fromTheme method is not implemented

Describe the solution you'd like
An implementation of this method. For platforms which cannot support this, the function should simply inherit Qt's default behaviour of nothing.

Describe alternatives you've considered
So far, the only real alternatives are implementing the function myself or simply bundling icons, either as SVGs or through font icons.

Lingua principale
C++
Stelle
9.2k
Fork
315
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Guida per i contributori

Apri la guida per i contributori

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di nodegui/nodegui

Tutte le issue di nodegui/nodegui

Issue simili

Altre issue su C++

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.