KParts
Go to the documentation of this file.
   20 #ifndef __kpartmanager_h__ 
   21 #define __kpartmanager_h__ 
   23 #include <QtGui/QWidget> 
   34 class PartManagerPrivate;
 
   51     Q_PROPERTY( 
SelectionPolicy selectionPolicy READ selectionPolicy WRITE setSelectionPolicy )
 
   52     Q_PROPERTY( 
bool allowNestedParts READ allowNestedParts WRITE setAllowNestedParts )
 
   53     Q_PROPERTY( 
bool ignoreScrollBars READ ignoreScrollBars WRITE setIgnoreScrollBars )
 
   87     void setSelectionPolicy( SelectionPolicy policy );
 
   91     SelectionPolicy selectionPolicy() 
const;
 
  105     void setAllowNestedParts( 
bool allow );
 
  109     bool allowNestedParts() 
const;
 
  119     void setIgnoreScrollBars( 
bool ignore );
 
  123     bool ignoreScrollBars() 
const;
 
  130     void setActivationButtonMask( 
short int buttonMask );
 
  134     short int activationButtonMask() 
const;
 
  148     virtual void addPart( 
Part *part, 
bool setActive = 
true );
 
  155     virtual void removePart( 
Part *part );
 
  162     virtual void replacePart( 
Part * oldPart, 
Part * newPart, 
bool setActive = 
true );
 
  172     virtual void setActivePart( 
Part *part, 
QWidget *widget = 0 );
 
  177     virtual Part *activePart() 
const;
 
  182     virtual QWidget *activeWidget() 
const;
 
  192     virtual void setSelectedPart( 
Part *part, 
QWidget *widget = 0 );
 
  197     virtual Part *selectedPart() 
const;
 
  202     virtual QWidget *selectedWidget() 
const;
 
  216     void addManagedTopLevelWidget( 
const QWidget *topLevel );
 
  221     void removeManagedTopLevelWidget( 
const QWidget *topLevel );
 
  264     void setIgnoreExplictFocusRequests(
bool);
 
  270     void slotObjectDestroyed();
 
  275     void slotWidgetDestroyed();
 
  280     void slotManagedTopLevelWidgetDestroyed();
 
  286     PartManagerPrivate* 
const d;
 
void setActiveComponent(const KComponentData &d)
 
Reason
This extends QFocusEvent::Reason with the non-focus-event reasons for partmanager to activate a part...
 
SelectionPolicy
Selection policy. The default policy of a PartManager is Direct. 
 
The part manager is an object which knows about a collection of parts (even nested ones) and handles ...
 
  
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:25:36 by
doxygen 1.8.7 written
by 
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.