[−][src]Struct qt_charts::QHPieModelMapper
C++ class: QtCharts::QHPieModelMapper
.
Methods
impl QHPieModelMapper
[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::QHPieModelMapper::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::QHPieModelMapper::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_row_changed(&self) -> Signal<()>
[src]
This signal is emitted when the values row changes.
Returns a built-in Qt signal QtCharts::QHPieModelMapper::valuesRowChanged
that can be passed to qt_core::Signal::connect
.
This signal is emitted when the values row changes.
Note: Notifier signal for property valuesRow.
pub fn labels_row_changed(&self) -> Signal<()>
[src]
This signal is emitted when the labels row changes.
Returns a built-in Qt signal QtCharts::QHPieModelMapper::labelsRowChanged
that can be passed to qt_core::Signal::connect
.
This signal is emitted when the labels row changes.
Note: Notifier signal for property labelsRow.
pub fn first_column_changed(&self) -> Signal<()>
[src]
This signal is emitted when the first column changes.
Returns a built-in Qt signal QtCharts::QHPieModelMapper::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::QHPieModelMapper::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 the pie series.
Calls C++ function: int QtCharts::QHPieModelMapper::columnCount() const
.
This property holds the number of columns of the model that are mapped as the data for the pie series.
The minimum and default value is -1 (number limited to 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 first slice value.
Calls C++ function: int QtCharts::QHPieModelMapper::firstColumn() const
.
This property holds the column of the model that contains the first slice value.
The minimum and default value is 0.
Access functions:
int | firstColumn() const |
void | setFirstColumn(int firstColumn) |
Notifier signal:
void | firstColumnChanged() |
pub unsafe fn labels_row(&self) -> c_int
[src]
This property holds the row of the model that is kept in sync with the labels of the pie's slices.
Calls C++ function: int QtCharts::QHPieModelMapper::labelsRow() const
.
This property holds the row 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 | labelsRow() const |
void | setLabelsRow(int labelsRow) |
Notifier signal:
void | labelsRowChanged() |
pub unsafe fn meta_object(&self) -> Ptr<QMetaObject>
[src]
Calls C++ function: virtual const QMetaObject* QtCharts::QHPieModelMapper::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::QHPieModelMapper::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<QHPieModelMapper>
[src]
parent: impl CastInto<Ptr<QObject>>
) -> QBox<QHPieModelMapper>
Calls C++ function: [constructor] void QtCharts::QHPieModelMapper::QHPieModelMapper(QObject* parent = …)
.
pub unsafe fn new_0a() -> QBox<QHPieModelMapper>
[src]
Calls C++ function: [constructor] void QtCharts::QHPieModelMapper::QHPieModelMapper()
.
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::QHPieModelMapper::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::QHPieModelMapper::qt_metacast(const char* arg1)
.
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::QHPieModelMapper::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_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 the pie series.
Calls C++ function: void QtCharts::QHPieModelMapper::setColumnCount(int columnCount)
.
This property holds the number of columns of the model that are mapped as the data for the pie series.
The minimum and default value is -1 (number limited to 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 first slice value.
Calls C++ function: void QtCharts::QHPieModelMapper::setFirstColumn(int firstColumn)
.
This property holds the column of the model that contains the first slice value.
The minimum and default value is 0.
Access functions:
int | firstColumn() const |
void | setFirstColumn(int firstColumn) |
Notifier signal:
void | firstColumnChanged() |
pub unsafe fn set_labels_row(&self, labels_row: c_int)
[src]
Sets the model row that is kept in sync with the pie slices' labels to labelsRow.
Calls C++ function: void QtCharts::QHPieModelMapper::setLabelsRow(int labelsRow)
.
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::QHPieModelMapper::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<QPieSeries>>)
[src]
This property holds the pie series that is used by the mapper.
Calls C++ function: void QtCharts::QHPieModelMapper::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_row(&self, values_row: c_int)
[src]
Sets the model row that is kept in sync with the pie slices' values to valuesRow.
Calls C++ function: void QtCharts::QHPieModelMapper::setValuesRow(int valuesRow)
.
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::QHPieModelMapper::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::QHPieModelMapper::trUtf8(const char* s, const char* c, int n)
.
pub unsafe fn values_row(&self) -> c_int
[src]
This property holds the row of the model that is kept in sync with the values of the pie's slices.
Calls C++ function: int QtCharts::QHPieModelMapper::valuesRow() const
.
This property holds the row 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 | valuesRow() const |
void | setValuesRow(int valuesRow) |
Notifier signal:
void | valuesRowChanged() |
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 QHPieModelMapper
[src]
unsafe fn delete(&self)
[src]
Calls C++ function: [destructor] void QtCharts::QHPieModelMapper::~QHPieModelMapper()
.
impl Deref for QHPieModelMapper
[src]
type Target = QPieModelMapper
The resulting type after dereferencing.
fn deref(&self) -> &QPieModelMapper
[src]
Calls C++ function: QtCharts::QPieModelMapper* static_cast<QtCharts::QPieModelMapper*>(QtCharts::QHPieModelMapper* ptr)
.
impl DynamicCast<QHPieModelMapper> for QPieModelMapper
[src]
unsafe fn dynamic_cast(ptr: Ptr<QPieModelMapper>) -> Ptr<QHPieModelMapper>
[src]
Calls C++ function: QtCharts::QHPieModelMapper* dynamic_cast<QtCharts::QHPieModelMapper*>(QtCharts::QPieModelMapper* ptr)
.
impl DynamicCast<QHPieModelMapper> for QObject
[src]
unsafe fn dynamic_cast(ptr: Ptr<QObject>) -> Ptr<QHPieModelMapper>
[src]
Calls C++ function: QtCharts::QHPieModelMapper* dynamic_cast<QtCharts::QHPieModelMapper*>(QObject* ptr)
.
impl StaticDowncast<QHPieModelMapper> for QPieModelMapper
[src]
unsafe fn static_downcast(ptr: Ptr<QPieModelMapper>) -> Ptr<QHPieModelMapper>
[src]
Calls C++ function: QtCharts::QHPieModelMapper* static_cast<QtCharts::QHPieModelMapper*>(QtCharts::QPieModelMapper* ptr)
.
impl StaticDowncast<QHPieModelMapper> for QObject
[src]
unsafe fn static_downcast(ptr: Ptr<QObject>) -> Ptr<QHPieModelMapper>
[src]
Calls C++ function: QtCharts::QHPieModelMapper* static_cast<QtCharts::QHPieModelMapper*>(QObject* ptr)
.
impl StaticUpcast<QObject> for QHPieModelMapper
[src]
unsafe fn static_upcast(ptr: Ptr<QHPieModelMapper>) -> Ptr<QObject>
[src]
Calls C++ function: QObject* static_cast<QObject*>(QtCharts::QHPieModelMapper* ptr)
.
impl StaticUpcast<QPieModelMapper> for QHPieModelMapper
[src]
unsafe fn static_upcast(ptr: Ptr<QHPieModelMapper>) -> Ptr<QPieModelMapper>
[src]
Calls C++ function: QtCharts::QPieModelMapper* static_cast<QtCharts::QPieModelMapper*>(QtCharts::QHPieModelMapper* ptr)
.
Auto Trait Implementations
impl RefUnwindSafe for QHPieModelMapper
impl Send for QHPieModelMapper
impl Sync for QHPieModelMapper
impl Unpin for QHPieModelMapper
impl UnwindSafe for QHPieModelMapper
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>,