Skip to content

Looking for SignalOfQlistOfQPointF" and "SlotOfQlistOfQPoint" #18

Description

@Ouam74

Hi,

i am trying to dynamically "replace" the serie from a QLineSeries in a QChart (located in the main Gui) from a QThread worker function, and as a consequence i need to emit a QList(QPointF).

i need to implement the following :

#[slot(SlotOfQlistOfQPointF)]
unsafe fn on_updateval(self: &Rc, list: ) {
self.xaxis.set_range(0 as f64, N as f64);
self.series.replace_q_list_of_q_point_f(&list);
QCoreApplication::process_events_0a();
}
The problem is that there is no SignalOfQlistOfQPointF" nor "SlotOfQlistOfQPoint" in any ot the Rust-Qt libraries (qt.gui, qt.core, qt.widgets, qt.charts...)

I checked in the documentation and did not find neither "SignalOfQlistOfQPointF" nor "SlotOfQlistOfQPointF".

Is there any reason for this? If no would it be possible to implement it at some point? Is there any work around except the recursive emit of a "SignalOfQPointF".

I thank you very much in advance.

Best Regards.
Olivier.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions