nightsky30 / koikoi

Koi Koi Hanafuda
GNU General Public License v2.0
7 stars 1 forks source link

Preferences UI #33

Closed nightsky30 closed 4 years ago

nightsky30 commented 4 years ago

Flesh out preferences UI

nightsky30 commented 4 years ago

Initial commit 2720546c8d82322f6b9656b099abd8cd22776671 commit 0f7a77bf2395903a525733b6feb60dc0209de0d1 commit 40f1fcfa5b78299dbe2880f6e9e6c029b8bec297 commit 0c529f5f997af1606bdca6ed3d172d9ded3bb00d

nightsky30 commented 4 years ago

Try populating at runtime...

https://doc.qt.io/qt-5/resources.html

In memory, resources are represented by a tree of resource objects. The tree is automatically built at startup and used by QFile for resolving paths to resources. You can use a QDir initialized with ":/" to navigate through the resource tree from the root.

Qt's resources support the concept of a search path list. If you then refer to a resource with : instead of :/ as the prefix, the resource will be looked up using the search path list. The search path list is empty at startup; call QDir::addSearchPath() to add paths to it.

Same as koikoi ui at runtime when dealing cards' buttons...