[][src]Struct qt_charts::QVXYModelMapper

#[repr(C)]pub struct QVXYModelMapper { /* fields omitted */ }

C++ class: QtCharts::QVXYModelMapper.

Methods

impl QVXYModelMapper[src]

pub fn series_replaced(&self) -> Signal<()>[src]

This signal is emitted when the series that the mapper is connected to changes.

Returns a built-in Qt signal QtCharts::QVXYModelMapper::seriesReplaced that can be passed to qt_core::Signal::connect.

C++ documentation:

This signal is emitted when the series that the mapper is connected to changes.

Note: Notifier signal for property series.

pub fn model_replaced(&self) -> Signal<()>[src]

This signal is emitted when the model that the mapper is connected to changes.

Returns a built-in Qt signal QtCharts::QVXYModelMapper::modelReplaced that can be passed to qt_core::Signal::connect.

C++ documentation:

This signal is emitted when the model that the mapper is connected to changes.

Note: Notifier signal for property model.

pub fn x_column_changed(&self) -> Signal<()>[src]

This signal is emitted when the column that contains the x-coordinates of data points changes.

Returns a built-in Qt signal QtCharts::QVXYModelMapper::xColumnChanged that can be passed to qt_core::Signal::connect.

C++ documentation:

This signal is emitted when the column that contains the x-coordinates of data points changes.

Note: Notifier signal for property xColumn.

pub fn y_column_changed(&self) -> Signal<()>[src]

This signal is emitted when the column that contains the y-coordinates of data points changes.

Returns a built-in Qt signal QtCharts::QVXYModelMapper::yColumnChanged that can be passed to qt_core::Signal::connect.

C++ documentation:

This signal is emitted when the column that contains the y-coordinates of data points changes.

Note: Notifier signal for property yColumn.

pub fn first_row_changed(&self) -> Signal<()>[src]

This signal is emitted when the first row changes.

Returns a built-in Qt signal QtCharts::QVXYModelMapper::firstRowChanged that can be passed to qt_core::Signal::connect.

C++ documentation:

This signal is emitted when the first row changes.

Note: Notifier signal for property firstRow.

pub fn row_count_changed(&self) -> Signal<()>[src]

This signal is emitted when the number of rows changes.

Returns a built-in Qt signal QtCharts::QVXYModelMapper::rowCountChanged that can be passed to qt_core::Signal::connect.

C++ documentation:

This signal is emitted when the number of rows changes.

Note: Notifier signal for property rowCount.

pub unsafe fn first_row(&self) -> c_int[src]

This property holds the row of the model that contains the data for the first point of the series.

Calls C++ function: int QtCharts::QVXYModelMapper::firstRow() const.

C++ documentation:

This property holds the row of the model that contains the data for the first point of the series.

The minimum and default value is 0.

Access functions:

int firstRow() const
void setFirstRow(int firstRow)

Notifier signal:

pub unsafe fn meta_object(&self) -> Ptr<QMetaObject>[src]

Calls C++ function: virtual const QMetaObject* QtCharts::QVXYModelMapper::metaObject() const.

pub unsafe fn model(&self) -> QPtr<QAbstractItemModel>[src]

This property holds the model that is used by the mapper.

Calls C++ function: QAbstractItemModel* QtCharts::QVXYModelMapper::model() const.

C++ documentation:

This property holds the model that is used by the mapper.

Access functions:

QAbstractItemModel *model() const
void setModel(QAbstractItemModel *model)

Notifier signal:

void modelReplaced()

pub unsafe fn new_1a(
    parent: impl CastInto<Ptr<QObject>>
) -> QBox<QVXYModelMapper>
[src]

Calls C++ function: [constructor] void QtCharts::QVXYModelMapper::QVXYModelMapper(QObject* parent = …).

pub unsafe fn new_0a() -> QBox<QVXYModelMapper>[src]

Calls C++ function: [constructor] void QtCharts::QVXYModelMapper::QVXYModelMapper().

pub unsafe fn qt_metacall(
    &self,
    arg1: Call,
    arg2: c_int,
    arg3: *mut *mut c_void
) -> c_int
[src]

Calls C++ function: virtual int QtCharts::QVXYModelMapper::qt_metacall(QMetaObject::Call arg1, int arg2, void** arg3).

pub unsafe fn qt_metacast(&self, arg1: *const c_char) -> *mut c_void[src]

Calls C++ function: virtual void* QtCharts::QVXYModelMapper::qt_metacast(const char* arg1).

pub unsafe fn row_count(&self) -> c_int[src]

This property holds the number of rows of the model that are mapped as the data for series.

Calls C++ function: int QtCharts::QVXYModelMapper::rowCount() const.

C++ documentation:

This property holds the number of rows of the model that are mapped as the data for series.

The minimum and default value is -1 (the number is limited by the number of rows in the model).

Access functions:

int rowCount() const
void setRowCount(int rowCount)

Notifier signal:

pub unsafe fn series(&self) -> QPtr<QXYSeries>[src]

This property holds the series that is used by the mapper.

Calls C++ function: QtCharts::QXYSeries* QtCharts::QVXYModelMapper::series() const.

C++ documentation:

This property holds the series that is used by the mapper.

All the data in the series is discarded when it is set to the mapper. When a new series is specified, the old series is disconnected (but it preserves its data).

Access functions:

QXYSeries *series() const
void setSeries(QXYSeries *series)

Notifier signal:

pub unsafe fn set_first_row(&self, first_row: c_int)[src]

This property holds the row of the model that contains the data for the first point of the series.

Calls C++ function: void QtCharts::QVXYModelMapper::setFirstRow(int firstRow).

C++ documentation:

This property holds the row of the model that contains the data for the first point of the series.

The minimum and default value is 0.

Access functions:

int firstRow() const
void setFirstRow(int firstRow)

Notifier signal:

pub unsafe fn set_model(&self, model: impl CastInto<Ptr<QAbstractItemModel>>)[src]

This property holds the model that is used by the mapper.

Calls C++ function: void QtCharts::QVXYModelMapper::setModel(QAbstractItemModel* model).

C++ documentation:

This property holds the model that is used by the mapper.

Access functions:

QAbstractItemModel *model() const
void setModel(QAbstractItemModel *model)

Notifier signal:

void modelReplaced()

pub unsafe fn set_row_count(&self, row_count: c_int)[src]

This property holds the number of rows of the model that are mapped as the data for series.

Calls C++ function: void QtCharts::QVXYModelMapper::setRowCount(int rowCount).

C++ documentation:

This property holds the number of rows of the model that are mapped as the data for series.

The minimum and default value is -1 (the number is limited by the number of rows in the model).

Access functions:

int rowCount() const
void setRowCount(int rowCount)

Notifier signal:

pub unsafe fn set_series(&self, series: impl CastInto<Ptr<QXYSeries>>)[src]

This property holds the series that is used by the mapper.

Calls C++ function: void QtCharts::QVXYModelMapper::setSeries(QtCharts::QXYSeries* series).

C++ documentation:

This property holds the series that is used by the mapper.

All the data in the series is discarded when it is set to the mapper. When a new series is specified, the old series is disconnected (but it preserves its data).

Access functions:

QXYSeries *series() const
void setSeries(QXYSeries *series)

Notifier signal:

pub unsafe fn set_x_column(&self, x_column: c_int)[src]

This property holds the column of the model that contains the x-coordinates of data points.

Calls C++ function: void QtCharts::QVXYModelMapper::setXColumn(int xColumn).

C++ documentation:

This property holds the column of the model that contains the x-coordinates of data points.

The default value is -1 (invalid mapping).

Access functions:

int xColumn() const
void setXColumn(int xColumn)

Notifier signal:

pub unsafe fn set_y_column(&self, y_column: c_int)[src]

This property holds the column of the model that contains the y-coordinates of data points.

Calls C++ function: void QtCharts::QVXYModelMapper::setYColumn(int yColumn).

C++ documentation:

This property holds the column of the model that contains the y-coordinates of data points.

The default value is -1 (invalid mapping).

Access functions:

int yColumn() const
void setYColumn(int yColumn)

Notifier signal:

pub unsafe fn static_meta_object() -> Ref<QMetaObject>[src]

Returns a reference to the staticMetaObject field.

pub unsafe fn tr(
    s: *const c_char,
    c: *const c_char,
    n: c_int
) -> CppBox<QString>
[src]

Calls C++ function: static QString QtCharts::QVXYModelMapper::tr(const char* s, const char* c, int n).

pub unsafe fn tr_utf8(
    s: *const c_char,
    c: *const c_char,
    n: c_int
) -> CppBox<QString>
[src]

Calls C++ function: static QString QtCharts::QVXYModelMapper::trUtf8(const char* s, const char* c, int n).

pub unsafe fn x_column(&self) -> c_int[src]

This property holds the column of the model that contains the x-coordinates of data points.

Calls C++ function: int QtCharts::QVXYModelMapper::xColumn() const.

C++ documentation:

This property holds the column of the model that contains the x-coordinates of data points.

The default value is -1 (invalid mapping).

Access functions:

int xColumn() const
void setXColumn(int xColumn)

Notifier signal:

pub unsafe fn y_column(&self) -> c_int[src]

This property holds the column of the model that contains the y-coordinates of data points.

Calls C++ function: int QtCharts::QVXYModelMapper::yColumn() const.

C++ documentation:

This property holds the column of the model that contains the y-coordinates of data points.

The default value is -1 (invalid mapping).

Access functions:

int yColumn() const
void setYColumn(int yColumn)

Notifier signal:

Methods from Deref<Target = QXYModelMapper>

pub unsafe fn meta_object(&self) -> Ptr<QMetaObject>[src]

Calls C++ function: virtual const QMetaObject* QtCharts::QXYModelMapper::metaObject() const.

pub unsafe fn qt_metacall(
    &self,
    arg1: Call,
    arg2: c_int,
    arg3: *mut *mut c_void
) -> c_int
[src]

Calls C++ function: virtual int QtCharts::QXYModelMapper::qt_metacall(QMetaObject::Call arg1, int arg2, void** arg3).

pub unsafe fn qt_metacast(&self, arg1: *const c_char) -> *mut c_void[src]

Calls C++ function: virtual void* QtCharts::QXYModelMapper::qt_metacast(const char* arg1).

Trait Implementations

impl CppDeletable for QVXYModelMapper[src]

unsafe fn delete(&self)[src]

Calls C++ function: [destructor] void QtCharts::QVXYModelMapper::~QVXYModelMapper().

impl Deref for QVXYModelMapper[src]

type Target = QXYModelMapper

The resulting type after dereferencing.

fn deref(&self) -> &QXYModelMapper[src]

Calls C++ function: QtCharts::QXYModelMapper* static_cast<QtCharts::QXYModelMapper*>(QtCharts::QVXYModelMapper* ptr).

impl DynamicCast<QVXYModelMapper> for QXYModelMapper[src]

unsafe fn dynamic_cast(ptr: Ptr<QXYModelMapper>) -> Ptr<QVXYModelMapper>[src]

Calls C++ function: QtCharts::QVXYModelMapper* dynamic_cast<QtCharts::QVXYModelMapper*>(QtCharts::QXYModelMapper* ptr).

impl DynamicCast<QVXYModelMapper> for QObject[src]

unsafe fn dynamic_cast(ptr: Ptr<QObject>) -> Ptr<QVXYModelMapper>[src]

Calls C++ function: QtCharts::QVXYModelMapper* dynamic_cast<QtCharts::QVXYModelMapper*>(QObject* ptr).

impl StaticDowncast<QVXYModelMapper> for QXYModelMapper[src]

unsafe fn static_downcast(ptr: Ptr<QXYModelMapper>) -> Ptr<QVXYModelMapper>[src]

Calls C++ function: QtCharts::QVXYModelMapper* static_cast<QtCharts::QVXYModelMapper*>(QtCharts::QXYModelMapper* ptr).

impl StaticDowncast<QVXYModelMapper> for QObject[src]

unsafe fn static_downcast(ptr: Ptr<QObject>) -> Ptr<QVXYModelMapper>[src]

Calls C++ function: QtCharts::QVXYModelMapper* static_cast<QtCharts::QVXYModelMapper*>(QObject* ptr).

impl StaticUpcast<QObject> for QVXYModelMapper[src]

unsafe fn static_upcast(ptr: Ptr<QVXYModelMapper>) -> Ptr<QObject>[src]

Calls C++ function: QObject* static_cast<QObject*>(QtCharts::QVXYModelMapper* ptr).

impl StaticUpcast<QXYModelMapper> for QVXYModelMapper[src]

unsafe fn static_upcast(ptr: Ptr<QVXYModelMapper>) -> Ptr<QXYModelMapper>[src]

Calls C++ function: QtCharts::QXYModelMapper* static_cast<QtCharts::QXYModelMapper*>(QtCharts::QVXYModelMapper* ptr).

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T, U> CastInto<U> for T where
    U: CastFrom<T>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> StaticUpcast<T> for T[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.