# class KTagCloudWidget

###

Module | nepomuk
Namespace |
Class | KTagCloudWidget
Inherits | QWidget

### methods

- KTagCloudWidget (parent)

  returns ctor

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

- addTag (tag, weight)

  returns Nothing

  Argument | Type | Default
  --- | --- | ---
  tag | QString |
  weight | int |

  Add tag to the cloud using the weight factor weight. Existing tags with the same name will be overwritten.

- addTags (tags)

  returns Nothing

  Argument | Type | Default
  --- | --- | ---
  tags | QMap<QString,int> |

  Add a set of tags with weight factors

- clear ( )

  returns Nothing

  Remove all tags from the cloud.

- resizeEvent (e)

  returns Nothing

  Argument | Type | Default
  --- | --- | ---
  e | QResizeEvent |

- setMaxFontSize (pointSize)

  returns Nothing

  Argument | Type | Default
  --- | --- | ---
  pointSize | int |

  Set the maximum font size to be used for the most popular tags. Default is 22.

- setMinFontSize (pointSize)

  returns Nothing

  Argument | Type | Default
  --- | --- | ---
  pointSize | int |

  Set the minimum font size to be used for the most unpopular tags. Default is 8.

- tagClicked (tag)

  returns Nothing
  SIGNAL ("tagClicked (const QString&)")

  Argument | Type | Default
  --- | --- | ---
  tag | QString |

- tagWeight (tag)

  returns int

  Argument | Type | Default
  --- | --- | ---
  tag | QString |

  Retrieve the weight for a certain tag