mirror of
https://github.com/bitcoin-core/gui-qml.git
synced 2026-12-02 08:18:39 +00:00
WIP: qml: Add DropShadow to the OptionSwitch indicatorButton #111
No reviewers
Labels
No labels
Android
Bug
Build system
Design suggestion
Doc
Needs design review
Needs rebase
Stage
UX
Up for grabs
Upstream
Wallet
duplicate
enhancement
good first issue
question
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
bitcoin-core/gui-qml!111
Loading…
Reference in a new issue
No description provided.
Delete branch "220113-drop_shadow"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
indicatorButton, as per the main design file of the project.Some points to note:
===instead of==to avoid type coercion.Running the current version of the PR will cause the following error.
And to create dropShadow, we require this module. I tried to figure out some workaround, but I thought it's better to ask and go with the correct approach on the get-go.
Updated from e2d1635 to 2e8b096.
Changes:
Diff:
Follow ups to #101 should be in their own PR with well structured and focused commits.
@shaavan try adding
github.com/bitcoin-core/gui-qml@ef98ffa9e0/src/qml/bitcoin.cpp (L43-L52)Updated from 2e8b096 to
109682b(pr111.01 -> pr112.02)Addressed @jarolrod, @promag suggestions.
Changes:
src/qml/bitcoin.cppfile.The PR is still in WIP. Currently, using the Q_IMPORT_PLUGIN caused the following error.
Addressed in
109682b971Addressed in #112
@shaavan as properly supporting this requires OpenGL support, let's leave the dropshadows for later.
I understand. I shall close this PR for now. We can restart work on this once OpenGL support is appropriately integrated.
This PR is moved to #132.
Rationale: