-
Notifications
You must be signed in to change notification settings - Fork 94
Open
Montel/cxx-qt
#99Labels
⬆️ featureNew feature or requestNew feature or request🙋 good first issueGood for newcomersGood for newcomers
Description
Where we need to have an overload in cxx-qt-lib, eg QPainter::setPen can take QColor or QPen or an enum. Accept impl AsRef<QPen> then implement Into from QColor and the enum. Then this should allow Rust code to have any of the types.
There are a few places already where we could have had overloads for QPoint, QSize etc consider doing this in those places.
Note however this will mean we need an extra impl block that then calls the direct CXX binding.
Metadata
Metadata
Assignees
Labels
⬆️ featureNew feature or requestNew feature or request🙋 good first issueGood for newcomersGood for newcomers
Type
Projects
Status
Todo