lib
KoTemplatesPane Class Reference
#include <KoDetailsPane.h>
Detailed Description
This widget is the right-side part of the template opening widget.The parent widget is initial widget in the document space of each KOffice component. This widget shows a list of templates and can show their details or open it.
Definition at line 46 of file KoDetailsPane.h.
Public Slots | |
void | resizeSplitter (KoDetailsPaneBase *sender, const QValueList< int > &sizes) |
Signals | |
void | openTemplate (const QString &) |
void | alwaysUseChanged (KoTemplatesPane *sender, const QString &alwaysUse) |
void | splitterResized (KoDetailsPaneBase *sender, const QValueList< int > &sizes) |
Public Member Functions | |
KoTemplatesPane (QWidget *parent, KInstance *instance, KoTemplateGroup *group, KoTemplate *defaultTemplate) | |
~KoTemplatesPane () | |
bool | isSelected () |
virtual bool | eventFilter (QObject *watched, QEvent *e) |
Protected Slots | |
void | selectionChanged (QListViewItem *item) |
void | openTemplate () |
void | openTemplate (QListViewItem *item) |
void | alwaysUseClicked () |
void | changeAlwaysUseTemplate (KoTemplatesPane *sender, const QString &alwaysUse) |
void | changePalette () |
Constructor & Destructor Documentation
KoTemplatesPane::KoTemplatesPane | ( | QWidget * | parent, | |
KInstance * | instance, | |||
KoTemplateGroup * | group, | |||
KoTemplate * | defaultTemplate | |||
) |
Constructor.
- Parameters:
-
parent the parent widget instance the instance object for the app group the group of templates this widget will show. defaultTemplate pointer to the default template. Used to select a template when none has been selected before.
Definition at line 84 of file KoDetailsPane.cpp.
Member Function Documentation
bool KoTemplatesPane::isSelected | ( | ) |
Returns true if a template in this group was the last one selected.
Definition at line 192 of file KoDetailsPane.cpp.
void KoTemplatesPane::alwaysUseChanged | ( | KoTemplatesPane * | sender, | |
const QString & | alwaysUse | |||
) | [signal] |
Emited when the always use checkbox is selected.
The documentation for this class was generated from the following files: