Nepomuk
#include <ktagcloudwidget.h>
Definition at line 29 of file ktagcloudwidget.h.
 
      
        
          | KTagCloudWidget::KTagCloudWidget  | 
          ( | 
          QWidget *  | 
          parent = 0 | ) | 
           | 
        
      
 
 
      
        
          | KTagCloudWidget::~KTagCloudWidget  | 
          ( | 
           | ) | 
           | 
        
      
 
 
  
  
      
        
          | void KTagCloudWidget::addTag  | 
          ( | 
          const QString &  | 
          tag,  | 
         
        
           | 
           | 
          int  | 
          weight  | 
         
        
           | 
          ) | 
           |  | 
         
       
   | 
  
slot   | 
  
 
Add tag to the cloud using the weight factor weight. 
Existing tags with the same name will be overwritten. 
 
 
  
  
      
        
          | void KTagCloudWidget::addTags  | 
          ( | 
          const QMap< QString, int > &  | 
          tags | ) | 
           | 
         
       
   | 
  
slot   | 
  
 
Add a set of tags with weight factors. 
 
 
  
  
      
        
          | void KTagCloudWidget::clear  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
slot   | 
  
 
Remove all tags from the cloud. 
 
 
  
  
      
        
          | void KTagCloudWidget::resizeEvent  | 
          ( | 
          QResizeEvent *  | 
          e | ) | 
           | 
         
       
   | 
  
protected   | 
  
 
 
  
  
      
        
          | void KTagCloudWidget::setMaxFontSize  | 
          ( | 
          int  | 
          pointSize | ) | 
           | 
         
       
   | 
  
slot   | 
  
 
Set the maximum font size to be used for the most popular tags. 
Default is 22. 
 
 
  
  
      
        
          | void KTagCloudWidget::setMinFontSize  | 
          ( | 
          int  | 
          pointSize | ) | 
           | 
         
       
   | 
  
slot   | 
  
 
Set the minimum font size to be used for the most unpopular tags. 
Default is 8. 
 
 
  
  
      
        
          | void KTagCloudWidget::tagClicked  | 
          ( | 
          const QString &  | 
          tag | ) | 
           | 
         
       
   | 
  
signal   | 
  
 
 
      
        
          | int KTagCloudWidget::tagWeight  | 
          ( | 
          const QString &  | 
          tag | ) | 
           const | 
        
      
 
Retrieve the weight for a certain tag. 
 
 
The documentation for this class was generated from the following file:
 
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:48:02 by
doxygen 1.8.7 written
by 
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.