Fluid
Loading...
Searching...
No Matches
Public Types | Signals | Public Member Functions | Protected Member Functions | Properties | List of all members
Picker Class Reference

#include <picker.h>

Inheritance diagram for Picker:
Inheritance graph
[legend]
Collaboration diagram for Picker:
Collaboration graph
[legend]

Public Types

enum  Orientation { Landscape , Portrait }
 

Signals

void localeChanged ()
 
void orientationChanged ()
 
void backgroundChanged ()
 
void headerChanged ()
 
void selectorChanged ()
 
void footerChanged ()
 
void accepted (const QDate &date)
 
void rejected ()
 

Public Member Functions

 Picker (QQuickItem *parent=nullptr)
 
QLocale locale () const
 
void setLocale (const QLocale &locale)
 
Orientation orientation () const
 
void setOrientation (Orientation orientation)
 
void resetOrientation ()
 
QQuickItem * background () const
 
void setBackground (QQuickItem *item)
 
QQuickItem * header () const
 
void setHeader (QQuickItem *item)
 
QQuickItem * selector () const
 
void setSelector (QQuickItem *item)
 
QQuickItem * footer () const
 
void setFooter (QQuickItem *item)
 

Protected Member Functions

void componentComplete () override
 
void geometryChange (const QRectF &newGeometry, const QRectF &oldGeometry) override
 

Properties

QLocale locale
 
Orientation orientation
 
QQuickItem * background
 
QQuickItem * header
 
QQuickItem * selector
 
QQuickItem * footer
 

Member Enumeration Documentation

◆ Orientation

Enumerator
Landscape 
Portrait 

Constructor & Destructor Documentation

◆ Picker()

Picker::Picker ( QQuickItem *  parent = nullptr)
explicit

Member Function Documentation

◆ accepted

void Picker::accepted ( const QDate &  date)
signal

◆ background()

QQuickItem * Picker::background ( ) const

◆ backgroundChanged

void Picker::backgroundChanged ( )
signal

◆ componentComplete()

void Picker::componentComplete ( )
overrideprotected

◆ footer()

QQuickItem * Picker::footer ( ) const

◆ footerChanged

void Picker::footerChanged ( )
signal

◆ geometryChange()

void Picker::geometryChange ( const QRectF &  newGeometry,
const QRectF &  oldGeometry 
)
overrideprotected

◆ header()

QQuickItem * Picker::header ( ) const

◆ headerChanged

void Picker::headerChanged ( )
signal

◆ locale()

QLocale Picker::locale ( ) const

◆ localeChanged

void Picker::localeChanged ( )
signal

◆ orientation()

Picker::Orientation Picker::orientation ( ) const

◆ orientationChanged

void Picker::orientationChanged ( )
signal

◆ rejected

void Picker::rejected ( )
signal

◆ resetOrientation()

void Picker::resetOrientation ( )

◆ selector()

QQuickItem * Picker::selector ( ) const

◆ selectorChanged

void Picker::selectorChanged ( )
signal

◆ setBackground()

void Picker::setBackground ( QQuickItem *  item)

◆ setFooter()

void Picker::setFooter ( QQuickItem *  item)

◆ setHeader()

void Picker::setHeader ( QQuickItem *  item)

◆ setLocale()

void Picker::setLocale ( const QLocale &  locale)

◆ setOrientation()

void Picker::setOrientation ( Picker::Orientation  orientation)

◆ setSelector()

void Picker::setSelector ( QQuickItem *  item)

Property Documentation

◆ background

QQuickItem * Picker::background
readwrite

This property holds the background item.

◆ footer

QQuickItem * Picker::footer
readwrite

This property holds the footer item.

◆ header

QQuickItem * Picker::header
readwrite

This property holds the header item.

◆ locale

QLocale Picker::locale
readwrite

This property holds the locale of the control.

◆ orientation

Orientation Picker::orientation
readwrite

This property holds the date picker orientation. The default value is automatically selected based on the device orientation.

Possible values:

◆ selector

QQuickItem * Picker::selector
readwrite

This property holds the selector item.


The documentation for this class was generated from the following files: