class KToolBarButton

#### PyKDE - Python Bindings for KDE

# class KToolBarButton |
Table of contents
Modules
kdeui Classes
All Classes

Module | kdeui
Class | KToolBarButton
Inherits | QToolButton

### methods

- KToolBarButton (icon, id, parent, name = 0, txt = QString .null, _instance = KGlobal .instance ())

  returns a KToolBarButton instance
  Argument | Type | Default
  --- | --- | ---
  icon | QString |
  id | int |
  parent | QWidget |
  name | char | 0
  txt | QString | QString .null
  _instance | KInstance | KGlobal .instance ()

- KToolBarButton (pixmap, id, parent, name = 0, txt = QString .null)

  returns a KToolBarButton instance
  Argument | Type | Default
  --- | --- | ---
  pixmap | QPixmap |
  id | int |
  parent | QWidget |
  name | char | 0
  txt | QString | QString .null

- KToolBarButton (parent = 0, name = 0)

  returns a KToolBarButton instance
  Argument | Type | Default
  --- | --- | ---
  parent | QWidget | 0
  name | char | 0

- clicked (a0)

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

- doubleClicked (a0)

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

- drawButton (p)

  returns nothing
  Argument | Type | Default
  --- | --- | ---
  p | QPainter |

- enterEvent (e)

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

- eventFilter (o, e)

  returns (bool)
  Argument | Type | Default
  --- | --- | ---
  o | QObject |
  e | QEvent |

- highlighted (a0, a1)

  returns nothing
  Argument | Type | Default
  --- | --- | ---
  a0 | int |
  a1 | bool |

- iconTextMode ()

  returns (int)
  In versions KDE 3.0.1 and above only

- id ()

  returns (int)
  In versions KDE 3.2.0 and above only

- isActive ()

  returns (bool)
  In versions KDE 3.0.1 and above only

- isRaised ()

  returns (bool)
  In versions KDE 3.0.1 and above only

- leaveEvent (e)

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

- minimumSize ()

  returns (QSize)

- minimumSizeHint ()

  returns (QSize)

- modeChange ()

  returns nothing

- on (flag = 1)

  returns nothing
  Argument | Type | Default
  --- | --- | ---
  flag | bool | 1

- paletteChange (a0)

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

- popup ()

  returns (QPopupMenu)

- pressed (a0)

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

- released (a0)

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

- setDefaultIcon (icon)

  returns nothing
  Argument | Type | Default
  --- | --- | ---
  icon | QString |

- setDefaultPixmap (pixmap)

  returns nothing
  Argument | Type | Default
  --- | --- | ---
  pixmap | QPixmap |

- setDelayedPopup (p, unused = 0)

  returns nothing
  Argument | Type | Default
  --- | --- | ---
  p | QPopupMenu |
  unused | bool | 0

- setDisabledIcon (icon)

  returns nothing
  Argument | Type | Default
  --- | --- | ---
  icon | QString |

- setDisabledPixmap (pixmap)

  returns nothing
  Argument | Type | Default
  --- | --- | ---
  pixmap | QPixmap |

- setIcon (icon)

  returns nothing
  Argument | Type | Default
  --- | --- | ---
  icon | QString |

- setIcon (pixmap)

  returns nothing
  In versions KDE 3.0.1 and above only
  Argument | Type | Default
  --- | --- | ---
  pixmap | QPixmap |

- setIcon (icon, generate)

  returns nothing
  Argument | Type | Default
  --- | --- | ---
  icon | QString |
  generate | bool |

- setIconSet (iconset)

  returns nothing
  Argument | Type | Default
  --- | --- | ---
  iconset | QIconSet |

- setNoStyle (no_style = 1)

  returns nothing
  Argument | Type | Default
  --- | --- | ---
  no_style | bool | 1

- setPixmap (pixmap)

  returns nothing
  Argument | Type | Default
  --- | --- | ---
  pixmap | QPixmap |

- setPopup (p, unused)

  returns nothing
  Argument | Type | Default
  --- | --- | ---
  p | QPopupMenu |
  unused | bool |

- setRadio (f = 1)

  returns nothing
  Argument | Type | Default
  --- | --- | ---
  f | bool | 1

- setText (text)

  returns nothing
  Argument | Type | Default
  --- | --- | ---
  text | QString |

- setTextLabel (a0, tipToo)

  returns nothing
  Argument | Type | Default
  --- | --- | ---
  a0 | QString |
  tipToo | bool |

- setToggle (toggle = 1)

  returns nothing
  Argument | Type | Default
  --- | --- | ---
  toggle | bool | 1

- showMenu ()

  returns nothing

- sizeHint ()

  returns (QSize)

- slotClicked ()

  returns nothing

- slotDelayTimeout ()

  returns nothing

- slotPressed ()

  returns nothing

- slotReleased ()

  returns nothing

- slotToggled ()

  returns nothing

- toggle ()

  returns nothing

- toggled (a0)

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