org.kde.koala
public class KDateTable extends QGridView
Version: $Id: KDateTable.java 473384 2005-10-23 14:17:09Z rdale $
UNKNOWN: Date selection table.
Field Summary | |
---|---|
static int | CircleMode |
static int | NoBgMode |
static int | RectangleMode |
Constructor Summary | |
---|---|
protected | KDateTable(Class dummy) |
KDateTable(QWidget parent, Calendar date, String name, int f)
The constructor. | |
KDateTable(QWidget parent, Calendar date, String name) | |
KDateTable(QWidget parent, Calendar date) | |
KDateTable(QWidget parent) | |
KDateTable() | |
KDateTable(QWidget parent, String name, int f)
The constructor. | |
KDateTable(QWidget parent, String name) |
Method Summary | |
---|---|
String | className() |
protected void | contentsMousePressEvent(QMouseEvent arg1)
React on mouse clicks that select a date. |
protected Calendar | dateFromPos(int pos)
calculate the date that is displayed at a given cell in the matrix. pos is the
0-based index in the matrix. |
void | dispose() Delete the wrapped C++ instance ahead of finalize() |
protected void | finalize() Deletes the wrapped C++ instance |
protected void | focusInEvent(QFocusEvent e) |
protected void | focusOutEvent(QFocusEvent e) |
Calendar | getDate() |
boolean | isDisposed() Has the wrapped C++ instance been deleted? |
protected void | keyPressEvent(QKeyEvent e) |
QMetaObject | metaObject() |
void | paintCell(QPainter arg1, int arg2, int arg3)
Paint a cell. |
boolean | popupMenuEnabled()
Returns if the popup menu is enabled or not |
protected int | posFromDate(Calendar date)
calculate the position of the cell in the matrix for the given date. |
void | setCustomDatePainting(Calendar date, QColor fgColor, int bgMode, QColor bgColor)
Makes a given date be painted with a given foregroundColor, and background
(a rectangle, or a circle/ellipse) in a given color. |
void | setCustomDatePainting(Calendar date, QColor fgColor, int bgMode) |
void | setCustomDatePainting(Calendar date, QColor fgColor) |
boolean | setDate(Calendar arg1)
Select and display this date. |
void | setFontSize(int size)
Set the font size of the date table. |
void | setPopupMenuEnabled(boolean enable)
Enables a popup menu when right clicking on a date.
|
QSize | sizeHint()
Returns a recommended size for the widget.
|
void | unsetCustomDatePainting(Calendar date)
Unsets the custom painting of a date so that the date is painted as usual. |
protected void | viewportResizeEvent(QResizeEvent arg1)
Handle the resize events. |
protected void | wheelEvent(QWheelEvent e) |
UNKNOWN: The constructor.
UNKNOWN: The constructor.
UNKNOWN: React on mouse clicks that select a date.
UNKNOWN: calculate the date that is displayed at a given cell in the matrix.
UNKNOWN: Paint a cell.
UNKNOWN: Returns if the popup menu is enabled or not
UNKNOWN: calculate the position of the cell in the matrix for the given date.
UNKNOWN: Makes a given date be painted with a given foregroundColor, and background (a rectangle, or a circle/ellipse) in a given color.
UNKNOWN: Select and display this date.
UNKNOWN: Set the font size of the date table.
UNKNOWN: Enables a popup menu when right clicking on a date.
UNKNOWN: Returns a recommended size for the widget.
UNKNOWN: Unsets the custom painting of a date so that the date is painted as usual.
UNKNOWN: Handle the resize events.