[][src]Struct qt_charts::QVCandlestickModelMapper

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

C++ class: QtCharts::QVCandlestickModelMapper.

Methods

impl QVCandlestickModelMapper[src]

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

Emitted when the row of the model that contains timestamp values is changed.

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

C++ documentation:

Emitted when the row of the model that contains timestamp values is changed.

Note: Notifier signal for property timestampRow.

See also timestampRow.

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

Emitted when the row of the model that contains open values is changed.

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

C++ documentation:

Emitted when the row of the model that contains open values is changed.

Note: Notifier signal for property openRow.

See also openRow.

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

Emitted when the row of the model that contains high values is changed.

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

C++ documentation:

Emitted when the row of the model that contains high values is changed.

Note: Notifier signal for property highRow.

See also highRow.

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

Emitted when the row of the model that contains low values is changed.

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

C++ documentation:

Emitted when the row of the model that contains low values is changed.

Note: Notifier signal for property lowRow.

See also lowRow.

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

Emitted when the row of the model that contains close values is changed.

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

C++ documentation:

Emitted when the row of the model that contains close values is changed.

Note: Notifier signal for property closeRow.

See also closeRow.

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

Emitted when the column of the model that contains the data of the first item is changed.

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

C++ documentation:

Emitted when the column of the model that contains the data of the first item is changed.

Note: Notifier signal for property firstSetColumn.

See also firstSetColumn.

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

Emitted when the column of the model that contains the data of the last item is changed.

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

C++ documentation:

Emitted when the column of the model that contains the data of the last item is changed.

Note: Notifier signal for property lastSetColumn.

See also lastSetColumn.

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

This property holds the row of the model that contains the close values of the candlestick items in the series.

Calls C++ function: int QtCharts::QVCandlestickModelMapper::closeRow() const.

C++ documentation:

This property holds the row of the model that contains the close values of the candlestick items in the series.

The default value is -1 (invalid mapping).

Access functions:

int closeRow() const
void setCloseRow(int closeRow)

Notifier signal:

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

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

Calls C++ function: int QtCharts::QVCandlestickModelMapper::firstSetColumn() const.

C++ documentation:

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

The default value is -1 (invalid mapping).

Access functions:

int firstSetColumn() const
void setFirstSetColumn(int firstSetColumn)

Notifier signal:

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

This property holds the row of the model that contains the high values of the candlestick items in the series.

Calls C++ function: int QtCharts::QVCandlestickModelMapper::highRow() const.

C++ documentation:

This property holds the row of the model that contains the high values of the candlestick items in the series.

The default value is -1 (invalid mapping).

Access functions:

int highRow() const
void setHighRow(int highRow)

Notifier signal:

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

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

Calls C++ function: int QtCharts::QVCandlestickModelMapper::lastSetColumn() const.

C++ documentation:

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

The default value is -1 (invalid mapping).

Access functions:

int lastSetColumn() const
void setLastSetColumn(int lastSetColumn)

Notifier signal:

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

This property holds the row of the model that contains the low values of the candlestick items in the series.

Calls C++ function: int QtCharts::QVCandlestickModelMapper::lowRow() const.

C++ documentation:

This property holds the row of the model that contains the low values of the candlestick items in the series.

The default value is -1 (invalid mapping).

Access functions:

int lowRow() const
void setLowRow(int lowRow)

Notifier signal:

void lowRowChanged()

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

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

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

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

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

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

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

This property holds the row of the model that contains the open values of the candlestick items in the series.

Calls C++ function: int QtCharts::QVCandlestickModelMapper::openRow() const.

C++ documentation:

This property holds the row of the model that contains the open values of the candlestick items in the series.

The default value is -1 (invalid mapping).

Access functions:

int openRow() const
void setOpenRow(int openRow)

Notifier signal:

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

Reimplements: QCandlestickModelMapper::orientation() const.

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

C++ documentation:

Reimplements: QCandlestickModelMapper::orientation() const.

Returns Qt::Vertical. This means that values of the item are read from columns.

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

pub unsafe fn set_close_row(&self, close_row: c_int)[src]

This property holds the row of the model that contains the close values of the candlestick items in the series.

Calls C++ function: void QtCharts::QVCandlestickModelMapper::setCloseRow(int closeRow).

C++ documentation:

This property holds the row of the model that contains the close values of the candlestick items in the series.

The default value is -1 (invalid mapping).

Access functions:

int closeRow() const
void setCloseRow(int closeRow)

Notifier signal:

pub unsafe fn set_first_set_column(&self, first_set_column: c_int)[src]

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

Calls C++ function: void QtCharts::QVCandlestickModelMapper::setFirstSetColumn(int firstSetColumn).

C++ documentation:

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

The default value is -1 (invalid mapping).

Access functions:

int firstSetColumn() const
void setFirstSetColumn(int firstSetColumn)

Notifier signal:

pub unsafe fn set_high_row(&self, high_row: c_int)[src]

This property holds the row of the model that contains the high values of the candlestick items in the series.

Calls C++ function: void QtCharts::QVCandlestickModelMapper::setHighRow(int highRow).

C++ documentation:

This property holds the row of the model that contains the high values of the candlestick items in the series.

The default value is -1 (invalid mapping).

Access functions:

int highRow() const
void setHighRow(int highRow)

Notifier signal:

pub unsafe fn set_last_set_column(&self, last_set_column: c_int)[src]

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

Calls C++ function: void QtCharts::QVCandlestickModelMapper::setLastSetColumn(int lastSetColumn).

C++ documentation:

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

The default value is -1 (invalid mapping).

Access functions:

int lastSetColumn() const
void setLastSetColumn(int lastSetColumn)

Notifier signal:

pub unsafe fn set_low_row(&self, low_row: c_int)[src]

This property holds the row of the model that contains the low values of the candlestick items in the series.

Calls C++ function: void QtCharts::QVCandlestickModelMapper::setLowRow(int lowRow).

C++ documentation:

This property holds the row of the model that contains the low values of the candlestick items in the series.

The default value is -1 (invalid mapping).

Access functions:

int lowRow() const
void setLowRow(int lowRow)

Notifier signal:

void lowRowChanged()

pub unsafe fn set_open_row(&self, open_row: c_int)[src]

This property holds the row of the model that contains the open values of the candlestick items in the series.

Calls C++ function: void QtCharts::QVCandlestickModelMapper::setOpenRow(int openRow).

C++ documentation:

This property holds the row of the model that contains the open values of the candlestick items in the series.

The default value is -1 (invalid mapping).

Access functions:

int openRow() const
void setOpenRow(int openRow)

Notifier signal:

pub unsafe fn set_timestamp_row(&self, timestamp_row: c_int)[src]

This property holds the row of the model that contains the timestamp values of the candlestick items in the series.

Calls C++ function: void QtCharts::QVCandlestickModelMapper::setTimestampRow(int timestampRow).

C++ documentation:

This property holds the row of the model that contains the timestamp values of the candlestick items in the series.

The default value is -1 (invalid mapping).

Access functions:

int timestampRow() const
void setTimestampRow(int timestampRow)

Notifier signal:

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

Returns a reference to the staticMetaObject field.

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

This property holds the row of the model that contains the timestamp values of the candlestick items in the series.

Calls C++ function: int QtCharts::QVCandlestickModelMapper::timestampRow() const.

C++ documentation:

This property holds the row of the model that contains the timestamp values of the candlestick items in the series.

The default value is -1 (invalid mapping).

Access functions:

int timestampRow() const
void setTimestampRow(int timestampRow)

Notifier signal:

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

Calls C++ function: static QString QtCharts::QVCandlestickModelMapper::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::QVCandlestickModelMapper::trUtf8(const char* s, const char* c, int n).

Methods from Deref<Target = QCandlestickModelMapper>

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:

Trait Implementations

impl CppDeletable for QVCandlestickModelMapper[src]

unsafe fn delete(&self)[src]

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

impl Deref for QVCandlestickModelMapper[src]

type Target = QCandlestickModelMapper

The resulting type after dereferencing.

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

Calls C++ function: QtCharts::QCandlestickModelMapper* static_cast<QtCharts::QCandlestickModelMapper*>(QtCharts::QVCandlestickModelMapper* 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 DynamicCast<QVCandlestickModelMapper> for QObject[src]

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

Calls C++ function: QtCharts::QVCandlestickModelMapper* dynamic_cast<QtCharts::QVCandlestickModelMapper*>(QObject* 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 StaticDowncast<QVCandlestickModelMapper> for QObject[src]

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

Calls C++ function: QtCharts::QVCandlestickModelMapper* static_cast<QtCharts::QVCandlestickModelMapper*>(QObject* 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 QVCandlestickModelMapper[src]

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

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