[][src]Struct qt_charts::QVBarModelMapper

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

C++ class: QtCharts::QVBarModelMapper.

Methods

impl QVBarModelMapper[src]

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

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

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

C++ documentation:

This signal is emitted when the bar 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::QVBarModelMapper::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 first_bar_set_column_changed(&self) -> Signal<()>[src]

This signal is emitted when the first bar set column changes.

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

C++ documentation:

This signal is emitted when the first bar set column changes.

Note: Notifier signal for property firstBarSetColumn.

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

This signal is emitted when the last bar set column changes.

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

C++ documentation:

This signal is emitted when the last bar set column changes.

Note: Notifier signal for property lastBarSetColumn.

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

This signal is emitted when the first row changes.

Returns a built-in Qt signal QtCharts::QVBarModelMapper::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::QVBarModelMapper::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_bar_set_column(&self) -> c_int[src]

This property holds the column of the model that is used as the data source for the first bar set.

Calls C++ function: int QtCharts::QVBarModelMapper::firstBarSetColumn() const.

C++ documentation:

This property holds the column of the model that is used as the data source for the first bar set.

The default value is -1 (invalid mapping).

Access functions:

int firstBarSetColumn() const
void setFirstBarSetColumn(int firstBarSetColumn)

Notifier signal:

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

This property holds the row of the model that contains the first values of the bar sets in the bar series.

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

C++ documentation:

This property holds the row of the model that contains the first values of the bar sets in the bar series.

The minimum and default value is 0.

Access functions:

int firstRow() const
void setFirstRow(int firstRow)

Notifier signal:

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

This property holds the column of the model that is used as the data source for the last bar set.

Calls C++ function: int QtCharts::QVBarModelMapper::lastBarSetColumn() const.

C++ documentation:

This property holds the column of the model that is used as the data source for the last bar set.

The default value is -1 (invalid mapping).

Access functions:

int lastBarSetColumn() const
void setLastBarSetColumn(int lastBarSetColumn)

Notifier signal:

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

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

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

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

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

C++ documentation:

This property holds the data 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<QVBarModelMapper>
[src]

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

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

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

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::QVBarModelMapper::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::QVBarModelMapper::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 the bar series.

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

C++ documentation:

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

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

Access functions:

int rowCount() const
void setRowCount(int rowCount)

Notifier signal:

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

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

Calls C++ function: QtCharts::QAbstractBarSeries* QtCharts::QVBarModelMapper::series() const.

C++ documentation:

This property holds the bar 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:

QAbstractBarSeries *series() const
void setSeries(QAbstractBarSeries *series)

Notifier signal:

pub unsafe fn set_first_bar_set_column(&self, first_bar_set_column: c_int)[src]

This property holds the column of the model that is used as the data source for the first bar set.

Calls C++ function: void QtCharts::QVBarModelMapper::setFirstBarSetColumn(int firstBarSetColumn).

C++ documentation:

This property holds the column of the model that is used as the data source for the first bar set.

The default value is -1 (invalid mapping).

Access functions:

int firstBarSetColumn() const
void setFirstBarSetColumn(int firstBarSetColumn)

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 first values of the bar sets in the bar series.

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

C++ documentation:

This property holds the row of the model that contains the first values of the bar sets in the bar series.

The minimum and default value is 0.

Access functions:

int firstRow() const
void setFirstRow(int firstRow)

Notifier signal:

pub unsafe fn set_last_bar_set_column(&self, last_bar_set_column: c_int)[src]

This property holds the column of the model that is used as the data source for the last bar set.

Calls C++ function: void QtCharts::QVBarModelMapper::setLastBarSetColumn(int lastBarSetColumn).

C++ documentation:

This property holds the column of the model that is used as the data source for the last bar set.

The default value is -1 (invalid mapping).

Access functions:

int lastBarSetColumn() const
void setLastBarSetColumn(int lastBarSetColumn)

Notifier signal:

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

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

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

C++ documentation:

This property holds the data 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 the bar series.

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

C++ documentation:

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

The minimum and default value is -1 (number limited to 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<QAbstractBarSeries>>)[src]

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

Calls C++ function: void QtCharts::QVBarModelMapper::setSeries(QtCharts::QAbstractBarSeries* series).

C++ documentation:

This property holds the bar 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:

QAbstractBarSeries *series() const
void setSeries(QAbstractBarSeries *series)

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::QVBarModelMapper::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::QVBarModelMapper::trUtf8(const char* s, const char* c, int n).

Methods from Deref<Target = QBarModelMapper>

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

Calls C++ function: virtual const QMetaObject* QtCharts::QBarModelMapper::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::QBarModelMapper::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::QBarModelMapper::qt_metacast(const char* arg1).

Trait Implementations

impl CppDeletable for QVBarModelMapper[src]

unsafe fn delete(&self)[src]

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

impl Deref for QVBarModelMapper[src]

type Target = QBarModelMapper

The resulting type after dereferencing.

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

Calls C++ function: QtCharts::QBarModelMapper* static_cast<QtCharts::QBarModelMapper*>(QtCharts::QVBarModelMapper* ptr).

impl DynamicCast<QVBarModelMapper> for QBarModelMapper[src]

unsafe fn dynamic_cast(ptr: Ptr<QBarModelMapper>) -> Ptr<QVBarModelMapper>[src]

Calls C++ function: QtCharts::QVBarModelMapper* dynamic_cast<QtCharts::QVBarModelMapper*>(QtCharts::QBarModelMapper* ptr).

impl DynamicCast<QVBarModelMapper> for QObject[src]

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

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

impl StaticDowncast<QVBarModelMapper> for QBarModelMapper[src]

unsafe fn static_downcast(ptr: Ptr<QBarModelMapper>) -> Ptr<QVBarModelMapper>[src]

Calls C++ function: QtCharts::QVBarModelMapper* static_cast<QtCharts::QVBarModelMapper*>(QtCharts::QBarModelMapper* ptr).

impl StaticDowncast<QVBarModelMapper> for QObject[src]

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

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

impl StaticUpcast<QBarModelMapper> for QVBarModelMapper[src]

unsafe fn static_upcast(ptr: Ptr<QVBarModelMapper>) -> Ptr<QBarModelMapper>[src]

Calls C++ function: QtCharts::QBarModelMapper* static_cast<QtCharts::QBarModelMapper*>(QtCharts::QVBarModelMapper* ptr).

impl StaticUpcast<QObject> for QVBarModelMapper[src]

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

Calls C++ function: QObject* static_cast<QObject*>(QtCharts::QVBarModelMapper* 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.