#include <KoOpenPane.h>
Graphe de collaboration de KoOpenPane:
Signaux | |
| void | openExistingFile (const KUrl &) |
| void | openTemplate (const KUrl &) |
| void | alwaysUseChanged (KoTemplatesPane *sender, const QString &alwaysUse) |
| Emitted when the always use template has changed. | |
| void | splitterResized (KoDetailsPane *sender, const QList< int > &sizes) |
| Emitted when one of the detail panes have changed it's splitter. | |
Fonctions membres publiques | |
| KoOpenPane (QWidget *parent, KInstance *instance, const QString &templateType=QString::null) | |
| virtual | ~KoOpenPane () |
| Q3ListViewItem * | addPane (const QString &title, const QString &icon, QWidget *widget, int sortWeight) |
| Q3ListViewItem * | addPane (const QString &title, const QPixmap &icon, QWidget *widget, int sortWeight) |
| void | setCustomDocumentWidget (QWidget *widget) |
Connecteurs protégés | |
| void | showOpenFileDialog () |
| void | selectionChanged (Q3ListViewItem *item) |
| void | itemClicked (Q3ListViewItem *item) |
| void | saveSplitterSizes (KoDetailsPane *sender, const QList< int > &sizes) |
| Saves the splitter sizes for KoDetailsPaneBase based panes. | |
Fonctions membres protégées | |
| void | initRecentDocs () |
| void | initTemplates (const QString &templateType) |
| void | updateSectionListMaxHeight () |
Attributs privés | |
| KoOpenPanePrivate * | d |
Définition à la ligne 37 du fichier KoOpenPane.h.
| KoOpenPane::KoOpenPane | ( | QWidget * | parent, | |
| KInstance * | instance, | |||
| const QString & | templateType = QString::null | |||
| ) |
Constructor
| parent | the parent widget | |
| instance | the KInstance to be used for KConfig data | |
| templateType | the template-type (group) that should be selected on creation. |
Définition à la ligne 102 du fichier KoOpenPane.cpp.
Références d, initRecentDocs(), initTemplates(), itemClicked(), KoOpenPanePrivate::m_instance, saveSplitterSizes(), selectionChanged(), showOpenFileDialog(), splitterResized(), KoSectionListItem::widgetIndex(), et KoPageFormat::width().
Voici le graphe d'appel pour cette fonction :
| KoOpenPane::~KoOpenPane | ( | ) | [virtual] |
Définition à la ligne 146 du fichier KoOpenPane.cpp.
Références d, KoOpenPanePrivate::m_instance, et KoSectionListItem::widgetIndex().
Voici le graphe d'appel pour cette fonction :
| Q3ListViewItem * KoOpenPane::addPane | ( | const QString & | title, | |
| const QString & | icon, | |||
| QWidget * | widget, | |||
| int | sortWeight | |||
| ) |
Définition à la ligne 274 du fichier KoOpenPane.cpp.
Références d, et KoOpenPanePrivate::m_instance.
Référencé par initRecentDocs(), initTemplates(), et setCustomDocumentWidget().
Voici le graphe d'appel pour cette fonction :
| Q3ListViewItem * KoOpenPane::addPane | ( | const QString & | title, | |
| const QPixmap & | icon, | |||
| QWidget * | widget, | |||
| int | sortWeight | |||
| ) |
| void KoOpenPane::setCustomDocumentWidget | ( | QWidget * | widget | ) |
If the application has a way to create a document not based on a template, but on user provided settings, the widget showing these gets set here.
| widget | the widget. |
Définition à la ligne 256 du fichier KoOpenPane.cpp.
Références addPane(), d, KoOpenPanePrivate::m_instance, updateSectionListMaxHeight(), et KoSectionListItem::widgetIndex().
Référencé par KoDocument::createOpenPane().
Voici le graphe d'appel pour cette fonction :
Voici le graphe d'appel pour cette fonction :
| void KoOpenPane::showOpenFileDialog | ( | ) | [protected, slot] |
Définition à la ligne 160 du fichier KoOpenPane.cpp.
Références d, KoFilterManager::Import, KoOpenPanePrivate::m_instance, KoFilterManager::mimeFilter(), openExistingFile(), KoDocument::readExtraNativeMimeTypes(), et KoDocument::readNativeFormatMimeType().
Référencé par KoOpenPane().
| void KoOpenPane::selectionChanged | ( | Q3ListViewItem * | item | ) | [protected, slot] |
Définition à la ligne 304 du fichier KoOpenPane.cpp.
Références d, et KoSectionListItem::widgetIndex().
Référencé par KoOpenPane().
| void KoOpenPane::itemClicked | ( | Q3ListViewItem * | item | ) | [protected, slot] |
Définition à la ligne 321 du fichier KoOpenPane.cpp.
Références d, et KoSectionListItem::widgetIndex().
Référencé par KoOpenPane().
| void KoOpenPane::saveSplitterSizes | ( | KoDetailsPane * | sender, | |
| const QList< int > & | sizes | |||
| ) | [protected, slot] |
Saves the splitter sizes for KoDetailsPaneBase based panes.
Définition à la ligne 314 du fichier KoOpenPane.cpp.
Références d, et KoOpenPanePrivate::m_instance.
Référencé par KoOpenPane().
| void KoOpenPane::openExistingFile | ( | const KUrl & | ) | [signal] |
Référencé par initRecentDocs(), et showOpenFileDialog().
| void KoOpenPane::openTemplate | ( | const KUrl & | ) | [signal] |
Référencé par initTemplates().
| void KoOpenPane::alwaysUseChanged | ( | KoTemplatesPane * | sender, | |
| const QString & | alwaysUse | |||
| ) | [signal] |
| void KoOpenPane::splitterResized | ( | KoDetailsPane * | sender, | |
| const QList< int > & | sizes | |||
| ) | [signal] |
Emitted when one of the detail panes have changed it's splitter.
Référencé par initRecentDocs(), initTemplates(), et KoOpenPane().
| void KoOpenPane::initRecentDocs | ( | ) | [protected] |
Définition à la ligne 179 du fichier KoOpenPane.cpp.
Références addPane(), d, KoOpenPanePrivate::m_instance, openExistingFile(), splitterResized(), et updateSectionListMaxHeight().
Référencé par KoOpenPane().
Voici le graphe d'appel pour cette fonction :
Voici le graphe d'appel pour cette fonction :
| void KoOpenPane::initTemplates | ( | const QString & | templateType | ) | [protected] |
Populate the list with all templates the user can choose.
| templateType | the template-type (group) that should be selected on creation. |
Définition à la ligne 200 du fichier KoOpenPane.cpp.
Références addPane(), alwaysUseChanged(), d, KoTemplatesPane::isSelected(), KoOpenPanePrivate::m_instance, openTemplate(), splitterResized(), et updateSectionListMaxHeight().
Référencé par KoOpenPane().
Voici le graphe d'appel pour cette fonction :
Voici le graphe d'appel pour cette fonction :
| void KoOpenPane::updateSectionListMaxHeight | ( | ) | [protected] |
Définition à la ligne 330 du fichier KoOpenPane.cpp.
Références d.
Référencé par initRecentDocs(), initTemplates(), et setCustomDocumentWidget().
Voici le graphe d'appel pour cette fonction :
KoOpenPanePrivate* KoOpenPane::d [private] |
Définition à la ligne 92 du fichier KoOpenPane.h.
Référencé par addPane(), initRecentDocs(), initTemplates(), itemClicked(), KoOpenPane(), saveSplitterSizes(), selectionChanged(), setCustomDocumentWidget(), showOpenFileDialog(), updateSectionListMaxHeight(), et ~KoOpenPane().
1.5.1-p1