[−][src]Struct qt_charts::QCandlestickSet
C++ class: QtCharts::QCandlestickSet
.
Methods
impl QCandlestickSet
[src]
pub fn clicked(&self) -> Signal<()>
[src]
This signal is emitted when the candlestick item is clicked.
Returns a built-in Qt signal QtCharts::QCandlestickSet::clicked
that can be passed to qt_core::Signal::connect
.
This signal is emitted when the candlestick item is clicked.
pub fn hovered(&self) -> Signal<(bool,)>
[src]
This signal is emitted when a mouse is hovered over a candlestick item.
Returns a built-in Qt signal QtCharts::QCandlestickSet::hovered
that can be passed to qt_core::Signal::connect
.
This signal is emitted when a mouse is hovered over a candlestick item.
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 the candlestick item and holds down the mouse button.
Returns a built-in Qt signal QtCharts::QCandlestickSet::pressed
that can be passed to qt_core::Signal::connect
.
This signal is emitted when the user clicks the candlestick item and holds down the mouse button.
pub fn released(&self) -> Signal<()>
[src]
This signal is emitted when the user releases the mouse press on the candlestick item.
Returns a built-in Qt signal QtCharts::QCandlestickSet::released
that can be passed to qt_core::Signal::connect
.
This signal is emitted when the user releases the mouse press on the candlestick item.
pub fn double_clicked(&self) -> Signal<()>
[src]
This signal is emitted when the user double-clicks a candlestick item.
Returns a built-in Qt signal QtCharts::QCandlestickSet::doubleClicked
that can be passed to qt_core::Signal::connect
.
This signal is emitted when the user double-clicks a candlestick item.
pub fn timestamp_changed(&self) -> Signal<()>
[src]
This signal is emitted when the candlestick item timestamp changes.
Returns a built-in Qt signal QtCharts::QCandlestickSet::timestampChanged
that can be passed to qt_core::Signal::connect
.
pub fn open_changed(&self) -> Signal<()>
[src]
This signal is emitted when the candlestick item open value changes.
Returns a built-in Qt signal QtCharts::QCandlestickSet::openChanged
that can be passed to qt_core::Signal::connect
.
pub fn high_changed(&self) -> Signal<()>
[src]
This signal is emitted when the candlestick item high value changes.
Returns a built-in Qt signal QtCharts::QCandlestickSet::highChanged
that can be passed to qt_core::Signal::connect
.
pub fn low_changed(&self) -> Signal<()>
[src]
This signal is emitted when the candlestick item low value changes.
Returns a built-in Qt signal QtCharts::QCandlestickSet::lowChanged
that can be passed to qt_core::Signal::connect
.
pub fn close_changed(&self) -> Signal<()>
[src]
This signal is emitted when the candlestick item close value changes.
Returns a built-in Qt signal QtCharts::QCandlestickSet::closeChanged
that can be passed to qt_core::Signal::connect
.
pub fn brush_changed(&self) -> Signal<()>
[src]
This signal is emitted when the candlestick item brush changes.
Returns a built-in Qt signal QtCharts::QCandlestickSet::brushChanged
that can be passed to qt_core::Signal::connect
.
pub fn pen_changed(&self) -> Signal<()>
[src]
This signal is emitted when the candlestick item pen changes.
Returns a built-in Qt signal QtCharts::QCandlestickSet::penChanged
that can be passed to qt_core::Signal::connect
.
pub unsafe fn brush(&self) -> CppBox<QBrush>
[src]
This property holds the brush used to fill the candlestick item.
Calls C++ function: QBrush QtCharts::QCandlestickSet::brush() const
.
This property holds the brush used to fill the candlestick item.
Access functions:
QBrush | brush() const |
void | setBrush(const QBrush &brush) |
Notifier signal:
void | brushChanged() |
pub unsafe fn close(&self) -> c_double
[src]
This property holds the close value of the candlestick item.
Calls C++ function: double QtCharts::QCandlestickSet::close() const
.
This property holds the close value of the candlestick item.
Access functions:
qreal | close() const |
void | setClose(qreal close) |
Notifier signal:
void | closeChanged() |
pub unsafe fn high(&self) -> c_double
[src]
This property holds the high value of the candlestick item.
Calls C++ function: double QtCharts::QCandlestickSet::high() const
.
This property holds the high value of the candlestick item.
Access functions:
qreal | high() const |
void | setHigh(qreal high) |
Notifier signal:
void | highChanged() |
pub unsafe fn low(&self) -> c_double
[src]
This property holds the low value of the candlestick item.
Calls C++ function: double QtCharts::QCandlestickSet::low() const
.
This property holds the low value of the candlestick item.
Access functions:
qreal | low() const |
void | setLow(qreal low) |
Notifier signal:
void | lowChanged() |
pub unsafe fn meta_object(&self) -> Ptr<QMetaObject>
[src]
Calls C++ function: virtual const QMetaObject* QtCharts::QCandlestickSet::metaObject() const
.
pub unsafe fn new_2a(
timestamp: c_double,
parent: impl CastInto<MutPtr<QObject>>
) -> CppBox<QCandlestickSet>
[src]
timestamp: c_double,
parent: impl CastInto<MutPtr<QObject>>
) -> CppBox<QCandlestickSet>
Calls C++ function: [constructor] void QtCharts::QCandlestickSet::QCandlestickSet(double timestamp = …, QObject* parent = …)
.
pub unsafe fn new_6a(
open: c_double,
high: c_double,
low: c_double,
close: c_double,
timestamp: c_double,
parent: impl CastInto<MutPtr<QObject>>
) -> CppBox<QCandlestickSet>
[src]
open: c_double,
high: c_double,
low: c_double,
close: c_double,
timestamp: c_double,
parent: impl CastInto<MutPtr<QObject>>
) -> CppBox<QCandlestickSet>
Calls C++ function: [constructor] void QtCharts::QCandlestickSet::QCandlestickSet(double open, double high, double low, double close, double timestamp = …, QObject* parent = …)
.
pub unsafe fn new_0a() -> CppBox<QCandlestickSet>
[src]
Calls C++ function: [constructor] void QtCharts::QCandlestickSet::QCandlestickSet()
.
pub unsafe fn new_1a(timestamp: c_double) -> CppBox<QCandlestickSet>
[src]
Calls C++ function: [constructor] void QtCharts::QCandlestickSet::QCandlestickSet(double timestamp = …)
.
pub unsafe fn new_5a(
open: c_double,
high: c_double,
low: c_double,
close: c_double,
timestamp: c_double
) -> CppBox<QCandlestickSet>
[src]
open: c_double,
high: c_double,
low: c_double,
close: c_double,
timestamp: c_double
) -> CppBox<QCandlestickSet>
Calls C++ function: [constructor] void QtCharts::QCandlestickSet::QCandlestickSet(double open, double high, double low, double close, double timestamp = …)
.
pub unsafe fn new_4a(
open: c_double,
high: c_double,
low: c_double,
close: c_double
) -> CppBox<QCandlestickSet>
[src]
open: c_double,
high: c_double,
low: c_double,
close: c_double
) -> CppBox<QCandlestickSet>
Calls C++ function: [constructor] void QtCharts::QCandlestickSet::QCandlestickSet(double open, double high, double low, double close)
.
pub unsafe fn open(&self) -> c_double
[src]
This property holds the open value of the candlestick item.
Calls C++ function: double QtCharts::QCandlestickSet::open() const
.
This property holds the open value of the candlestick item.
Access functions:
qreal | open() const |
void | setOpen(qreal open) |
Notifier signal:
void | openChanged() |
pub unsafe fn pen(&self) -> CppBox<QPen>
[src]
This property holds the pen used to draw the lines of the candlestick item.
Calls C++ function: QPen QtCharts::QCandlestickSet::pen() const
.
This property holds the pen used to draw the lines of the candlestick item.
Access functions:
QPen | pen() const |
void | setPen(const QPen &pen) |
Notifier signal:
void | penChanged() |
pub unsafe fn qt_metacall(
&mut self,
arg1: Call,
arg2: c_int,
arg3: impl CastInto<MutPtr<*mut c_void>>
) -> c_int
[src]
&mut self,
arg1: Call,
arg2: c_int,
arg3: impl CastInto<MutPtr<*mut c_void>>
) -> c_int
Calls C++ function: virtual int QtCharts::QCandlestickSet::qt_metacall(QMetaObject::Call arg1, int arg2, void** arg3)
.
pub unsafe fn qt_metacast(
&mut self,
arg1: impl CastInto<Ptr<c_char>>
) -> MutPtr<c_void>
[src]
&mut self,
arg1: impl CastInto<Ptr<c_char>>
) -> MutPtr<c_void>
Calls C++ function: virtual void* QtCharts::QCandlestickSet::qt_metacast(const char* arg1)
.
pub unsafe fn set_brush(&mut self, brush: impl CastInto<Ref<QBrush>>)
[src]
This property holds the brush used to fill the candlestick item.
Calls C++ function: void QtCharts::QCandlestickSet::setBrush(const QBrush& brush)
.
This property holds the brush used to fill the candlestick item.
Access functions:
QBrush | brush() const |
void | setBrush(const QBrush &brush) |
Notifier signal:
void | brushChanged() |
pub unsafe fn set_close(&mut self, close: c_double)
[src]
This property holds the close value of the candlestick item.
Calls C++ function: void QtCharts::QCandlestickSet::setClose(double close)
.
This property holds the close value of the candlestick item.
Access functions:
qreal | close() const |
void | setClose(qreal close) |
Notifier signal:
void | closeChanged() |
pub unsafe fn set_high(&mut self, high: c_double)
[src]
This property holds the high value of the candlestick item.
Calls C++ function: void QtCharts::QCandlestickSet::setHigh(double high)
.
This property holds the high value of the candlestick item.
Access functions:
qreal | high() const |
void | setHigh(qreal high) |
Notifier signal:
void | highChanged() |
pub unsafe fn set_low(&mut self, low: c_double)
[src]
This property holds the low value of the candlestick item.
Calls C++ function: void QtCharts::QCandlestickSet::setLow(double low)
.
This property holds the low value of the candlestick item.
Access functions:
qreal | low() const |
void | setLow(qreal low) |
Notifier signal:
void | lowChanged() |
pub unsafe fn set_open(&mut self, open: c_double)
[src]
This property holds the open value of the candlestick item.
Calls C++ function: void QtCharts::QCandlestickSet::setOpen(double open)
.
This property holds the open value of the candlestick item.
Access functions:
qreal | open() const |
void | setOpen(qreal open) |
Notifier signal:
void | openChanged() |
pub unsafe fn set_pen(&mut self, pen: impl CastInto<Ref<QPen>>)
[src]
This property holds the pen used to draw the lines of the candlestick item.
Calls C++ function: void QtCharts::QCandlestickSet::setPen(const QPen& pen)
.
This property holds the pen used to draw the lines of the candlestick item.
Access functions:
QPen | pen() const |
void | setPen(const QPen &pen) |
Notifier signal:
void | penChanged() |
pub unsafe fn set_timestamp(&mut self, timestamp: c_double)
[src]
This property holds the timestamp value of the candlestick item.
Calls C++ function: void QtCharts::QCandlestickSet::setTimestamp(double timestamp)
.
This property holds the timestamp value of the candlestick item.
Access functions:
qreal | timestamp() const |
void | setTimestamp(qreal timestamp) |
Notifier signal:
void | timestampChanged() |
pub unsafe fn static_meta_object() -> Ref<QMetaObject>
[src]
Returns a reference to the staticMetaObject
field.
pub unsafe fn timestamp(&self) -> c_double
[src]
This property holds the timestamp value of the candlestick item.
Calls C++ function: double QtCharts::QCandlestickSet::timestamp() const
.
This property holds the timestamp value of the candlestick item.
Access functions:
qreal | timestamp() const |
void | setTimestamp(qreal timestamp) |
Notifier signal:
void | timestampChanged() |
pub unsafe fn tr(
s: impl CastInto<Ptr<c_char>>,
c: impl CastInto<Ptr<c_char>>,
n: c_int
) -> CppBox<QString>
[src]
s: impl CastInto<Ptr<c_char>>,
c: impl CastInto<Ptr<c_char>>,
n: c_int
) -> CppBox<QString>
Calls C++ function: static QString QtCharts::QCandlestickSet::tr(const char* s, const char* c, int n)
.
pub unsafe fn tr_utf8(
s: impl CastInto<Ptr<c_char>>,
c: impl CastInto<Ptr<c_char>>,
n: c_int
) -> CppBox<QString>
[src]
s: impl CastInto<Ptr<c_char>>,
c: impl CastInto<Ptr<c_char>>,
n: c_int
) -> CppBox<QString>
Calls C++ function: static QString QtCharts::QCandlestickSet::trUtf8(const char* s, const char* c, int n)
.
Trait Implementations
impl Deref for QCandlestickSet
[src]
type Target = QObject
The resulting type after dereferencing.
fn deref(&self) -> &QObject
[src]
Calls C++ function: QObject* static_cast<QObject*>(QtCharts::QCandlestickSet* ptr)
.
impl DerefMut for QCandlestickSet
[src]
fn deref_mut(&mut self) -> &mut QObject
[src]
Calls C++ function: QObject* static_cast<QObject*>(QtCharts::QCandlestickSet* ptr)
.
impl StaticUpcast<QObject> for QCandlestickSet
[src]
unsafe fn static_upcast(ptr: Ptr<QCandlestickSet>) -> Ptr<QObject>
[src]
Calls C++ function: QObject* static_cast<QObject*>(QtCharts::QCandlestickSet* ptr)
.
unsafe fn static_upcast_mut(ptr: MutPtr<QCandlestickSet>) -> MutPtr<QObject>
[src]
Calls C++ function: QObject* static_cast<QObject*>(QtCharts::QCandlestickSet* ptr)
.
impl StaticDowncast<QCandlestickSet> for QObject
[src]
unsafe fn static_downcast(ptr: Ptr<QObject>) -> Ptr<QCandlestickSet>
[src]
Calls C++ function: QtCharts::QCandlestickSet* static_cast<QtCharts::QCandlestickSet*>(QObject* ptr)
.
unsafe fn static_downcast_mut(ptr: MutPtr<QObject>) -> MutPtr<QCandlestickSet>
[src]
Calls C++ function: QtCharts::QCandlestickSet* static_cast<QtCharts::QCandlestickSet*>(QObject* ptr)
.
impl DynamicCast<QCandlestickSet> for QObject
[src]
unsafe fn dynamic_cast(ptr: Ptr<QObject>) -> Ptr<QCandlestickSet>
[src]
Calls C++ function: QtCharts::QCandlestickSet* dynamic_cast<QtCharts::QCandlestickSet*>(QObject* ptr)
.
unsafe fn dynamic_cast_mut(ptr: MutPtr<QObject>) -> MutPtr<QCandlestickSet>
[src]
Calls C++ function: QtCharts::QCandlestickSet* dynamic_cast<QtCharts::QCandlestickSet*>(QObject* ptr)
.
impl CppDeletable for QCandlestickSet
[src]
Auto Trait Implementations
impl Send for QCandlestickSet
impl Sync for QCandlestickSet
impl Unpin for QCandlestickSet
impl UnwindSafe for QCandlestickSet
impl RefUnwindSafe for QCandlestickSet
Blanket Implementations
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From<T> for 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>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
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> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> StaticUpcast<T> for T
[src]
unsafe fn static_upcast(ptr: Ptr<T>) -> Ptr<T>
[src]
unsafe fn static_upcast_mut(ptr: MutPtr<T>) -> MutPtr<T>
[src]
impl<T, U> CastInto<U> for T where
U: CastFrom<T>,
[src]
U: CastFrom<T>,