[KLF Application][KLF Tools][KLF Backend][KLF Home]
KLatexFormula Project
Public Slots | Signals | Public Member Functions | Protected Slots | Protected Member Functions | Protected Attributes

KLFLibBrowserViewContainer Class Reference

#include <klflibbrowser_p.h>

Inheritance diagram for KLFLibBrowserViewContainer:
Inheritance graph
[legend]
Collaboration diagram for KLFLibBrowserViewContainer:
Collaboration graph
[legend]

List of all members.

Public Slots

bool openView (const QString &viewTypeIdent)

Signals

void viewContextMenuRequested (const QPoint &pos)
void viewTypeChanged (const QString &)
void requestRestore (const KLFLibEntry &entry, uint restoreflags=KLFLib::RestoreLatexAndStyle)
void requestRestoreStyle (const KLFStyle &style)
void resourceDataChanged (const QList< KLFLib::entryId > &entryIdList)
void entriesSelected (const KLFLibEntryList &entries)
void moreCategorySuggestions (const QStringList &categorylist)
void requestOpenUrl (const QString &url)
void viewOperationStartReportingProgress (KLFProgressReporter *progressReporter, const QString &descriptiveText)

Public Member Functions

 KLFLibBrowserViewContainer (KLFLibResourceEngine *resource, QTabWidget *parent)
virtual ~KLFLibBrowserViewContainer ()
QUrl url () const
KLFLibResourceEngineresourceEngine ()
KLFAbstractLibViewview ()
QString currentViewTypeIdentifier ()
QString defaultSubResource ()
QStringList supportedViewTypeIdentifiers () const
QList< QAction * > viewTypeActions () const
void setResourceRoleFlags (uint flags)
uint resourceRoleFlags () const
QVariantMap saveGuiState () const
void loadGuiState (const QVariantMap &v)
QList< QAction * > openSubResourceActions ()

Protected Slots

void slotRequestRestore (const KLFLibEntry &entry, uint restoreflags=KLFLib::RestoreLatexAndStyle)
void slotRequestRestoreStyle (const KLFStyle &style)
void slotResourceDataChanged (const QList< KLFLib::entryId > &entryIdList)
void slotEntriesSelected (const KLFLibEntryList &entries)
void slotMoreCategorySuggestions (const QStringList &categorylist)
void slotCurrentChanged (int index)
void internalRequestOpenSubResourceSender ()

Protected Member Functions

int findViewTypeAction (const QString &vtype)

Protected Attributes

QStringList pOkViewTypeIdents
KLFLibResourceEnginepResource
QVariantMap pViewState
QMap< QString, int > pOpenViewTypeIdents
QActionGrouppViewTypeActionGroup
QList< QAction * > pViewTypeActions
uint pResFlags
QMap< QString, QAction * > pOpenSubResActionCache

Detailed Description

Definition at line 57 of file klflibbrowser_p.h.


Constructor & Destructor Documentation

KLFLibBrowserViewContainer::KLFLibBrowserViewContainer ( KLFLibResourceEngine resource,
QTabWidget parent 
) [inline]
virtual KLFLibBrowserViewContainer::~KLFLibBrowserViewContainer ( ) [inline, virtual]

Definition at line 100 of file klflibbrowser_p.h.

References KLF_DEBUG_BLOCK, and KLF_FUNC_NAME.


Member Function Documentation

QString KLFLibBrowserViewContainer::currentViewTypeIdentifier ( ) [inline]

Definition at line 122 of file klflibbrowser_p.h.

References QMap::key(), and pOpenViewTypeIdents.

QString KLFLibBrowserViewContainer::defaultSubResource ( ) [inline]

Definition at line 126 of file klflibbrowser_p.h.

References KLFLibResourceEngine::defaultSubResource(), and pResource.

void KLFLibBrowserViewContainer::entriesSelected ( const KLFLibEntryList entries) [signal]
int KLFLibBrowserViewContainer::findViewTypeAction ( const QString vtype) [inline, protected]

Definition at line 436 of file klflibbrowser_p.h.

References KLF_DEBUG_BLOCK, KLF_FUNC_NAME, pViewTypeActions, and QList::size().

Referenced by slotCurrentChanged().

void KLFLibBrowserViewContainer::internalRequestOpenSubResourceSender ( ) [inline, protected, slot]
void KLFLibBrowserViewContainer::loadGuiState ( const QVariantMap &  v) [inline]
void KLFLibBrowserViewContainer::moreCategorySuggestions ( const QStringList categorylist) [signal]
QList<QAction*> KLFLibBrowserViewContainer::openSubResourceActions ( ) [inline]
bool KLFLibBrowserViewContainer::openView ( const QString viewTypeIdent) [inline, slot]
void KLFLibBrowserViewContainer::requestOpenUrl ( const QString url) [signal]
void KLFLibBrowserViewContainer::requestRestore ( const KLFLibEntry entry,
uint  restoreflags = KLFLib::RestoreLatexAndStyle 
) [signal]

Referenced by openView(), and slotRequestRestore().

void KLFLibBrowserViewContainer::requestRestoreStyle ( const KLFStyle style) [signal]
void KLFLibBrowserViewContainer::resourceDataChanged ( const QList< KLFLib::entryId > &  entryIdList) [signal]
KLFLibResourceEngine* KLFLibBrowserViewContainer::resourceEngine ( ) [inline]
uint KLFLibBrowserViewContainer::resourceRoleFlags ( ) const [inline]
QVariantMap KLFLibBrowserViewContainer::saveGuiState ( ) const [inline]
void KLFLibBrowserViewContainer::setResourceRoleFlags ( uint  flags) [inline]

Definition at line 132 of file klflibbrowser_p.h.

References pResFlags.

void KLFLibBrowserViewContainer::slotCurrentChanged ( int  index) [inline, protected, slot]
void KLFLibBrowserViewContainer::slotEntriesSelected ( const KLFLibEntryList entries) [inline, protected, slot]

Definition at line 384 of file klflibbrowser_p.h.

References entriesSelected(), and view().

Referenced by openView().

void KLFLibBrowserViewContainer::slotMoreCategorySuggestions ( const QStringList categorylist) [inline, protected, slot]

Definition at line 388 of file klflibbrowser_p.h.

References moreCategorySuggestions(), and view().

Referenced by openView().

void KLFLibBrowserViewContainer::slotRequestRestore ( const KLFLibEntry entry,
uint  restoreflags = KLFLib::RestoreLatexAndStyle 
) [inline, protected, slot]

Definition at line 372 of file klflibbrowser_p.h.

References requestRestore(), and view().

Referenced by openView().

void KLFLibBrowserViewContainer::slotRequestRestoreStyle ( const KLFStyle style) [inline, protected, slot]

Definition at line 376 of file klflibbrowser_p.h.

References requestRestoreStyle(), and view().

Referenced by openView().

void KLFLibBrowserViewContainer::slotResourceDataChanged ( const QList< KLFLib::entryId > &  entryIdList) [inline, protected, slot]

Definition at line 380 of file klflibbrowser_p.h.

References resourceDataChanged(), and view().

Referenced by openView().

QStringList KLFLibBrowserViewContainer::supportedViewTypeIdentifiers ( ) const [inline]

Definition at line 128 of file klflibbrowser_p.h.

References pOkViewTypeIdents.

QUrl KLFLibBrowserViewContainer::url ( ) const [inline]
KLFAbstractLibView* KLFLibBrowserViewContainer::view ( ) [inline]
void KLFLibBrowserViewContainer::viewContextMenuRequested ( const QPoint pos) [signal]

Referenced by openView().

void KLFLibBrowserViewContainer::viewOperationStartReportingProgress ( KLFProgressReporter progressReporter,
const QString descriptiveText 
) [signal]

Referenced by openView().

QList<QAction*> KLFLibBrowserViewContainer::viewTypeActions ( ) const [inline]

Definition at line 130 of file klflibbrowser_p.h.

References pViewTypeActions.

Referenced by KLFLibBrowser::slotTabResourceShown().

void KLFLibBrowserViewContainer::viewTypeChanged ( const QString ) [signal]

Referenced by slotCurrentChanged().


Member Data Documentation

Definition at line 423 of file klflibbrowser_p.h.

Referenced by KLFLibBrowserViewContainer(), and supportedViewTypeIdentifiers().

Definition at line 447 of file klflibbrowser_p.h.

Referenced by openSubResourceActions().

Stores the view type identifier with the index in widget stack for each open view

Definition at line 430 of file klflibbrowser_p.h.

Referenced by currentViewTypeIdentifier(), loadGuiState(), openView(), saveGuiState(), and slotCurrentChanged().

QVariantMap KLFLibBrowserViewContainer::pViewState [protected]

Definition at line 426 of file klflibbrowser_p.h.

Referenced by loadGuiState(), openView(), and saveGuiState().

Definition at line 431 of file klflibbrowser_p.h.

Referenced by KLFLibBrowserViewContainer().


The documentation for this class was generated from the following file:

Generated by doxygen 1.7.3