[−][src]Struct qt_charts::QVCandlestickModelMapper
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
.
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
.
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
.
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
.
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
.
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
.
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
.
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
.
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:
void | closeRowChanged() |
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
.
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:
void | firstSetColumnChanged() |
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
.
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:
void | highRowChanged() |
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
.
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:
void | lastSetColumnChanged() |
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
.
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]
parent: impl CastInto<Ptr<QObject>>
) -> QBox<QVCandlestickModelMapper>
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
.
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:
void | openRowChanged() |
pub unsafe fn orientation(&self) -> Orientation
[src]
Reimplements: QCandlestickModelMapper::orientation() const.
Calls C++ function: virtual Qt::Orientation QtCharts::QVCandlestickModelMapper::orientation() const
.
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]
&self,
arg1: Call,
arg2: c_int,
arg3: *mut *mut c_void
) -> c_int
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)
.
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:
void | closeRowChanged() |
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)
.
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:
void | firstSetColumnChanged() |
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)
.
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:
void | highRowChanged() |
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)
.
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:
void | lastSetColumnChanged() |
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)
.
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)
.
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:
void | openRowChanged() |
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)
.
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:
void | timestampRowChanged() |
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
.
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:
void | timestampRowChanged() |
pub unsafe fn tr(
s: *const c_char,
c: *const c_char,
n: c_int
) -> CppBox<QString>
[src]
s: *const c_char,
c: *const c_char,
n: c_int
) -> CppBox<QString>
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]
s: *const c_char,
c: *const c_char,
n: c_int
) -> CppBox<QString>
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
.
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
.
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
.
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
.
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]
&self,
arg1: Call,
arg2: c_int,
arg3: *mut *mut c_void
) -> c_int
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
.
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:
void | seriesReplaced() |
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)
.
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)
.
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:
void | seriesReplaced() |
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]
ptr: Ptr<QCandlestickModelMapper>
) -> Ptr<QVCandlestickModelMapper>
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]
ptr: Ptr<QCandlestickModelMapper>
) -> Ptr<QVCandlestickModelMapper>
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]
ptr: Ptr<QVCandlestickModelMapper>
) -> Ptr<QCandlestickModelMapper>
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
impl RefUnwindSafe for QVCandlestickModelMapper
impl Send for QVCandlestickModelMapper
impl Sync for QVCandlestickModelMapper
impl Unpin for QVCandlestickModelMapper
impl UnwindSafe for QVCandlestickModelMapper
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T, U> CastInto<U> for T where
U: CastFrom<T>,
[src]
U: CastFrom<T>,
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> StaticUpcast<T> for T
[src]
unsafe fn static_upcast(ptr: Ptr<T>) -> Ptr<T>
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,