[KLF Application][KLF Tools][KLF Backend][KLF Home]
KLatexFormula Project
Public Slots | Signals | Public Member Functions | Protected Slots | Protected Member Functions | Protected Attributes | List of all members
KLFLibBrowserViewContainer Class Reference

#include <klflibbrowser_p.h>

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

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 ()
 
- Public Member Functions inherited from QStackedWidget
 QStackedWidget (QWidget *parent=0)
 
 addWidget (QWidget *widget)
 
 currentChanged (int index)
 
 currentWidget ()
 
 indexOf (QWidget *widget)
 
 insertWidget (int index, QWidget *widget)
 
 removeWidget (QWidget *widget)
 
 setCurrentWidget (QWidget *widget)
 
 widget (int index)
 
 widgetRemoved (int index)
 
- Public Member Functions inherited from KLFSearchableProxy
 KLFSearchableProxy ()
 
virtual ~KLFSearchableProxy ()
 
void setSearchTarget (KLFSearchable *target)
 
virtual bool searchFind (const QString &queryString, bool forward)
 
virtual bool searchFindNext (bool forward)
 
virtual void searchAbort ()
 

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 ( )
inlinevirtual

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)
inlineprotected

Definition at line 436 of file klflibbrowser_p.h.

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

Referenced by slotCurrentChanged().

void KLFLibBrowserViewContainer::internalRequestOpenSubResourceSender ( )
inlineprotectedslot
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)
inlineslot
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)
inlineprotectedslot
void KLFLibBrowserViewContainer::slotEntriesSelected ( const KLFLibEntryList entries)
inlineprotectedslot

Definition at line 384 of file klflibbrowser_p.h.

References entriesSelected(), and view().

Referenced by openView().

void KLFLibBrowserViewContainer::slotMoreCategorySuggestions ( const QStringList categorylist)
inlineprotectedslot

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 
)
inlineprotectedslot

Definition at line 372 of file klflibbrowser_p.h.

References requestRestore(), and view().

Referenced by openView().

void KLFLibBrowserViewContainer::slotRequestRestoreStyle ( const KLFStyle style)
inlineprotectedslot

Definition at line 376 of file klflibbrowser_p.h.

References requestRestoreStyle(), and view().

Referenced by openView().

void KLFLibBrowserViewContainer::slotResourceDataChanged ( const QList< KLFLib::entryId > &  entryIdList)
inlineprotectedslot

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

QStringList KLFLibBrowserViewContainer::pOkViewTypeIdents
protected

Definition at line 423 of file klflibbrowser_p.h.

Referenced by KLFLibBrowserViewContainer(), and supportedViewTypeIdentifiers().

QMap<QString,QAction*> KLFLibBrowserViewContainer::pOpenSubResActionCache
protected

Definition at line 447 of file klflibbrowser_p.h.

Referenced by openSubResourceActions().

QMap<QString,int> KLFLibBrowserViewContainer::pOpenViewTypeIdents
protected

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().

uint KLFLibBrowserViewContainer::pResFlags
protected
KLFLibResourceEngine* KLFLibBrowserViewContainer::pResource
protected
QVariantMap KLFLibBrowserViewContainer::pViewState
protected

Definition at line 426 of file klflibbrowser_p.h.

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

QActionGroup* KLFLibBrowserViewContainer::pViewTypeActionGroup
protected

Definition at line 431 of file klflibbrowser_p.h.

Referenced by KLFLibBrowserViewContainer().

QList<QAction*> KLFLibBrowserViewContainer::pViewTypeActions
protected

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

Generated by doxygen 1.8.8