#### PyKDE - Python Bindings for KDE

# class KDateTable

Table of contents
Modules
kdeui Classes
All Classes

Module | kdeui
Class | KDateTable
Inherits | QGridView

### enums

- BackgroundMode = {NoBgMode = 0, RectangleMode, CircleMode }

### methods

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

  returns a KDateTable instance

  Argument | Type | Default
  --- | --- | ---
  parent | QWidget | 0
  date | QDate | QDate .currentDate ()
  name | char | 0
  f | WFlags | 0

- aboutToShowContextMenu (menu, date)

  returns nothing
  In versions KDE 3.2.0 and above only

  Argument | Type | Default
  --- | --- | ---
  menu | KPopupMenu |
  date | QDate |

- contentsMousePressEvent (a0)

  returns nothing

  Argument | Type | Default
  --- | --- | ---
  a0 | QMouseEvent |

- dateChanged (a0)

  returns nothing

  Argument | Type | Default
  --- | --- | ---
  a0 | QDate |

- dateChanged (cur, old)

  returns nothing
  In versions KDE 3.2.0 and above only

  Argument | Type | Default
  --- | --- | ---
  cur | QDate |
  old | QDate |

- dateFromPos (pos)

  returns (QDate)
  In versions KDE 3.2.0 and above only

  Argument | Type | Default
  --- | --- | ---
  pos | int |

- focusInEvent (e)

  returns nothing

  Argument | Type | Default
  --- | --- | ---
  e | QFocusEvent |

- focusOutEvent (e)

  returns nothing

  Argument | Type | Default
  --- | --- | ---
  e | QFocusEvent |

- getDate ()

  returns (QDate)

- keyPressEvent (e)

  returns nothing

  Argument | Type | Default
  --- | --- | ---
  e | QKeyEvent |

- paintCell (a0, a1, a2)

  returns nothing

  Argument | Type | Default
  --- | --- | ---
  a0 | QPainter |
  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 | QDate |

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

  returns nothing
  In versions KDE 3.2.0 and above only

  Argument | Type | Default
  --- | --- | ---
  date | QDate |
  fgColor | QColor |
  bgMode | BackgroundMode | NoBgMode
  bgColor | QColor | QColor ()

- setDate (a0)

  returns (bool)

  Argument | Type | Default
  --- | --- | ---
  a0 | QDate |

- 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 (QSize)

- tableClicked ()

  returns nothing

- unsetCustomDatePainting (date)

  returns nothing
  In versions KDE 3.2.0 and above only

  Argument | Type | Default
  --- | --- | ---
  date | QDate |

- viewportResizeEvent (a0)

  returns nothing

  Argument | Type | Default
  --- | --- | ---
  a0 | QResizeEvent |

- wheelEvent (e)

  returns nothing
  In versions KDE 3.1.0 and above only

  Argument | Type | Default
  --- | --- | ---
  e | QWheelEvent |