[−][src]Struct qt_charts::QHCandlestickModelMapper
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
.
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
.
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
.
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
.
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
.
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
.
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
.
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
.
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:
void | closeColumnChanged() |
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
.
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:
void | firstSetRowChanged() |
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
.
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:
void | highColumnChanged() |
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
.
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:
void | lastSetRowChanged() |
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
.
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:
void | lowColumnChanged() |
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]
parent: impl CastInto<Ptr<QObject>>
) -> QBox<QHCandlestickModelMapper>
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
.
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:
void | openColumnChanged() |
pub unsafe fn orientation(&self) -> Orientation
[src]
Reimplements: QCandlestickModelMapper::orientation() const.
Calls C++ function: virtual Qt::Orientation QtCharts::QHCandlestickModelMapper::orientation() const
.
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]
&self,
arg1: Call,
arg2: c_int,
arg3: *mut *mut c_void
) -> c_int
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)
.
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:
void | closeColumnChanged() |
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)
.
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:
void | firstSetRowChanged() |
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)
.
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:
void | highColumnChanged() |
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)
.
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:
void | lastSetRowChanged() |
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)
.
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:
void | lowColumnChanged() |
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)
.
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:
void | openColumnChanged() |
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)
.
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:
void | timestampColumnChanged() |
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
.
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:
void | timestampColumnChanged() |
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::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]
s: *const c_char,
c: *const c_char,
n: c_int
) -> CppBox<QString>
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
.
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 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]
ptr: Ptr<QCandlestickModelMapper>
) -> Ptr<QHCandlestickModelMapper>
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]
ptr: Ptr<QCandlestickModelMapper>
) -> Ptr<QHCandlestickModelMapper>
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]
ptr: Ptr<QHCandlestickModelMapper>
) -> Ptr<QCandlestickModelMapper>
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
impl RefUnwindSafe for QHCandlestickModelMapper
impl Send for QHCandlestickModelMapper
impl Sync for QHCandlestickModelMapper
impl Unpin for QHCandlestickModelMapper
impl UnwindSafe for QHCandlestickModelMapper
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>,