[−][src]Struct qt_charts::QBoxSet
C++ class: QtCharts::QBoxSet
.
Methods
impl QBoxSet
[src]
pub fn clicked(&self) -> Signal<()>
[src]
This signal is emitted when the user clicks a box-and-whiskers item in the chart.
Returns a built-in Qt signal QtCharts::QBoxSet::clicked
that can be passed to qt_core::Signal::connect
.
This signal is emitted when the user clicks a box-and-whiskers item in the chart.
pub fn hovered(&self) -> Signal<(bool,)>
[src]
This signal is emitted when a mouse is hovered over a box-and-whiskers item in a chart. When the mouse moves over the item, status turns true
, and when the mouse moves away again, it turns false
.
Returns a built-in Qt signal QtCharts::QBoxSet::hovered
that can be passed to qt_core::Signal::connect
.
This signal is emitted when a mouse is hovered over a box-and-whiskers item in a chart. When the mouse moves over the item, status turns true
, and when the mouse moves away again, it turns false
.
pub fn pressed(&self) -> Signal<()>
[src]
This signal is emitted when the user clicks a box-and-whiskers item in the chart and holds down the mouse button.
Returns a built-in Qt signal QtCharts::QBoxSet::pressed
that can be passed to qt_core::Signal::connect
.
This signal is emitted when the user clicks a box-and-whiskers item in the chart and holds down the mouse button.
pub fn released(&self) -> Signal<()>
[src]
This signal is emitted when the user releases the mouse press on a box-and-whiskers item.
Returns a built-in Qt signal QtCharts::QBoxSet::released
that can be passed to qt_core::Signal::connect
.
This signal is emitted when the user releases the mouse press on a box-and-whiskers item.
pub fn double_clicked(&self) -> Signal<()>
[src]
This signal is emitted when the user double-clicks a box-and-whiskers item.
Returns a built-in Qt signal QtCharts::QBoxSet::doubleClicked
that can be passed to qt_core::Signal::connect
.
This signal is emitted when the user double-clicks a box-and-whiskers item.
pub fn pen_changed(&self) -> Signal<()>
[src]
This signal is emitted when the pen of the box-and-whiskers item changes.
Returns a built-in Qt signal QtCharts::QBoxSet::penChanged
that can be passed to qt_core::Signal::connect
.
pub fn brush_changed(&self) -> Signal<()>
[src]
This signal is emitted when the brush of the box-and-whiskers item changes.
Returns a built-in Qt signal QtCharts::QBoxSet::brushChanged
that can be passed to qt_core::Signal::connect
.
pub fn values_changed(&self) -> Signal<()>
[src]
This signal is emitted when multiple values of the box-and-whiskers item change.
Returns a built-in Qt signal QtCharts::QBoxSet::valuesChanged
that can be passed to qt_core::Signal::connect
.
This signal is emitted when multiple values of the box-and-whiskers item change.
See also append().
pub fn value_changed(&self) -> Signal<(c_int,)>
[src]
This signal is emitted when the value of the box-and-whiskers item specified by index is modified.
Returns a built-in Qt signal QtCharts::QBoxSet::valueChanged
that can be passed to qt_core::Signal::connect
.
This signal is emitted when the value of the box-and-whiskers item specified by index is modified.
See also at().
pub fn cleared(&self) -> Signal<()>
[src]
This signal is emitted when all the values of the box-and-whiskers item are set to 0.
Returns a built-in Qt signal QtCharts::QBoxSet::cleared
that can be passed to qt_core::Signal::connect
.
This signal is emitted when all the values of the box-and-whiskers item are set to 0.
pub unsafe fn append_double(&self, value: c_double)
[src]
Appends the new value specified by value to the end of the box-and-whiskers item.
Calls C++ function: void QtCharts::QBoxSet::append(double value)
.
Appends the new value specified by value to the end of the box-and-whiskers item.
pub unsafe fn append_q_list_of_double(
&self,
values: impl CastInto<Ref<QListOfDouble>>
)
[src]
&self,
values: impl CastInto<Ref<QListOfDouble>>
)
Appends a list of real values specified by values to the end of the box-and-whiskers item.
Calls C++ function: void QtCharts::QBoxSet::append(const QList<double>& values)
.
Appends a list of real values specified by values to the end of the box-and-whiskers item.
See also append().
pub unsafe fn at(&self, index: c_int) -> c_double
[src]
Returns the value of the box-and-whiskers item specified by index. The index can be specified by using ValuePositions enumeration values. If the index is out of bounds, 0.0 is returned.
Calls C++ function: double QtCharts::QBoxSet::at(int index) const
.
Returns the value of the box-and-whiskers item specified by index. The index can be specified by using ValuePositions enumeration values. If the index is out of bounds, 0.0 is returned.
pub unsafe fn brush(&self) -> CppBox<QBrush>
[src]
This property holds the brush used fill the box of the box-and-whiskers item.
Calls C++ function: QBrush QtCharts::QBoxSet::brush() const
.
This property holds the brush used fill the box of the box-and-whiskers item.
Access functions:
Notifier signal:
void | brushChanged() |
pub unsafe fn clear(&self)
[src]
Sets all the values of the box-and-whiskers item to 0.
Calls C++ function: void QtCharts::QBoxSet::clear()
.
Sets all the values of the box-and-whiskers item to 0.
pub unsafe fn count(&self) -> c_int
[src]
Returns the number of values appended to the box-and-whiskers item.
Calls C++ function: int QtCharts::QBoxSet::count() const
.
Returns the number of values appended to the box-and-whiskers item.
pub unsafe fn index(&self, index: c_int) -> c_double
[src]
Returns the value of the box-and-whiskers item specified by index. The index can be specified by using ValuePositions enumeration values. If the index is out of bounds, 0.0 is returned.
Calls C++ function: double QtCharts::QBoxSet::operator[](int index) const
.
Returns the value of the box-and-whiskers item specified by index. The index can be specified by using ValuePositions enumeration values. If the index is out of bounds, 0.0 is returned.
pub unsafe fn label(&self) -> CppBox<QString>
[src]
Returns the label of the category of the box-and-whiskers item.
Calls C++ function: QString QtCharts::QBoxSet::label() const
.
Returns the label of the category of the box-and-whiskers item.
See also setLabel().
pub unsafe fn meta_object(&self) -> Ptr<QMetaObject>
[src]
Calls C++ function: virtual const QMetaObject* QtCharts::QBoxSet::metaObject() const
.
pub unsafe fn new_2a(
label: impl CastInto<Ref<QString>>,
parent: impl CastInto<Ptr<QObject>>
) -> QBox<QBoxSet>
[src]
label: impl CastInto<Ref<QString>>,
parent: impl CastInto<Ptr<QObject>>
) -> QBox<QBoxSet>
Calls C++ function: [constructor] void QtCharts::QBoxSet::QBoxSet(QString label = …, QObject* parent = …)
.
pub unsafe fn new_7a(
le: c_double,
lq: c_double,
m: c_double,
uq: c_double,
ue: c_double,
label: impl CastInto<Ref<QString>>,
parent: impl CastInto<Ptr<QObject>>
) -> QBox<QBoxSet>
[src]
le: c_double,
lq: c_double,
m: c_double,
uq: c_double,
ue: c_double,
label: impl CastInto<Ref<QString>>,
parent: impl CastInto<Ptr<QObject>>
) -> QBox<QBoxSet>
Calls C++ function: [constructor] void QtCharts::QBoxSet::QBoxSet(double le, double lq, double m, double uq, double ue, QString label = …, QObject* parent = …)
.
pub unsafe fn new_0a() -> QBox<QBoxSet>
[src]
Calls C++ function: [constructor] void QtCharts::QBoxSet::QBoxSet()
.
pub unsafe fn new_1a(label: impl CastInto<Ref<QString>>) -> QBox<QBoxSet>
[src]
Calls C++ function: [constructor] void QtCharts::QBoxSet::QBoxSet(QString label = …)
.
pub unsafe fn new_6a(
le: c_double,
lq: c_double,
m: c_double,
uq: c_double,
ue: c_double,
label: impl CastInto<Ref<QString>>
) -> QBox<QBoxSet>
[src]
le: c_double,
lq: c_double,
m: c_double,
uq: c_double,
ue: c_double,
label: impl CastInto<Ref<QString>>
) -> QBox<QBoxSet>
Calls C++ function: [constructor] void QtCharts::QBoxSet::QBoxSet(double le, double lq, double m, double uq, double ue, QString label = …)
.
pub unsafe fn new_5a(
le: c_double,
lq: c_double,
m: c_double,
uq: c_double,
ue: c_double
) -> QBox<QBoxSet>
[src]
le: c_double,
lq: c_double,
m: c_double,
uq: c_double,
ue: c_double
) -> QBox<QBoxSet>
Calls C++ function: [constructor] void QtCharts::QBoxSet::QBoxSet(double le, double lq, double m, double uq, double ue)
.
pub unsafe fn pen(&self) -> CppBox<QPen>
[src]
This property holds the pen used to draw the lines of the box-and-whiskers item.
Calls C++ function: QPen QtCharts::QBoxSet::pen() const
.
This property holds the pen used to draw the lines of the box-and-whiskers item.
Access functions:
Notifier signal:
void | penChanged() |
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::QBoxSet::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::QBoxSet::qt_metacast(const char* arg1)
.
pub unsafe fn set_brush(&self, brush: impl CastInto<Ref<QBrush>>)
[src]
Sets the brush used to fill the box-and-whiskers item to brush.
Calls C++ function: void QtCharts::QBoxSet::setBrush(const QBrush& brush)
.
pub unsafe fn set_label(&self, label: impl CastInto<Ref<QString>>)
[src]
Sets the label specified by label for the category of the box-and-whiskers item.
Calls C++ function: void QtCharts::QBoxSet::setLabel(QString label)
.
Sets the label specified by label for the category of the box-and-whiskers item.
See also label().
pub unsafe fn set_pen(&self, pen: impl CastInto<Ref<QPen>>)
[src]
Sets the pen used to draw the box-and-whiskers item to pen.
Calls C++ function: void QtCharts::QBoxSet::setPen(const QPen& pen)
.
pub unsafe fn set_value(&self, index: c_int, value: c_double)
[src]
Sets the value specified by value in the position specified by index. The index can be specified by using the ValuePositions enumeration values.
Calls C++ function: void QtCharts::QBoxSet::setValue(int index, double value)
.
Sets the value specified by value in the position specified by index. The index can be specified by using the ValuePositions enumeration values.
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::QBoxSet::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::QBoxSet::trUtf8(const char* s, const char* c, int n)
.
Trait Implementations
impl CppDeletable for QBoxSet
[src]
unsafe fn delete(&self)
[src]
Destroys the a box-and-whiskers item.
Calls C++ function: virtual [destructor] void QtCharts::QBoxSet::~QBoxSet()
.
Destroys the a box-and-whiskers item.
impl Deref for QBoxSet
[src]
type Target = QObject
The resulting type after dereferencing.
fn deref(&self) -> &QObject
[src]
Calls C++ function: QObject* static_cast<QObject*>(QtCharts::QBoxSet* ptr)
.
impl DynamicCast<QBoxSet> for QObject
[src]
unsafe fn dynamic_cast(ptr: Ptr<QObject>) -> Ptr<QBoxSet>
[src]
Calls C++ function: QtCharts::QBoxSet* dynamic_cast<QtCharts::QBoxSet*>(QObject* ptr)
.
impl<'_> Shl<*const f64> for &'_ QBoxSet
[src]
type Output = Ref<QBoxSet>
The resulting type after applying the <<
operator.
fn shl(self, value: *const c_double) -> Ref<QBoxSet>
[src]
A convenience operator for appending the real value specified by value to the end of the box-and-whiskers item.
Calls C++ function: QtCharts::QBoxSet& QtCharts::QBoxSet::operator<<(const double& value)
.
A convenience operator for appending the real value specified by value to the end of the box-and-whiskers item.
See also append().
impl StaticDowncast<QBoxSet> for QObject
[src]
unsafe fn static_downcast(ptr: Ptr<QObject>) -> Ptr<QBoxSet>
[src]
Calls C++ function: QtCharts::QBoxSet* static_cast<QtCharts::QBoxSet*>(QObject* ptr)
.
impl StaticUpcast<QObject> for QBoxSet
[src]
Auto Trait Implementations
impl RefUnwindSafe for QBoxSet
impl Send for QBoxSet
impl Sync for QBoxSet
impl Unpin for QBoxSet
impl UnwindSafe for QBoxSet
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>,