Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Decide on more useful types to add from QtCore/QtGui #291

Closed
24 tasks done
ahayzen-kdab opened this issue Oct 3, 2022 · 4 comments
Closed
24 tasks done

Decide on more useful types to add from QtCore/QtGui #291

ahayzen-kdab opened this issue Oct 3, 2022 · 4 comments
Assignees
Labels
⬆️ feature New feature or request
Milestone

Comments

@ahayzen-kdab
Copy link
Collaborator

ahayzen-kdab commented Oct 3, 2022

Decide on more useful types to add from QtCore/QtGui (eg QByteArray, QModelIndex, QVector2d, QHash, QVector etc)

QtCore - https://doc.qt.io/qt-6/qtcore-module.html

QtGui - https://doc.qt.io/qt-6/qtgui-module.html

QtQML - https://doc.qt.io/qt-6/qtqml-module.html

We need to come up with some rules as to which classes we should bridge in cxx-qt-lib, the following should be considered

  • Maintenance of the bridge
  • Practical use from Rust (eg if you have a clear UI / model split, UI details should not be in Rust?)
  • Usage in applications (eg don't wrap classes that are hardly used)
  • Enable deriving from other classes (eg QModelIndex and QHash are needed for listmodels)
  • Can we easily bridge templated classes ? this was an issue with the CxxQtThread (eg Extern type with generic type parameter  dtolnay/cxx#683 )
@ahayzen-kdab ahayzen-kdab added the ⬆️ feature New feature or request label Oct 3, 2022
@ahayzen-kdab ahayzen-kdab added this to the 0.5 milestone Oct 3, 2022
@ahayzen-kdab
Copy link
Collaborator Author

ahayzen-kdab commented Oct 20, 2022

For #113 we also need to add types from QtQml, to do this we should ensure that we have features for core, gui, qml in cxx-qt-lib #290

@ahayzen-kdab
Copy link
Collaborator Author

If container classes start using extern "C" blocks then consider questions in #77

@ahayzen-kdab
Copy link
Collaborator Author

Moved container types into #347 as this has separate problems that will take longer to investigate.

ahayzen-kdab added a commit to ahayzen-kdab/cxx-qt that referenced this issue Dec 15, 2022
ahayzen-kdab added a commit to ahayzen-kdab/cxx-qt that referenced this issue Dec 15, 2022
ahayzen-kdab added a commit to ahayzen-kdab/cxx-qt that referenced this issue Dec 15, 2022
ahayzen-kdab added a commit to ahayzen-kdab/cxx-qt that referenced this issue Dec 15, 2022
ahayzen-kdab added a commit to ahayzen-kdab/cxx-qt that referenced this issue Dec 15, 2022
ahayzen-kdab added a commit to ahayzen-kdab/cxx-qt that referenced this issue Dec 15, 2022
ahayzen-kdab added a commit to ahayzen-kdab/cxx-qt that referenced this issue Dec 15, 2022
ahayzen-kdab added a commit to ahayzen-kdab/cxx-qt that referenced this issue Dec 15, 2022
ahayzen-kdab added a commit to ahayzen-kdab/cxx-qt that referenced this issue Dec 15, 2022
ahayzen-kdab added a commit to ahayzen-kdab/cxx-qt that referenced this issue Dec 16, 2022
ahayzen-kdab added a commit to ahayzen-kdab/cxx-qt that referenced this issue Dec 16, 2022
Be-ing pushed a commit to ahayzen-kdab/cxx-qt that referenced this issue Dec 17, 2022
Be-ing pushed a commit that referenced this issue Dec 17, 2022
ahayzen-kdab added a commit to ahayzen-kdab/cxx-qt that referenced this issue Dec 19, 2022
ahayzen-kdab added a commit to ahayzen-kdab/cxx-qt that referenced this issue Dec 19, 2022
ahayzen-kdab added a commit to ahayzen-kdab/cxx-qt that referenced this issue Dec 19, 2022
ahayzen-kdab added a commit to ahayzen-kdab/cxx-qt that referenced this issue Dec 19, 2022
ahayzen-kdab added a commit to ahayzen-kdab/cxx-qt that referenced this issue Dec 19, 2022
Be-ing pushed a commit that referenced this issue Dec 19, 2022
ahayzen-kdab added a commit to ahayzen-kdab/cxx-qt that referenced this issue Feb 15, 2023
ahayzen-kdab added a commit to ahayzen-kdab/cxx-qt that referenced this issue Feb 20, 2023
ahayzen-kdab added a commit to ahayzen-kdab/cxx-qt that referenced this issue Feb 20, 2023
ahayzen-kdab added a commit to ahayzen-kdab/cxx-qt that referenced this issue Feb 21, 2023
ahayzen-kdab added a commit to ahayzen-kdab/cxx-qt that referenced this issue Feb 23, 2023
ahayzen-kdab added a commit to ahayzen-kdab/cxx-qt that referenced this issue Mar 1, 2023
ahayzen-kdab added a commit to ahayzen-kdab/cxx-qt that referenced this issue Mar 1, 2023
ahayzen-kdab added a commit to ahayzen-kdab/cxx-qt that referenced this issue Mar 2, 2023
ahayzen-kdab added a commit to ahayzen-kdab/cxx-qt that referenced this issue Mar 3, 2023
ahayzen-kdab added a commit to ahayzen-kdab/cxx-qt that referenced this issue Mar 3, 2023
ahayzen-kdab added a commit to ahayzen-kdab/cxx-qt that referenced this issue Mar 3, 2023
ahayzen-kdab added a commit to ahayzen-kdab/cxx-qt that referenced this issue Mar 3, 2023
ahayzen-kdab added a commit to ahayzen-kdab/cxx-qt that referenced this issue Mar 3, 2023
ahayzen-kdab added a commit to ahayzen-kdab/cxx-qt that referenced this issue Mar 6, 2023
ahayzen-kdab added a commit to ahayzen-kdab/cxx-qt that referenced this issue Mar 7, 2023
ahayzen-kdab added a commit to ahayzen-kdab/cxx-qt that referenced this issue Mar 7, 2023
ahayzen-kdab added a commit that referenced this issue Mar 7, 2023
@ahayzen-kdab
Copy link
Collaborator Author

Closing via #416

przempore pushed a commit to przempore/cxx-qt that referenced this issue Mar 15, 2023
przempore pushed a commit to przempore/cxx-qt that referenced this issue Mar 15, 2023
przempore pushed a commit to przempore/cxx-qt that referenced this issue Mar 15, 2023
przempore pushed a commit to przempore/cxx-qt that referenced this issue Mar 15, 2023
przempore pushed a commit to przempore/cxx-qt that referenced this issue Mar 15, 2023
przempore pushed a commit to przempore/cxx-qt that referenced this issue Mar 15, 2023
przempore pushed a commit to przempore/cxx-qt that referenced this issue Mar 15, 2023
przempore pushed a commit to przempore/cxx-qt that referenced this issue Mar 15, 2023
przempore pushed a commit to przempore/cxx-qt that referenced this issue Mar 15, 2023
przempore pushed a commit to przempore/cxx-qt that referenced this issue Mar 15, 2023
przempore pushed a commit to przempore/cxx-qt that referenced this issue Mar 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
⬆️ feature New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant