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

List of all members.

Public Slots

void generatePreview ()
void regeneratePreview ()


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
QWidget * m_parentWidget
QAction * m_procStopAction
QAction * m_shellEscapeAction
QToolButton * m_shellEscapeButton
QString m_tempTikzFileBaseName
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