[−][src]Struct qt_charts::QHBarModelMapper
C++ class: QtCharts::QHBarModelMapper
.
Methods
impl QHBarModelMapper
[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::QHBarModelMapper::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::QHBarModelMapper::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 first_bar_set_row_changed(&self) -> Signal<()>
[src]
This signal is emitted when the first bar set row changes.
Returns a built-in Qt signal QtCharts::QHBarModelMapper::firstBarSetRowChanged
that can be passed to qt_core::Signal::connect
.
This signal is emitted when the first bar set row changes.
Note: Notifier signal for property firstBarSetRow.
pub fn last_bar_set_row_changed(&self) -> Signal<()>
[src]
This signal is emitted when the last bar set row changes.
Returns a built-in Qt signal QtCharts::QHBarModelMapper::lastBarSetRowChanged
that can be passed to qt_core::Signal::connect
.
This signal is emitted when the last bar set row changes.
Note: Notifier signal for property lastBarSetRow.
pub fn first_column_changed(&self) -> Signal<()>
[src]
This signal is emitted when the first column changes.
Returns a built-in Qt signal QtCharts::QHBarModelMapper::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::QHBarModelMapper::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 bar series.
Calls C++ function: int QtCharts::QHBarModelMapper::columnCount() const
.
This property holds the number of columns of the model that are mapped as the data for the bar 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_bar_set_row(&self) -> c_int
[src]
This property holds the row of the model that is used as the data source for the first bar set.
Calls C++ function: int QtCharts::QHBarModelMapper::firstBarSetRow() const
.
This property holds the row of the model that is used as the data source for the first bar set.
The default value is -1 (invalid mapping).
Access functions:
int | firstBarSetRow() const |
void | setFirstBarSetRow(int firstBarSetRow) |
Notifier signal:
void | firstBarSetRowChanged() |
pub unsafe fn first_column(&self) -> c_int
[src]
This property holds the column of the model that contains the first values of the bar sets in the bar series.
Calls C++ function: int QtCharts::QHBarModelMapper::firstColumn() const
.
This property holds the column of the model that contains the first values of the bar sets in the bar series.
The minimum and default value is 0.
Access functions:
int | firstColumn() const |
void | setFirstColumn(int firstColumn) |
Notifier signal:
void | firstColumnChanged() |
pub unsafe fn last_bar_set_row(&self) -> c_int
[src]
This property holds the row of the model that is used as the data source for the last bar set.
Calls C++ function: int QtCharts::QHBarModelMapper::lastBarSetRow() const
.
This property holds the row of the model that is used as the data source for the last bar set.
The default value is -1 (invalid mapping).
Access functions:
int | lastBarSetRow() const |
void | setLastBarSetRow(int lastBarSetRow) |
Notifier signal:
void | lastBarSetRowChanged() |
pub unsafe fn meta_object(&self) -> Ptr<QMetaObject>
[src]
Calls C++ function: virtual const QMetaObject* QtCharts::QHBarModelMapper::metaObject() const
.
pub unsafe fn model(&self) -> QPtr<QAbstractItemModel>
[src]
Defines the model that is used by the mapper.
Calls C++ function: QAbstractItemModel* QtCharts::QHBarModelMapper::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 new_1a(
parent: impl CastInto<Ptr<QObject>>
) -> QBox<QHBarModelMapper>
[src]
parent: impl CastInto<Ptr<QObject>>
) -> QBox<QHBarModelMapper>
Calls C++ function: [constructor] void QtCharts::QHBarModelMapper::QHBarModelMapper(QObject* parent = …)
.
pub unsafe fn new_0a() -> QBox<QHBarModelMapper>
[src]
Calls C++ function: [constructor] void QtCharts::QHBarModelMapper::QHBarModelMapper()
.
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::QHBarModelMapper::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::QHBarModelMapper::qt_metacast(const char* arg1)
.
pub unsafe fn series(&self) -> QPtr<QAbstractBarSeries>
[src]
This property holds the bar series that is used by the mapper.
Calls C++ function: QtCharts::QAbstractBarSeries* QtCharts::QHBarModelMapper::series() const
.
This property holds the bar 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:
QAbstractBarSeries * | series() const |
void | setSeries(QAbstractBarSeries *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 bar series.
Calls C++ function: void QtCharts::QHBarModelMapper::setColumnCount(int columnCount)
.
This property holds the number of columns of the model that are mapped as the data for the bar 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_bar_set_row(&self, first_bar_set_row: c_int)
[src]
This property holds the row of the model that is used as the data source for the first bar set.
Calls C++ function: void QtCharts::QHBarModelMapper::setFirstBarSetRow(int firstBarSetRow)
.
This property holds the row of the model that is used as the data source for the first bar set.
The default value is -1 (invalid mapping).
Access functions:
int | firstBarSetRow() const |
void | setFirstBarSetRow(int firstBarSetRow) |
Notifier signal:
void | firstBarSetRowChanged() |
pub unsafe fn set_first_column(&self, first_column: c_int)
[src]
This property holds the column of the model that contains the first values of the bar sets in the bar series.
Calls C++ function: void QtCharts::QHBarModelMapper::setFirstColumn(int firstColumn)
.
This property holds the column of the model that contains the first values of the bar sets in the bar 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_last_bar_set_row(&self, last_bar_set_row: c_int)
[src]
This property holds the row of the model that is used as the data source for the last bar set.
Calls C++ function: void QtCharts::QHBarModelMapper::setLastBarSetRow(int lastBarSetRow)
.
This property holds the row of the model that is used as the data source for the last bar set.
The default value is -1 (invalid mapping).
Access functions:
int | lastBarSetRow() const |
void | setLastBarSetRow(int lastBarSetRow) |
Notifier signal:
void | lastBarSetRowChanged() |
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::QHBarModelMapper::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<QAbstractBarSeries>>)
[src]
This property holds the bar series that is used by the mapper.
Calls C++ function: void QtCharts::QHBarModelMapper::setSeries(QtCharts::QAbstractBarSeries* series)
.
This property holds the bar 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:
QAbstractBarSeries * | series() const |
void | setSeries(QAbstractBarSeries *series) |
Notifier signal:
void | seriesReplaced() |
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::QHBarModelMapper::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::QHBarModelMapper::trUtf8(const char* s, const char* c, int n)
.
Methods from Deref<Target = QBarModelMapper>
pub unsafe fn meta_object(&self) -> Ptr<QMetaObject>
[src]
Calls C++ function: virtual const QMetaObject* QtCharts::QBarModelMapper::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::QBarModelMapper::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::QBarModelMapper::qt_metacast(const char* arg1)
.
Trait Implementations
impl CppDeletable for QHBarModelMapper
[src]
unsafe fn delete(&self)
[src]
Calls C++ function: [destructor] void QtCharts::QHBarModelMapper::~QHBarModelMapper()
.
impl Deref for QHBarModelMapper
[src]
type Target = QBarModelMapper
The resulting type after dereferencing.
fn deref(&self) -> &QBarModelMapper
[src]
Calls C++ function: QtCharts::QBarModelMapper* static_cast<QtCharts::QBarModelMapper*>(QtCharts::QHBarModelMapper* ptr)
.
impl DynamicCast<QHBarModelMapper> for QBarModelMapper
[src]
unsafe fn dynamic_cast(ptr: Ptr<QBarModelMapper>) -> Ptr<QHBarModelMapper>
[src]
Calls C++ function: QtCharts::QHBarModelMapper* dynamic_cast<QtCharts::QHBarModelMapper*>(QtCharts::QBarModelMapper* ptr)
.
impl DynamicCast<QHBarModelMapper> for QObject
[src]
unsafe fn dynamic_cast(ptr: Ptr<QObject>) -> Ptr<QHBarModelMapper>
[src]
Calls C++ function: QtCharts::QHBarModelMapper* dynamic_cast<QtCharts::QHBarModelMapper*>(QObject* ptr)
.
impl StaticDowncast<QHBarModelMapper> for QBarModelMapper
[src]
unsafe fn static_downcast(ptr: Ptr<QBarModelMapper>) -> Ptr<QHBarModelMapper>
[src]
Calls C++ function: QtCharts::QHBarModelMapper* static_cast<QtCharts::QHBarModelMapper*>(QtCharts::QBarModelMapper* ptr)
.
impl StaticDowncast<QHBarModelMapper> for QObject
[src]
unsafe fn static_downcast(ptr: Ptr<QObject>) -> Ptr<QHBarModelMapper>
[src]
Calls C++ function: QtCharts::QHBarModelMapper* static_cast<QtCharts::QHBarModelMapper*>(QObject* ptr)
.
impl StaticUpcast<QBarModelMapper> for QHBarModelMapper
[src]
unsafe fn static_upcast(ptr: Ptr<QHBarModelMapper>) -> Ptr<QBarModelMapper>
[src]
Calls C++ function: QtCharts::QBarModelMapper* static_cast<QtCharts::QBarModelMapper*>(QtCharts::QHBarModelMapper* ptr)
.
impl StaticUpcast<QObject> for QHBarModelMapper
[src]
unsafe fn static_upcast(ptr: Ptr<QHBarModelMapper>) -> Ptr<QObject>
[src]
Calls C++ function: QObject* static_cast<QObject*>(QtCharts::QHBarModelMapper* ptr)
.
Auto Trait Implementations
impl RefUnwindSafe for QHBarModelMapper
impl Send for QHBarModelMapper
impl Sync for QHBarModelMapper
impl Unpin for QHBarModelMapper
impl UnwindSafe for QHBarModelMapper
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>,