[][src]Struct qt_charts::QCandlestickModelMapper

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

C++ class: QtCharts::QCandlestickModelMapper.

Methods

impl QCandlestickModelMapper[src]

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

Emitted when the model, to which the mapper is connected, has changed.

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

C++ documentation:

Emitted when the model, to which the mapper is connected, has changed.

Note: Notifier signal for property model.

See also model.

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

Emitted when the series to which mapper is connected to has changed.

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

C++ documentation:

Emitted when the series to which mapper is connected to has changed.

Note: Notifier signal for property series.

See also series.

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

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

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

Defines the model that is used by the mapper.

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

C++ documentation:

Defines the model that is used by the mapper.

Access functions:

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

Notifier signal:

void modelReplaced()

pub unsafe fn orientation(&self) -> Orientation[src]

Returns the orientation that is used when QCandlestickModelMapper accesses the model. This determines whether the consecutive values of the set are read from rows (Qt::Horizontal) or from columns (Qt::Vertical).

Calls C++ function: pure virtual Qt::Orientation QtCharts::QCandlestickModelMapper::orientation() const.

C++ documentation:

Returns the orientation that is used when QCandlestickModelMapper accesses the model. This determines whether the consecutive values of the set are read from rows (Qt::Horizontal) or from columns (Qt::Vertical).

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::QCandlestickModelMapper::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::QCandlestickModelMapper::qt_metacast(const char* arg1).

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

Defines the QCandlestickSeries object that is used by the mapper.

Calls C++ function: QtCharts::QCandlestickSeries* QtCharts::QCandlestickModelMapper::series() const.

C++ documentation:

Defines the QCandlestickSeries object that is used by the mapper.

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

Access functions:

QCandlestickSeries *series() const
void setSeries(QCandlestickSeries *series)

Notifier signal:

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

Defines the model that is used by the mapper.

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

C++ documentation:

Defines 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_series(&self, series: impl CastInto<Ptr<QCandlestickSeries>>)[src]

Defines the QCandlestickSeries object that is used by the mapper.

Calls C++ function: void QtCharts::QCandlestickModelMapper::setSeries(QtCharts::QCandlestickSeries* series).

C++ documentation:

Defines the QCandlestickSeries object that is used by the mapper.

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

Access functions:

QCandlestickSeries *series() const
void setSeries(QCandlestickSeries *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::QCandlestickModelMapper::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::QCandlestickModelMapper::trUtf8(const char* s, const char* c, int n).

Trait Implementations

impl CppDeletable for QCandlestickModelMapper[src]

unsafe fn delete(&self)[src]

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

impl Deref for QCandlestickModelMapper[src]

type Target = QObject

The resulting type after dereferencing.

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

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

impl DynamicCast<QCandlestickModelMapper> for QObject[src]

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

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

impl DynamicCast<QHCandlestickModelMapper> for QCandlestickModelMapper[src]

unsafe fn dynamic_cast(
    ptr: Ptr<QCandlestickModelMapper>
) -> Ptr<QHCandlestickModelMapper>
[src]

Calls C++ function: QtCharts::QHCandlestickModelMapper* dynamic_cast<QtCharts::QHCandlestickModelMapper*>(QtCharts::QCandlestickModelMapper* ptr).

impl DynamicCast<QVCandlestickModelMapper> for QCandlestickModelMapper[src]

unsafe fn dynamic_cast(
    ptr: Ptr<QCandlestickModelMapper>
) -> Ptr<QVCandlestickModelMapper>
[src]

Calls C++ function: QtCharts::QVCandlestickModelMapper* dynamic_cast<QtCharts::QVCandlestickModelMapper*>(QtCharts::QCandlestickModelMapper* ptr).

impl StaticDowncast<QCandlestickModelMapper> for QObject[src]

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

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

impl StaticDowncast<QHCandlestickModelMapper> for QCandlestickModelMapper[src]

unsafe fn static_downcast(
    ptr: Ptr<QCandlestickModelMapper>
) -> Ptr<QHCandlestickModelMapper>
[src]

Calls C++ function: QtCharts::QHCandlestickModelMapper* static_cast<QtCharts::QHCandlestickModelMapper*>(QtCharts::QCandlestickModelMapper* ptr).

impl StaticDowncast<QVCandlestickModelMapper> for QCandlestickModelMapper[src]

unsafe fn static_downcast(
    ptr: Ptr<QCandlestickModelMapper>
) -> Ptr<QVCandlestickModelMapper>
[src]

Calls C++ function: QtCharts::QVCandlestickModelMapper* static_cast<QtCharts::QVCandlestickModelMapper*>(QtCharts::QCandlestickModelMapper* ptr).

impl StaticUpcast<QCandlestickModelMapper> for QHCandlestickModelMapper[src]

unsafe fn static_upcast(
    ptr: Ptr<QHCandlestickModelMapper>
) -> Ptr<QCandlestickModelMapper>
[src]

Calls C++ function: QtCharts::QCandlestickModelMapper* static_cast<QtCharts::QCandlestickModelMapper*>(QtCharts::QHCandlestickModelMapper* ptr).

impl StaticUpcast<QCandlestickModelMapper> for QVCandlestickModelMapper[src]

unsafe fn static_upcast(
    ptr: Ptr<QVCandlestickModelMapper>
) -> Ptr<QCandlestickModelMapper>
[src]

Calls C++ function: QtCharts::QCandlestickModelMapper* static_cast<QtCharts::QCandlestickModelMapper*>(QtCharts::QVCandlestickModelMapper* ptr).

impl StaticUpcast<QObject> for QCandlestickModelMapper[src]

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

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