[−][src]Struct qt_charts::QVXYModelMapper
C++ class: QtCharts::QVXYModelMapper
.
Methods
impl QVXYModelMapper
[src]
pub fn series_replaced(&self) -> Signal<()>
[src]
This signal is emitted when the series that the mapper is connected to changes.
Returns a built-in Qt signal QtCharts::QVXYModelMapper::seriesReplaced
that can be passed to qt_core::Signal::connect
.
This signal is emitted when the series that the mapper is connected to changes.
Note: Notifier signal for property series.
pub fn model_replaced(&self) -> Signal<()>
[src]
This signal is emitted when the model that the mapper is connected to changes.
Returns a built-in Qt signal QtCharts::QVXYModelMapper::modelReplaced
that can be passed to qt_core::Signal::connect
.
This signal is emitted when the model that the mapper is connected to changes.
Note: Notifier signal for property model.
pub fn x_column_changed(&self) -> Signal<()>
[src]
This signal is emitted when the column that contains the x-coordinates of data points changes.
Returns a built-in Qt signal QtCharts::QVXYModelMapper::xColumnChanged
that can be passed to qt_core::Signal::connect
.
This signal is emitted when the column that contains the x-coordinates of data points changes.
Note: Notifier signal for property xColumn.
pub fn y_column_changed(&self) -> Signal<()>
[src]
This signal is emitted when the column that contains the y-coordinates of data points changes.
Returns a built-in Qt signal QtCharts::QVXYModelMapper::yColumnChanged
that can be passed to qt_core::Signal::connect
.
This signal is emitted when the column that contains the y-coordinates of data points changes.
Note: Notifier signal for property yColumn.
pub fn first_row_changed(&self) -> Signal<()>
[src]
This signal is emitted when the first row changes.
Returns a built-in Qt signal QtCharts::QVXYModelMapper::firstRowChanged
that can be passed to qt_core::Signal::connect
.
This signal is emitted when the first row changes.
Note: Notifier signal for property firstRow.
pub fn row_count_changed(&self) -> Signal<()>
[src]
This signal is emitted when the number of rows changes.
Returns a built-in Qt signal QtCharts::QVXYModelMapper::rowCountChanged
that can be passed to qt_core::Signal::connect
.
This signal is emitted when the number of rows changes.
Note: Notifier signal for property rowCount.
pub unsafe fn first_row(&self) -> c_int
[src]
This property holds the row of the model that contains the data for the first point of the series.
Calls C++ function: int QtCharts::QVXYModelMapper::firstRow() const
.
This property holds the row of the model that contains the data for the first point of the series.
The minimum and default value is 0.
Access functions:
int | firstRow() const |
void | setFirstRow(int firstRow) |
Notifier signal:
void | firstRowChanged() |
pub unsafe fn meta_object(&self) -> Ptr<QMetaObject>
[src]
Calls C++ function: virtual const QMetaObject* QtCharts::QVXYModelMapper::metaObject() const
.
pub unsafe fn model(&self) -> QPtr<QAbstractItemModel>
[src]
This property holds the model that is used by the mapper.
Calls C++ function: QAbstractItemModel* QtCharts::QVXYModelMapper::model() const
.
This property holds the model that is used by the mapper.
Access functions:
QAbstractItemModel * | model() const |
void | setModel(QAbstractItemModel *model) |
Notifier signal:
void | modelReplaced() |
pub unsafe fn new_1a(
parent: impl CastInto<Ptr<QObject>>
) -> QBox<QVXYModelMapper>
[src]
parent: impl CastInto<Ptr<QObject>>
) -> QBox<QVXYModelMapper>
Calls C++ function: [constructor] void QtCharts::QVXYModelMapper::QVXYModelMapper(QObject* parent = …)
.
pub unsafe fn new_0a() -> QBox<QVXYModelMapper>
[src]
Calls C++ function: [constructor] void QtCharts::QVXYModelMapper::QVXYModelMapper()
.
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::QVXYModelMapper::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::QVXYModelMapper::qt_metacast(const char* arg1)
.
pub unsafe fn row_count(&self) -> c_int
[src]
This property holds the number of rows of the model that are mapped as the data for series.
Calls C++ function: int QtCharts::QVXYModelMapper::rowCount() const
.
This property holds the number of rows of the model that are mapped as the data for series.
The minimum and default value is -1 (the number is limited by the number of rows in the model).
Access functions:
int | rowCount() const |
void | setRowCount(int rowCount) |
Notifier signal:
void | rowCountChanged() |
pub unsafe fn series(&self) -> QPtr<QXYSeries>
[src]
This property holds the series that is used by the mapper.
Calls C++ function: QtCharts::QXYSeries* QtCharts::QVXYModelMapper::series() const
.
This property holds the series that is used by the mapper.
All the data in the series is discarded when it is set to the mapper. When a new series is specified, the old series is disconnected (but it preserves its data).
Access functions:
QXYSeries * | series() const |
void | setSeries(QXYSeries *series) |
Notifier signal:
void | seriesReplaced() |
pub unsafe fn set_first_row(&self, first_row: c_int)
[src]
This property holds the row of the model that contains the data for the first point of the series.
Calls C++ function: void QtCharts::QVXYModelMapper::setFirstRow(int firstRow)
.
This property holds the row of the model that contains the data for the first point of the series.
The minimum and default value is 0.
Access functions:
int | firstRow() const |
void | setFirstRow(int firstRow) |
Notifier signal:
void | firstRowChanged() |
pub unsafe fn set_model(&self, model: impl CastInto<Ptr<QAbstractItemModel>>)
[src]
This property holds the model that is used by the mapper.
Calls C++ function: void QtCharts::QVXYModelMapper::setModel(QAbstractItemModel* model)
.
This property holds 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_row_count(&self, row_count: c_int)
[src]
This property holds the number of rows of the model that are mapped as the data for series.
Calls C++ function: void QtCharts::QVXYModelMapper::setRowCount(int rowCount)
.
This property holds the number of rows of the model that are mapped as the data for series.
The minimum and default value is -1 (the number is limited by the number of rows in the model).
Access functions:
int | rowCount() const |
void | setRowCount(int rowCount) |
Notifier signal:
void | rowCountChanged() |
pub unsafe fn set_series(&self, series: impl CastInto<Ptr<QXYSeries>>)
[src]
This property holds the series that is used by the mapper.
Calls C++ function: void QtCharts::QVXYModelMapper::setSeries(QtCharts::QXYSeries* series)
.
This property holds the series that is used by the mapper.
All the data in the series is discarded when it is set to the mapper. When a new series is specified, the old series is disconnected (but it preserves its data).
Access functions:
QXYSeries * | series() const |
void | setSeries(QXYSeries *series) |
Notifier signal:
void | seriesReplaced() |
pub unsafe fn set_x_column(&self, x_column: c_int)
[src]
This property holds the column of the model that contains the x-coordinates of data points.
Calls C++ function: void QtCharts::QVXYModelMapper::setXColumn(int xColumn)
.
This property holds the column of the model that contains the x-coordinates of data points.
The default value is -1 (invalid mapping).
Access functions:
int | xColumn() const |
void | setXColumn(int xColumn) |
Notifier signal:
void | xColumnChanged() |
pub unsafe fn set_y_column(&self, y_column: c_int)
[src]
This property holds the column of the model that contains the y-coordinates of data points.
Calls C++ function: void QtCharts::QVXYModelMapper::setYColumn(int yColumn)
.
This property holds the column of the model that contains the y-coordinates of data points.
The default value is -1 (invalid mapping).
Access functions:
int | yColumn() const |
void | setYColumn(int yColumn) |
Notifier signal:
void | yColumnChanged() |
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]
s: *const c_char,
c: *const c_char,
n: c_int
) -> CppBox<QString>
Calls C++ function: static QString QtCharts::QVXYModelMapper::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::QVXYModelMapper::trUtf8(const char* s, const char* c, int n)
.
pub unsafe fn x_column(&self) -> c_int
[src]
This property holds the column of the model that contains the x-coordinates of data points.
Calls C++ function: int QtCharts::QVXYModelMapper::xColumn() const
.
This property holds the column of the model that contains the x-coordinates of data points.
The default value is -1 (invalid mapping).
Access functions:
int | xColumn() const |
void | setXColumn(int xColumn) |
Notifier signal:
void | xColumnChanged() |
pub unsafe fn y_column(&self) -> c_int
[src]
This property holds the column of the model that contains the y-coordinates of data points.
Calls C++ function: int QtCharts::QVXYModelMapper::yColumn() const
.
This property holds the column of the model that contains the y-coordinates of data points.
The default value is -1 (invalid mapping).
Access functions:
int | yColumn() const |
void | setYColumn(int yColumn) |
Notifier signal:
void | yColumnChanged() |
Methods from Deref<Target = QXYModelMapper>
pub unsafe fn meta_object(&self) -> Ptr<QMetaObject>
[src]
Calls C++ function: virtual const QMetaObject* QtCharts::QXYModelMapper::metaObject() const
.
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::QXYModelMapper::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::QXYModelMapper::qt_metacast(const char* arg1)
.
Trait Implementations
impl CppDeletable for QVXYModelMapper
[src]
unsafe fn delete(&self)
[src]
Calls C++ function: [destructor] void QtCharts::QVXYModelMapper::~QVXYModelMapper()
.
impl Deref for QVXYModelMapper
[src]
type Target = QXYModelMapper
The resulting type after dereferencing.
fn deref(&self) -> &QXYModelMapper
[src]
Calls C++ function: QtCharts::QXYModelMapper* static_cast<QtCharts::QXYModelMapper*>(QtCharts::QVXYModelMapper* ptr)
.
impl DynamicCast<QVXYModelMapper> for QXYModelMapper
[src]
unsafe fn dynamic_cast(ptr: Ptr<QXYModelMapper>) -> Ptr<QVXYModelMapper>
[src]
Calls C++ function: QtCharts::QVXYModelMapper* dynamic_cast<QtCharts::QVXYModelMapper*>(QtCharts::QXYModelMapper* ptr)
.
impl DynamicCast<QVXYModelMapper> for QObject
[src]
unsafe fn dynamic_cast(ptr: Ptr<QObject>) -> Ptr<QVXYModelMapper>
[src]
Calls C++ function: QtCharts::QVXYModelMapper* dynamic_cast<QtCharts::QVXYModelMapper*>(QObject* ptr)
.
impl StaticDowncast<QVXYModelMapper> for QXYModelMapper
[src]
unsafe fn static_downcast(ptr: Ptr<QXYModelMapper>) -> Ptr<QVXYModelMapper>
[src]
Calls C++ function: QtCharts::QVXYModelMapper* static_cast<QtCharts::QVXYModelMapper*>(QtCharts::QXYModelMapper* ptr)
.
impl StaticDowncast<QVXYModelMapper> for QObject
[src]
unsafe fn static_downcast(ptr: Ptr<QObject>) -> Ptr<QVXYModelMapper>
[src]
Calls C++ function: QtCharts::QVXYModelMapper* static_cast<QtCharts::QVXYModelMapper*>(QObject* ptr)
.
impl StaticUpcast<QObject> for QVXYModelMapper
[src]
unsafe fn static_upcast(ptr: Ptr<QVXYModelMapper>) -> Ptr<QObject>
[src]
Calls C++ function: QObject* static_cast<QObject*>(QtCharts::QVXYModelMapper* ptr)
.
impl StaticUpcast<QXYModelMapper> for QVXYModelMapper
[src]
unsafe fn static_upcast(ptr: Ptr<QVXYModelMapper>) -> Ptr<QXYModelMapper>
[src]
Calls C++ function: QtCharts::QXYModelMapper* static_cast<QtCharts::QXYModelMapper*>(QtCharts::QVXYModelMapper* ptr)
.
Auto Trait Implementations
impl RefUnwindSafe for QVXYModelMapper
impl Send for QVXYModelMapper
impl Sync for QVXYModelMapper
impl Unpin for QVXYModelMapper
impl UnwindSafe for QVXYModelMapper
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>,