[][src]Struct qt_charts::QCandlestickSet

#[repr(C)]
pub struct QCandlestickSet { /* fields omitted */ }

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.

C++ documentation:

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.

C++ documentation:

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.

C++ documentation:

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.

C++ documentation:

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.

C++ documentation:

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.

C++ documentation:

This signal is emitted when the candlestick item timestamp changes.

Note: Notifier signal for property timestamp.

See also timestamp.

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.

C++ documentation:

This signal is emitted when the candlestick item open value changes.

Note: Notifier signal for property open.

See also open.

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.

C++ documentation:

This signal is emitted when the candlestick item high value changes.

Note: Notifier signal for property high.

See also high.

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.

C++ documentation:

This signal is emitted when the candlestick item low value changes.

Note: Notifier signal for property low.

See also low.

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.

C++ documentation:

This signal is emitted when the candlestick item close value changes.

Note: Notifier signal for property close.

See also close.

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.

C++ documentation:

This signal is emitted when the candlestick item brush changes.

Note: Notifier signal for property brush.

See also brush.

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.

C++ documentation:

This signal is emitted when the candlestick item pen changes.

Note: Notifier signal for property pen.

See also pen.

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.

C++ documentation:

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.

C++ documentation:

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.

C++ documentation:

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.

C++ documentation:

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]

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]

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]

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]

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.

C++ documentation:

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.

C++ documentation:

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]

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]

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).

C++ documentation:

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).

C++ documentation:

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).

C++ documentation:

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).

C++ documentation:

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).

C++ documentation:

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).

C++ documentation:

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).

C++ documentation:

This property holds the timestamp value of the candlestick item.

Access functions:

qreal timestamp() const
void setTimestamp(qreal timestamp)

Notifier signal:

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.

C++ documentation:

This property holds the timestamp value of the candlestick item.

Access functions:

qreal timestamp() const
void setTimestamp(qreal timestamp)

Notifier signal:

pub unsafe fn tr(
    s: impl CastInto<Ptr<c_char>>,
    c: impl CastInto<Ptr<c_char>>,
    n: c_int
) -> CppBox<QString>
[src]

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]

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]

unsafe fn delete(&mut self)[src]

Destroys the candlestick item.

Calls C++ function: virtual [destructor] void QtCharts::QCandlestickSet::~QCandlestickSet().

C++ documentation:

Destroys the candlestick item.

Auto Trait Implementations

Blanket Implementations

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> StaticUpcast<T> for T[src]

impl<T, U> CastInto<U> for T where
    U: CastFrom<T>, 
[src]