Skip to content

Refactor qttypes #235

Open
Open
@Ayush1325

Description

@Ayush1325

Currently, libs.rs in qttypes basically contains most of the types. I think the types should be moved to separate modules, like QString is inside core.

Current Refactor Propsal:

  • BrushStyle -> qtcore::qt::BrushStyle
  • PenStyle -> qtcore::qt::PenStyle
  • QVariantList -> qtcore::qlist::qvariantlist::QVariantList
  • QStringList -> qtcore::qlist::qstringlist::QStringList
  • QDate -> qtcore::qdate::Qdate
  • QTime -> qtcore::qtime::QTime
  • QDateTime -> qtcore::qdatetime::QDateTime
  • QVariant -> qtcore::qvariant::QVariant
  • QModelIndex -> qtcore::qmodelindex::QModelIndex
  • QRectF -> qtcore::qrectf::QRectF
  • QPoint -> qtcore::qpoint::QPoint
  • QPointF -> qtcore::qpointf::QPointF
  • QSize -> qtcore::qsize::QSize
  • QSizeF -> qtcore::qsizef::QSizeF
  • QMargins -> qtcore::qmargins::QMargins
  • ImageFormat -> qtcore::qimage::ImageFormat
  • QJsonValue -> qtcore::qjsonvalue::QJsonValue
  • QJsonObject -> qtcore::qjsonobject::QJsonObject
  • QJsonArray -> qtcore::qjsonarray::QJsonArray
  • QStandardPathLocation -> qtcore::qstandardpathlocation::QStandardPathLocation
  • QLineF -> qtcore::qlinef::QLineF
  • QImage -> qtgui::qimage::QImage
  • QPixmap -> qtgui::qpixmap::QPixmap
  • QPen -> qtgui::qpen::QPen
  • QBrush -> qtgui::qbrush::QBrush
  • QPainter -> qtgui::qpainter::QPainter
  • QPainterRenderHint -> qtgui::qpainter::QPainterRenderHint
  • core::qstring -> qtcore::qstring
  • core::qurl -> qtcore::qurl
  • core::qbytearray -> qtcore::qbytearray
  • core::primitives -> qtcore::primitives
  • gui::qcolor -> qtgui::qcolor

Metadata

Metadata

Assignees

No one assigned

    Labels

    C-cleanupCategory: PRs that clean code up or issues documenting cleanup.E-easyCall for participation: Experience needed to fix: Easy / not muchP-mediumMedium prioritygood first issueIssues for First Time Contributors.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions