Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt for Python
  4. shiboken: wrap class derived from (specialized) template class
Forum Updated to NodeBB v4.3 + New Features

shiboken: wrap class derived from (specialized) template class

Scheduled Pinned Locked Moved Unsolved Qt for Python
3 Posts 3 Posters 266 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • G Offline
    G Offline
    giacomos
    wrote on last edited by
    #1

    QwtPlotCurve from the Qwt libraries derives from

    QwtPlotSeriesItem and QwtSeriesStore<QPointF>

    How to let shiboken generate wrappers for QwtPlotCurve?

    I think this should be feasible since QwtSeriesStore is specialized with QPointF...

    If not possible, I'll proceed wrapping (in C++) QwtPlotCurve inside another class

    Thanks

    1 Reply Last reply
    0
    • F Offline
      F Offline
      friedemannkleint
      wrote on last edited by
      #2

      You can try to specify QwtSeriesStore as <custom-type name /> with generate="no" and see what happens. But maybe wrapping is better.

      1 Reply Last reply
      0
      • CristianMaureiraC Offline
        CristianMaureiraC Offline
        CristianMaureira
        wrote on last edited by
        #3

        Hey @giacomos also consider looking at this old Qwt implementation of bindings: https://github.com/qt-ps-americas/pysideqwt it's not up-to-date, but it can help you with some types, for example you can see how QwtPlotCurve was exposed here: https://github.com/qt-ps-americas/pysideqwt/blob/master/bindings.xml#L13

        1 Reply Last reply
        1

        • Login

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • Users
        • Groups
        • Search
        • Get Qt Extensions
        • Unsolved