Logo Search packages:      
Sourcecode: ktikz version File versions  Download package

Public Slots | Signals | Public Member Functions | Private Slots | Private Member Functions | Private Attributes

TikzPreviewController Class Reference

Collaboration diagram for TikzPreviewController:
Collaboration graph
[legend]

List of all members.

Public Slots

void generatePreview ()
void regeneratePreview ()

Signals

void logUpdated (const QString &logText, bool runFailed)

Public Member Functions

void applySettings ()
void emptyPreview ()
QAction * exportAction ()
QString getLogText ()
QMenu * menu ()
void setToolBarStyle (const Qt::ToolButtonStyle &style)
const QString tempDir () const
TemplateWidgettemplateWidget () const
QString tikzCode () const
TikzPreviewtikzPreview () const
 TikzPreviewController (MainWidget *mainWidget)
QList< QToolBar * > toolBars ()

Private Slots

void exportImage ()
void setExportActionsEnabled (bool enabled)
void setProcessRunning (bool isRunning)
void setReplaceTextAndRegenerate (const QString &replace)
void setTemplateFileAndRegenerate (const QString &path)
void toggleShellEscaping (bool useShellEscaping)

Private Member Functions

bool cleanUp ()
void createActions ()
void createTempDir ()
void generatePreview (bool templateChanged)
QString getExportFileName (const QString &fileName, const QString &mimeType) const
void removeTempDir ()
bool setTemplateFile (const QString &path)

Private Attributes

QAction * m_exportAction
MainWidgetm_mainWidget
QWidget * m_parentWidget
QAction * m_procStopAction
QAction * m_shellEscapeAction
QToolButton * m_shellEscapeButton
TemplateWidgetm_templateWidget
QString m_tempTikzFileBaseName
TikzPreviewm_tikzPreview
TikzPreviewGeneratorm_tikzPreviewGenerator
QList< QToolBar * > m_toolBars

Detailed Description

Definition at line 43 of file tikzpreviewcontroller.h.


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

Generated by  Doxygen 1.6.0   Back to index