[−][src]Struct qt_charts::QVPieModelMapper
C++ class: QtCharts::QVPieModelMapper
.
Methods
impl QVPieModelMapper
[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::QVPieModelMapper::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::QVPieModelMapper::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 values_column_changed(&self) -> Signal<()>
[src]
This signal is emitted when the values column changes.
Returns a built-in Qt signal QtCharts::QVPieModelMapper::valuesColumnChanged
that can be passed to qt_core::Signal::connect
.
This signal is emitted when the values column changes.
Note: Notifier signal for property valuesColumn.
pub fn labels_column_changed(&self) -> Signal<()>
[src]
This signal is emitted when the labels column changes.
Returns a built-in Qt signal QtCharts::QVPieModelMapper::labelsColumnChanged
that can be passed to qt_core::Signal::connect
.
This signal is emitted when the labels column changes.
Note: Notifier signal for property labelsColumn.
pub fn first_row_changed(&self) -> Signal<()>
[src]
This signal is emitted when the first row changes.
Returns a built-in Qt signal QtCharts::QVPieModelMapper::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::QVPieModelMapper::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 first slice value.
Calls C++ function: int QtCharts::QVPieModelMapper::firstRow() const
.
This property holds the row of the model that contains the first slice value.
The minimum and default value is 0.
Access functions:
int | firstRow() const |
void | setFirstRow(int firstRow) |
Notifier signal:
void | firstRowChanged() |
pub unsafe fn labels_column(&self) -> c_int
[src]
This property holds the column of the model that is kept in sync with the labels of the pie's slices.
Calls C++ function: int QtCharts::QVPieModelMapper::labelsColumn() const
.
This property holds the column of the model that is kept in sync with the labels of the pie's slices.
The default value is -1 (invalid mapping).
Access functions:
int | labelsColumn() const |
void | setLabelsColumn(int labelsColumn) |
Notifier signal:
void | labelsColumnChanged() |
pub unsafe fn meta_object(&self) -> Ptr<QMetaObject>
[src]
Calls C++ function: virtual const QMetaObject* QtCharts::QVPieModelMapper::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::QVPieModelMapper::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<QVPieModelMapper>
[src]
parent: impl CastInto<Ptr<QObject>>
) -> QBox<QVPieModelMapper>
Calls C++ function: [constructor] void QtCharts::QVPieModelMapper::QVPieModelMapper(QObject* parent = …)
.
pub unsafe fn new_0a() -> QBox<QVPieModelMapper>
[src]
Calls C++ function: [constructor] void QtCharts::QVPieModelMapper::QVPieModelMapper()
.
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::QVPieModelMapper::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::QVPieModelMapper::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 a pie series.
Calls C++ function: int QtCharts::QVPieModelMapper::rowCount() const
.
This property holds the number of rows of the model that are mapped as the data for a pie series.
The minimum and default value is -1 (number 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<QPieSeries>
[src]
This property holds the pie series that is used by the mapper.
Calls C++ function: QtCharts::QPieSeries* QtCharts::QVPieModelMapper::series() const
.
This property holds the pie 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:
QPieSeries * | series() const |
void | setSeries(QPieSeries *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 first slice value.
Calls C++ function: void QtCharts::QVPieModelMapper::setFirstRow(int firstRow)
.
This property holds the row of the model that contains the first slice value.
The minimum and default value is 0.
Access functions:
int | firstRow() const |
void | setFirstRow(int firstRow) |
Notifier signal:
void | firstRowChanged() |
pub unsafe fn set_labels_column(&self, labels_column: c_int)
[src]
Sets the model column that is kept in sync with the pies slices' labels to labelsColumn.
Calls C++ function: void QtCharts::QVPieModelMapper::setLabelsColumn(int labelsColumn)
.
Sets the model column that is kept in sync with the pies slices' labels to labelsColumn.
Note: Setter function for property labelsColumn.
See also labelsColumn().
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::QVPieModelMapper::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 a pie series.
Calls C++ function: void QtCharts::QVPieModelMapper::setRowCount(int rowCount)
.
This property holds the number of rows of the model that are mapped as the data for a pie series.
The minimum and default value is -1 (number 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<QPieSeries>>)
[src]
This property holds the pie series that is used by the mapper.
Calls C++ function: void QtCharts::QVPieModelMapper::setSeries(QtCharts::QPieSeries* series)
.
This property holds the pie 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:
QPieSeries * | series() const |
void | setSeries(QPieSeries *series) |
Notifier signal:
void | seriesReplaced() |
pub unsafe fn set_values_column(&self, values_column: c_int)
[src]
Sets the model column that is kept in sync with the pie slices' values to valuesColumn.
Calls C++ function: void QtCharts::QVPieModelMapper::setValuesColumn(int valuesColumn)
.
Sets the model column that is kept in sync with the pie slices' values to valuesColumn.
Note: Setter function for property valuesColumn.
See also valuesColumn().
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::QVPieModelMapper::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::QVPieModelMapper::trUtf8(const char* s, const char* c, int n)
.
pub unsafe fn values_column(&self) -> c_int
[src]
This property holds the column of the model that is kept in sync with the values of the pie's slices.
Calls C++ function: int QtCharts::QVPieModelMapper::valuesColumn() const
.
This property holds the column of the model that is kept in sync with the values of the pie's slices.
The default value is -1 (invalid mapping).
Access functions:
int | valuesColumn() const |
void | setValuesColumn(int valuesColumn) |
Notifier signal:
void | valuesColumnChanged() |
Methods from Deref<Target = QPieModelMapper>
pub unsafe fn meta_object(&self) -> Ptr<QMetaObject>
[src]
Calls C++ function: virtual const QMetaObject* QtCharts::QPieModelMapper::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::QPieModelMapper::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::QPieModelMapper::qt_metacast(const char* arg1)
.
Trait Implementations
impl CppDeletable for QVPieModelMapper
[src]
unsafe fn delete(&self)
[src]
Calls C++ function: [destructor] void QtCharts::QVPieModelMapper::~QVPieModelMapper()
.
impl Deref for QVPieModelMapper
[src]
type Target = QPieModelMapper
The resulting type after dereferencing.
fn deref(&self) -> &QPieModelMapper
[src]
Calls C++ function: QtCharts::QPieModelMapper* static_cast<QtCharts::QPieModelMapper*>(QtCharts::QVPieModelMapper* ptr)
.
impl DynamicCast<QVPieModelMapper> for QPieModelMapper
[src]
unsafe fn dynamic_cast(ptr: Ptr<QPieModelMapper>) -> Ptr<QVPieModelMapper>
[src]
Calls C++ function: QtCharts::QVPieModelMapper* dynamic_cast<QtCharts::QVPieModelMapper*>(QtCharts::QPieModelMapper* ptr)
.
impl DynamicCast<QVPieModelMapper> for QObject
[src]
unsafe fn dynamic_cast(ptr: Ptr<QObject>) -> Ptr<QVPieModelMapper>
[src]
Calls C++ function: QtCharts::QVPieModelMapper* dynamic_cast<QtCharts::QVPieModelMapper*>(QObject* ptr)
.
impl StaticDowncast<QVPieModelMapper> for QPieModelMapper
[src]
unsafe fn static_downcast(ptr: Ptr<QPieModelMapper>) -> Ptr<QVPieModelMapper>
[src]
Calls C++ function: QtCharts::QVPieModelMapper* static_cast<QtCharts::QVPieModelMapper*>(QtCharts::QPieModelMapper* ptr)
.
impl StaticDowncast<QVPieModelMapper> for QObject
[src]
unsafe fn static_downcast(ptr: Ptr<QObject>) -> Ptr<QVPieModelMapper>
[src]
Calls C++ function: QtCharts::QVPieModelMapper* static_cast<QtCharts::QVPieModelMapper*>(QObject* ptr)
.
impl StaticUpcast<QObject> for QVPieModelMapper
[src]
unsafe fn static_upcast(ptr: Ptr<QVPieModelMapper>) -> Ptr<QObject>
[src]
Calls C++ function: QObject* static_cast<QObject*>(QtCharts::QVPieModelMapper* ptr)
.
impl StaticUpcast<QPieModelMapper> for QVPieModelMapper
[src]
unsafe fn static_upcast(ptr: Ptr<QVPieModelMapper>) -> Ptr<QPieModelMapper>
[src]
Calls C++ function: QtCharts::QPieModelMapper* static_cast<QtCharts::QPieModelMapper*>(QtCharts::QVPieModelMapper* ptr)
.
Auto Trait Implementations
impl RefUnwindSafe for QVPieModelMapper
impl Send for QVPieModelMapper
impl Sync for QVPieModelMapper
impl Unpin for QVPieModelMapper
impl UnwindSafe for QVPieModelMapper
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>,