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

Public Slots | Public Member Functions | Protected Member Functions | Private Slots | Private Member Functions | Private Attributes

TikzPreview Class Reference

Collaboration diagram for TikzPreview:
Collaboration graph

List of all members.

Public Slots

void pixmapUpdated (Poppler::Document *tikzPdfDoc)
void showErrorMessage (const QString &message)
void showPreview (const QImage &tikzImage)

Public Member Functions

QList< QAction * > actions ()
void emptyPreview ()
QPixmap pixmap () const
void setProcessRunning (bool isRunning)
virtual QSize sizeHint () const
 TikzPreview (QWidget *parent=0)
QToolBar * toolBar ()

Protected Member Functions

void contextMenuEvent (QContextMenuEvent *event)
void paintEvent (QPaintEvent *event)
void wheelEvent (QWheelEvent *event)

Private Slots

void setZoomFactor (const QString &zoomFactorText)
void showNextPage ()
void showPreviousPage ()
void zoomIn ()
void zoomOut ()

Private Member Functions

void centerInfoLabel ()
void centerView ()
void createActions ()
void createInformationLabel ()
void createZoomFactorList (qreal newZoomFactor=0)
QString formatZoomFactor (qreal zoomFactor) const
void setInfoLabelText (const QString &message, bool isPixmapVisible)
void setZoomFactor (qreal zoomFactor)
void showPdfPage ()

Private Attributes

int m_currentPage
bool m_hasZoomed
QLabel * m_infoLabel
QLabel * m_infoPixmapLabel
QGraphicsItem * m_infoProxyWidget
QFrame * m_infoWidget
bool m_infoWidgetAdded
qreal m_oldZoomFactor
QAction * m_pageSeparator
bool m_processRunning
Poppler::Document * m_tikzPdfDoc
QGraphicsPixmapItem * m_tikzPixmapItem
QGraphicsScene * m_tikzScene
qreal m_zoomFactor
QAction * m_zoomInAction
QAction * m_zoomOutAction

Detailed Description

Definition at line 38 of file tikzpreview.h.

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

Generated by  Doxygen 1.6.0   Back to index