Eneboo - Documentación para desarrolladores
Métodos públicos | Métodos protegidos
Referencia de la Clase QDateTimeEditor
Diagrama de herencias de QDateTimeEditor
QWidget QObject QPaintDevice QObject QPaintDevice Qt Qt Qt Qt

Lista de todos los miembros.

Métodos públicos

 QDateTimeEditor (QDateTimeEditBase *widget, QWidget *parent, const char *name=0)
 ~QDateTimeEditor ()
void setControlWidget (QDateTimeEditBase *widget)
QDateTimeEditBasecontrolWidget () const
void setSeparator (const QString &s)
QString separator () const
int focusSection () const
bool setFocusSection (int s)
void appendSection (const QNumberSection &sec)
void clearSections ()
void setSectionSelection (int sec, int selstart, int selend)
bool eventFilter (QObject *o, QEvent *e)
int sectionAt (const QPoint &p)
int mapSection (int sec)

Métodos protegidos

void init ()
bool event (QEvent *e)
void resizeEvent (QResizeEvent *)
void paintEvent (QPaintEvent *)
void mousePressEvent (QMouseEvent *e)

Documentación del constructor y destructor

QDateTimeEditor::QDateTimeEditor ( QDateTimeEditBase widget,
QWidget parent,
const char *  name = 0 
)

Constructs an empty datetime editor with parent parent and called name.

QDateTimeEditor::~QDateTimeEditor ( )

Destroys the object and frees any allocated resources.


Documentación de las funciones miembro

void QDateTimeEditor::appendSection ( const QNumberSection sec)

Appends the number section sec to the editor.

void QDateTimeEditor::clearSections ( )

Removes all sections from the editor.

QDateTimeEditBase* QDateTimeEditor::controlWidget ( ) const
bool QDateTimeEditor::event ( QEvent e) [protected, virtual]

Reimplementado de QWidget.

bool QDateTimeEditor::eventFilter ( QObject o,
QEvent e 
) [virtual]

Reimplementado de QObject.

int QDateTimeEditor::focusSection ( ) const

Returns the number of the section that has focus.

void QDateTimeEditor::init ( ) [protected]
int QDateTimeEditor::mapSection ( int  sec)
void QDateTimeEditor::mousePressEvent ( QMouseEvent e) [protected, virtual]

Reimplementado de QWidget.

void QDateTimeEditor::paintEvent ( QPaintEvent ) [protected, virtual]

Reimplementado de QWidget.

void QDateTimeEditor::resizeEvent ( QResizeEvent e) [protected, virtual]

Reimplementado de QWidget.

int QDateTimeEditor::sectionAt ( const QPoint p)

Returns the section index at point p.

QString QDateTimeEditor::separator ( ) const

Returns the editor's separator.

void QDateTimeEditor::setControlWidget ( QDateTimeEditBase widget)
bool QDateTimeEditor::setFocusSection ( int  sec)

Sets the focus to section sec. If sec does not exist, nothing happens.

void QDateTimeEditor::setSectionSelection ( int  sec,
int  selstart,
int  selend 
)

Sets the selection of sec to start at selstart and end at selend.

void QDateTimeEditor::setSeparator ( const QString s)

Sets the separator for all numbered sections to s. Note that currently, only the first character of s is used.


La documentación para esta clase fue generada a partir del siguiente fichero:
 Todo Clases Namespaces Archivos Funciones Variables 'typedefs' Enumeraciones Valores de enumeraciones Propiedades Amigas 'defines'