[−][src]Struct qt_charts::QHXYModelMapper
C++ class: QtCharts::QHXYModelMapper
.
Methods
impl QHXYModelMapper
[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::QHXYModelMapper::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::QHXYModelMapper::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_row_changed(&self) -> Signal<()>
[src]
This signal is emitted when the row that contains the x-coordinates of data points changes.
Returns a built-in Qt signal QtCharts::QHXYModelMapper::xRowChanged
that can be passed to qt_core::Signal::connect
.
This signal is emitted when the row that contains the x-coordinates of data points changes.
Note: Notifier signal for property xRow.
pub fn y_row_changed(&self) -> Signal<()>
[src]
This signal is emitted when the row that contains the y-coordinates of data points changes.
Returns a built-in Qt signal QtCharts::QHXYModelMapper::yRowChanged
that can be passed to qt_core::Signal::connect
.
This signal is emitted when the row that contains the y-coordinates of data points changes.
Note: Notifier signal for property yRow.
pub fn first_column_changed(&self) -> Signal<()>
[src]
This signal is emitted when the first column changes.
Returns a built-in Qt signal QtCharts::QHXYModelMapper::firstColumnChanged
that can be passed to qt_core::Signal::connect
.
This signal is emitted when the first column changes.
Note: Notifier signal for property firstColumn.
pub fn column_count_changed(&self) -> Signal<()>
[src]
This signal is emitted when the number of columns changes.
Returns a built-in Qt signal QtCharts::QHXYModelMapper::columnCountChanged
that can be passed to qt_core::Signal::connect
.
This signal is emitted when the number of columns changes.
Note: Notifier signal for property columnCount.
pub unsafe fn column_count(&self) -> c_int
[src]
This property holds the number of columns of the model that are mapped as the data for series.
Calls C++ function: int QtCharts::QHXYModelMapper::columnCount() const
.
This property holds the number of columns 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 columns in the model).
Access functions:
int | columnCount() const |
void | setColumnCount(int columnCount) |
Notifier signal:
void | columnCountChanged() |
pub unsafe fn first_column(&self) -> c_int
[src]
This property holds the column of the model that contains the data for the first point of the series.
Calls C++ function: int QtCharts::QHXYModelMapper::firstColumn() const
.
This property holds the column of the model that contains the data for the first point of the series.
The minimum and default value is 0.
Access functions:
int | firstColumn() const |
void | setFirstColumn(int firstColumn) |
Notifier signal:
void | firstColumnChanged() |
pub unsafe fn meta_object(&self) -> Ptr<QMetaObject>
[src]
Calls C++ function: virtual const QMetaObject* QtCharts::QHXYModelMapper::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::QHXYModelMapper::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<QHXYModelMapper>
[src]
parent: impl CastInto<Ptr<QObject>>
) -> QBox<QHXYModelMapper>
Calls C++ function: [constructor] void QtCharts::QHXYModelMapper::QHXYModelMapper(QObject* parent = …)
.
pub unsafe fn new_0a() -> QBox<QHXYModelMapper>
[src]
Calls C++ function: [constructor] void QtCharts::QHXYModelMapper::QHXYModelMapper()
.
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::QHXYModelMapper::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::QHXYModelMapper::qt_metacast(const char* arg1)
.
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::QHXYModelMapper::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_column_count(&self, column_count: c_int)
[src]
This property holds the number of columns of the model that are mapped as the data for series.
Calls C++ function: void QtCharts::QHXYModelMapper::setColumnCount(int columnCount)
.
This property holds the number of columns 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 columns in the model).
Access functions:
int | columnCount() const |
void | setColumnCount(int columnCount) |
Notifier signal:
void | columnCountChanged() |
pub unsafe fn set_first_column(&self, first_column: c_int)
[src]
This property holds the column of the model that contains the data for the first point of the series.
Calls C++ function: void QtCharts::QHXYModelMapper::setFirstColumn(int firstColumn)
.
This property holds the column of the model that contains the data for the first point of the series.
The minimum and default value is 0.
Access functions:
int | firstColumn() const |
void | setFirstColumn(int firstColumn) |
Notifier signal:
void | firstColumnChanged() |
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::QHXYModelMapper::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_series(&self, series: impl CastInto<Ptr<QXYSeries>>)
[src]
This property holds the series that is used by the mapper.
Calls C++ function: void QtCharts::QHXYModelMapper::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_row(&self, x_row: c_int)
[src]
This property holds the row of the model that contains the x-coordinates of the data points.
Calls C++ function: void QtCharts::QHXYModelMapper::setXRow(int xRow)
.
This property holds the row of the model that contains the x-coordinates of the data points.
The default value is -1 (invalid mapping).
Access functions:
int | xRow() const |
void | setXRow(int xRow) |
Notifier signal:
void | xRowChanged() |
pub unsafe fn set_y_row(&self, y_row: c_int)
[src]
This property holds the row of the model that contains the y-coordinates of the data points.
Calls C++ function: void QtCharts::QHXYModelMapper::setYRow(int yRow)
.
This property holds the row of the model that contains the y-coordinates of the data points.
The default value is -1 (invalid mapping).
Access functions:
int | yRow() const |
void | setYRow(int yRow) |
Notifier signal:
void | yRowChanged() |
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::QHXYModelMapper::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::QHXYModelMapper::trUtf8(const char* s, const char* c, int n)
.
pub unsafe fn x_row(&self) -> c_int
[src]
This property holds the row of the model that contains the x-coordinates of the data points.
Calls C++ function: int QtCharts::QHXYModelMapper::xRow() const
.
This property holds the row of the model that contains the x-coordinates of the data points.
The default value is -1 (invalid mapping).
Access functions:
int | xRow() const |
void | setXRow(int xRow) |
Notifier signal:
void | xRowChanged() |
pub unsafe fn y_row(&self) -> c_int
[src]
This property holds the row of the model that contains the y-coordinates of the data points.
Calls C++ function: int QtCharts::QHXYModelMapper::yRow() const
.
This property holds the row of the model that contains the y-coordinates of the data points.
The default value is -1 (invalid mapping).
Access functions:
int | yRow() const |
void | setYRow(int yRow) |
Notifier signal:
void | yRowChanged() |
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 QHXYModelMapper
[src]
unsafe fn delete(&self)
[src]
Calls C++ function: [destructor] void QtCharts::QHXYModelMapper::~QHXYModelMapper()
.
impl Deref for QHXYModelMapper
[src]
type Target = QXYModelMapper
The resulting type after dereferencing.
fn deref(&self) -> &QXYModelMapper
[src]
Calls C++ function: QtCharts::QXYModelMapper* static_cast<QtCharts::QXYModelMapper*>(QtCharts::QHXYModelMapper* ptr)
.
impl DynamicCast<QHXYModelMapper> for QXYModelMapper
[src]
unsafe fn dynamic_cast(ptr: Ptr<QXYModelMapper>) -> Ptr<QHXYModelMapper>
[src]
Calls C++ function: QtCharts::QHXYModelMapper* dynamic_cast<QtCharts::QHXYModelMapper*>(QtCharts::QXYModelMapper* ptr)
.
impl DynamicCast<QHXYModelMapper> for QObject
[src]
unsafe fn dynamic_cast(ptr: Ptr<QObject>) -> Ptr<QHXYModelMapper>
[src]
Calls C++ function: QtCharts::QHXYModelMapper* dynamic_cast<QtCharts::QHXYModelMapper*>(QObject* ptr)
.
impl StaticDowncast<QHXYModelMapper> for QXYModelMapper
[src]
unsafe fn static_downcast(ptr: Ptr<QXYModelMapper>) -> Ptr<QHXYModelMapper>
[src]
Calls C++ function: QtCharts::QHXYModelMapper* static_cast<QtCharts::QHXYModelMapper*>(QtCharts::QXYModelMapper* ptr)
.
impl StaticDowncast<QHXYModelMapper> for QObject
[src]
unsafe fn static_downcast(ptr: Ptr<QObject>) -> Ptr<QHXYModelMapper>
[src]
Calls C++ function: QtCharts::QHXYModelMapper* static_cast<QtCharts::QHXYModelMapper*>(QObject* ptr)
.
impl StaticUpcast<QObject> for QHXYModelMapper
[src]
unsafe fn static_upcast(ptr: Ptr<QHXYModelMapper>) -> Ptr<QObject>
[src]
Calls C++ function: QObject* static_cast<QObject*>(QtCharts::QHXYModelMapper* ptr)
.
impl StaticUpcast<QXYModelMapper> for QHXYModelMapper
[src]
unsafe fn static_upcast(ptr: Ptr<QHXYModelMapper>) -> Ptr<QXYModelMapper>
[src]
Calls C++ function: QtCharts::QXYModelMapper* static_cast<QtCharts::QXYModelMapper*>(QtCharts::QHXYModelMapper* ptr)
.
Auto Trait Implementations
impl RefUnwindSafe for QHXYModelMapper
impl Send for QHXYModelMapper
impl Sync for QHXYModelMapper
impl Unpin for QHXYModelMapper
impl UnwindSafe for QHXYModelMapper
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>,