#include <KoDetailsPane.h>
Inherits KoDetailsPaneBase.
Public Slots | |
| void | resizeSplitter (KoDetailsPaneBase *sender, const TQValueList< int > &sizes) |
Signals | |
| void | openTemplate (const TQString &) |
| void | alwaysUseChanged (KoTemplatesPane *sender, const TQString &alwaysUse) |
| void | splitterResized (KoDetailsPaneBase *sender, const TQValueList< int > &sizes) |
Public Member Functions | |
| KoTemplatesPane (TQWidget *parent, TDEInstance *instance, KoTemplateGroup *group, KoTemplate *defaultTemplate) | |
| bool | isSelected () |
| virtual bool | eventFilter (TQObject *watched, TQEvent *e) |
Protected Slots | |
| void | selectionChanged (TQListViewItem *item) |
| void | openTemplate () |
| void | openTemplate (TQListViewItem *item) |
| void | alwaysUseClicked () |
| void | changeAlwaysUseTemplate (KoTemplatesPane *sender, const TQString &alwaysUse) |
| void | changePalette () |
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.
Constructor & Destructor Documentation
◆ KoTemplatesPane()
| KoTemplatesPane::KoTemplatesPane | ( | TQWidget * | parent, |
| TDEInstance * | 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.
◆ ~KoTemplatesPane()
| KoTemplatesPane::~KoTemplatesPane | ( | ) |
Definition at line 144 of file KoDetailsPane.cpp.
Member Function Documentation
◆ alwaysUseChanged
|
signal |
Emited when the always use checkbox is selected.
◆ alwaysUseClicked
|
protectedslot |
Definition at line 197 of file KoDetailsPane.cpp.
◆ changeAlwaysUseTemplate
|
protectedslot |
Definition at line 212 of file KoDetailsPane.cpp.
◆ changePalette
|
protectedslot |
Definition at line 184 of file KoDetailsPane.cpp.
◆ eventFilter()
|
virtual |
Definition at line 227 of file KoDetailsPane.cpp.
◆ isSelected()
| bool KoTemplatesPane::isSelected | ( | ) |
Returns true if a template in this group was the last one selected.
Definition at line 192 of file KoDetailsPane.cpp.
◆ openTemplate [1/2]
|
protectedslot |
Definition at line 167 of file KoDetailsPane.cpp.
◆ openTemplate [2/2]
|
protectedslot |
Definition at line 173 of file KoDetailsPane.cpp.
◆ resizeSplitter
|
slot |
Definition at line 244 of file KoDetailsPane.cpp.
◆ selectionChanged
|
protectedslot |
Definition at line 149 of file KoDetailsPane.cpp.
The documentation for this class was generated from the following files:
