class KDateInternalMonthPicker

A table containing month names. More...

Internal Use Only
Definition#include <kdatetbl.h>
InheritsQTableView (qt)
List of all Methods
Annotated List
Files
Globals
Hierarchy
Index

Public Methods

Signals

Protected Methods

Protected Members


Detailed Description

A table containing month names. It is used to pick a month directly.

int result

[protected]

Store the month that has been clicked [1..12].

QRect max

[protected]

Contains the largest rectangle needed by the month names.

void  closeMe (int)

[signal]

This is send from the mouse click event handler.

 KDateInternalMonthPicker (int fontsize, QWidget* parent, const char* name=0)

The constructor.

QSize  sizeHint ()

[const]

The size hint.

Reimplemented from QWidget

int  getResult ()

Return the result. 0 means no selection (reject()), 1..12 are the months.

void  setupPainter (QPainter *p)

[protected]

Set up the painter.

Reimplemented from QTableView

void  resizeEvent (QResizeEvent*)

[protected]

The resize event.

Reimplemented from QTableView

void  paintCell (QPainter* painter, int row, int col)

[protected]

Paint a cell. This simply draws the month names in it.

Reimplemented from QTableView

void  mousePressEvent (QMouseEvent *e)

[protected]

Catch mouse click events. Emit monthSelected(int) when a cell has been clicked.

Reimplemented from QWidget