#### PyKDE - Python Bindings for KDE

# class KDateTable |
Table of contents
Modules
tdeui Classes
All Classes

Module | tdeui
Class | KDateTable
Inherits | TQGridView

### enums

- BackgroundMode = {NoBgMode, RectangleMode, CircleMode }

### methods

- KDateTable (parent = 0, date = TQDate .currentDate (), name = 0, f = 0)

  returns a KDateTable instance
  Argument | Type | Default
  --- | --- | ---
  parent | TQWidget | 0
  date | TQDate | TQDate .currentDate ()
  name | char | 0
  f | WFlags | 0

- KDateTable (parent, name, f = 0)

  returns a KDateTable instance
  In versions KDE 3.4.0 and above only
  Argument | Type | Default
  --- | --- | ---
  parent | TQWidget |
  name | char |
  f | WFlags | 0

- aboutToShowContextMenu (menu, date)

  returns nothing
  In versions KDE 3.2.0 and above only
  Argument | Type | Default
  --- | --- | ---
  menu | TDEPopupMenu |
  date | TQDate |

- contentsMousePressEvent (a0)

  returns nothing
  Argument | Type | Default
  --- | --- | ---
  a0 | TQMouseEvent |

- dateChanged (a0)

  returns nothing
  Argument | Type | Default
  --- | --- | ---
  a0 | TQDate |

- dateChanged (cur, old)

  returns nothing
  In versions KDE 3.2.0 and above only
  Argument | Type | Default
  --- | --- | ---
  cur | TQDate |
  old | TQDate |

- dateFromPos (pos)

  returns (TQDate)
  In versions KDE 3.2.0 and above only
  Argument | Type | Default
  --- | --- | ---
  pos | int |

- focusInEvent (e)

  returns nothing
  Argument | Type | Default
  --- | --- | ---
  e | TQFocusEvent |

- focusOutEvent (e)

  returns nothing
  Argument | Type | Default
  --- | --- | ---
  e | TQFocusEvent |

- getDate ()

  returns (TQDate)

- keyPressEvent (e)

  returns nothing
  Argument | Type | Default
  --- | --- | ---
  e | TQKeyEvent |

- paintCell (a0, a1, a2)

  returns nothing
  Argument | Type | Default
  --- | --- | ---
  a0 | TQPainter |
  a1 | int |
  a2 | int |

- popupMenuEnabled ()

  returns (bool)
  In versions KDE 3.2.0 and above only

- posFromDate (date)

  returns (int)
  In versions KDE 3.2.0 and above only
  Argument | Type | Default
  --- | --- | ---
  date | TQDate |

- setCustomDatePainting (date, fgColor, bgMode = NoBgMode, bgColor = TQColor ())

  returns nothing
  In versions KDE 3.2.0 and above only
  Argument | Type | Default
  --- | --- | ---
  date | TQDate |
  fgColor | TQColor |
  bgMode | BackgroundMode | NoBgMode
  bgColor | TQColor | TQColor ()

- setDate (a0)

  returns (bool)
  Argument | Type | Default
  --- | --- | ---
  a0 | TQDate |

- setFontSize (size)

  returns nothing
  Argument | Type | Default
  --- | --- | ---
  size | int |

- setPopupMenuEnabled (enable)

  returns nothing
  In versions KDE 3.2.0 and above only
  Argument | Type | Default
  --- | --- | ---
  enable | bool |

- sizeHint ()

  returns (TQSize)

- tableClicked ()

  returns nothing

- unsetCustomDatePainting (date)

  returns nothing
  In versions KDE 3.2.0 and above only
  Argument | Type | Default
  --- | --- | ---
  date | TQDate |

- viewportResizeEvent (a0)

  returns nothing
  Argument | Type | Default
  --- | --- | ---
  a0 | TQResizeEvent |

- wheelEvent (e)

  returns nothing
  In versions KDE 3.1.0 and above only
  Argument | Type | Default
  --- | --- | ---
  e | TQWheelEvent |