#### PyKDE - Python Bindings for KDE

# class KGradientSelector

Table of contents
Modules
kdeui Classes
All Classes

Module | kdeui
Class | KGradientSelector
Inherits | KSelector

### methods

- KGradientSelector (parent = 0, name = 0)

  returns a KGradientSelector instance

  Argument | Type | Default
  --- | --- | ---
  parent | QWidget | 0
  name | char | 0

- KGradientSelector (o, parent = 0, name = 0)

  returns a KGradientSelector instance

  Argument | Type | Default
  --- | --- | ---
  o | Orientation |
  parent | QWidget | 0
  name | char | 0

- drawContents (a0)

  returns nothing

  Argument | Type | Default
  --- | --- | ---
  a0 | QPainter |

- firstColor ()

  returns (QColor)

- firstText ()

  returns (QString)

- minimumSize ()

  returns (QSize)

- secondColor ()

  returns (QColor)

- secondText ()

  returns (QString)

- setColors (col1, col2)

  returns nothing

  Argument | Type | Default
  --- | --- | ---
  col1 | QColor |
  col2 | QColor |

- setFirstColor (col)

  returns nothing

  Argument | Type | Default
  --- | --- | ---
  col | QColor |

- setFirstText (t)

  returns nothing

  Argument | Type | Default
  --- | --- | ---
  t | QString |

- setSecondColor (col)

  returns nothing

  Argument | Type | Default
  --- | --- | ---
  col | QColor |

- setSecondText (t)

  returns nothing

  Argument | Type | Default
  --- | --- | ---
  t | QString |

- setText (t1, t2)

  returns nothing

  Argument | Type | Default
  --- | --- | ---
  t1 | QString |
  t2 | QString |