[][src]Struct qt_charts::QHCandlestickModelMapper

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

C++ class: QtCharts::QHCandlestickModelMapper.

Methods

impl QHCandlestickModelMapper[src]

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

Emitted when the column of the model that contains timestamp values is changed

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

C++ documentation:

Emitted when the column of the model that contains timestamp values is changed

Note: Notifier signal for property timestampColumn.

See also timestampColumn.

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

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

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

C++ documentation:

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

Note: Notifier signal for property openColumn.

See also openColumn.

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

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

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

C++ documentation:

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

Note: Notifier signal for property highColumn.

See also highColumn.

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

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

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

C++ documentation:

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

Note: Notifier signal for property lowColumn.

See also lowColumn.

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

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

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

C++ documentation:

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

Note: Notifier signal for property closeColumn.

See also closeColumn.

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

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

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

C++ documentation:

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

Note: Notifier signal for property firstSetRow.

See also firstSetRow.

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

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

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

C++ documentation:

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

Note: Notifier signal for property lastSetRow.

See also lastSetRow.

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

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

Calls C++ function: int QtCharts::QHCandlestickModelMapper::closeColumn() const.

C++ documentation:

This property holds the column 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 closeColumn() const
void setCloseColumn(int closeColumn)

Notifier signal:

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

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

Calls C++ function: int QtCharts::QHCandlestickModelMapper::firstSetRow() const.

C++ documentation:

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

The default value is -1 (invalid mapping).

Access functions:

int firstSetRow() const
void setFirstSetRow(int firstSetRow)

Notifier signal:

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

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

Calls C++ function: int QtCharts::QHCandlestickModelMapper::highColumn() const.

C++ documentation:

This property holds the column 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 highColumn() const
void setHighColumn(int highColumn)

Notifier signal:

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

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

Calls C++ function: int QtCharts::QHCandlestickModelMapper::lastSetRow() const.

C++ documentation:

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

The default value is -1 (invalid mapping).

Access functions:

int lastSetRow() const
void setLastSetRow(int lastSetRow)

Notifier signal:

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

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

Calls C++ function: int QtCharts::QHCandlestickModelMapper::lowColumn() const.

C++ documentation:

This property holds the column 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 lowColumn() const
void setLowColumn(int lowColumn)

Notifier signal:

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

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

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

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

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

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

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

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

Calls C++ function: int QtCharts::QHCandlestickModelMapper::openColumn() const.

C++ documentation:

This property holds the column 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 openColumn() const
void setOpenColumn(int openColumn)

Notifier signal:

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

Reimplements: QCandlestickModelMapper::orientation() const.

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

C++ documentation:

Reimplements: QCandlestickModelMapper::orientation() const.

Returns Qt::Horizontal. This means that values of the item are read from rows.

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

pub unsafe fn set_close_column(&self, close_column: c_int)[src]

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

Calls C++ function: void QtCharts::QHCandlestickModelMapper::setCloseColumn(int closeColumn).

C++ documentation:

This property holds the column 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 closeColumn() const
void setCloseColumn(int closeColumn)

Notifier signal:

pub unsafe fn set_first_set_row(&self, first_set_row: c_int)[src]

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

Calls C++ function: void QtCharts::QHCandlestickModelMapper::setFirstSetRow(int firstSetRow).

C++ documentation:

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

The default value is -1 (invalid mapping).

Access functions:

int firstSetRow() const
void setFirstSetRow(int firstSetRow)

Notifier signal:

pub unsafe fn set_high_column(&self, high_column: c_int)[src]

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

Calls C++ function: void QtCharts::QHCandlestickModelMapper::setHighColumn(int highColumn).

C++ documentation:

This property holds the column 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 highColumn() const
void setHighColumn(int highColumn)

Notifier signal:

pub unsafe fn set_last_set_row(&self, last_set_row: c_int)[src]

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

Calls C++ function: void QtCharts::QHCandlestickModelMapper::setLastSetRow(int lastSetRow).

C++ documentation:

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

The default value is -1 (invalid mapping).

Access functions:

int lastSetRow() const
void setLastSetRow(int lastSetRow)

Notifier signal:

pub unsafe fn set_low_column(&self, low_column: c_int)[src]

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

Calls C++ function: void QtCharts::QHCandlestickModelMapper::setLowColumn(int lowColumn).

C++ documentation:

This property holds the column 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 lowColumn() const
void setLowColumn(int lowColumn)

Notifier signal:

pub unsafe fn set_open_column(&self, open_column: c_int)[src]

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

Calls C++ function: void QtCharts::QHCandlestickModelMapper::setOpenColumn(int openColumn).

C++ documentation:

This property holds the column 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 openColumn() const
void setOpenColumn(int openColumn)

Notifier signal:

pub unsafe fn set_timestamp_column(&self, timestamp_column: c_int)[src]

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

Calls C++ function: void QtCharts::QHCandlestickModelMapper::setTimestampColumn(int timestampColumn).

C++ documentation:

This property holds the column 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 timestampColumn() const
void setTimestampColumn(int timestampColumn)

Notifier signal:

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

Returns a reference to the staticMetaObject field.

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

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

Calls C++ function: int QtCharts::QHCandlestickModelMapper::timestampColumn() const.

C++ documentation:

This property holds the column 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 timestampColumn() const
void setTimestampColumn(int timestampColumn)

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::QHCandlestickModelMapper::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::QHCandlestickModelMapper::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 QHCandlestickModelMapper[src]

unsafe fn delete(&self)[src]

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

impl Deref for QHCandlestickModelMapper[src]

type Target = QCandlestickModelMapper

The resulting type after dereferencing.

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

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

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

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

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

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

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

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