TImageViewer Class

Header: #include <TImageViewer>
Inherits: QWidget and TUiInterface

Properties

  • 58 properties inherited from QWidget

Public Functions

TImageViewer(QWidget *parent = 0)
~TImageViewer()
  • 213 public functions inherited from QWidget

Public Slots

void clear()
void fitWindow()
QSize fixedSize() const
virtual QVariant getData(const QString &key = "", const QVariant &options = QVariant())
QString getImageName()
void lRotate()
bool loadFile(const QString &iFileName)
void normalSize()
void rRotate()
bool replaceImg(const QPixmap &image)
void screenshot()
virtual void setData(const QString &key, const QVariant &data)
void setFixedSize(QSize iFixedSize)
void setViewType(const QString &iViewType)
void showClearButton(bool iShow = true)
void showToolBar(bool iShow = true)
QString viewType() const
void zoomIn()
void zoomOut()

Signals

virtual void notification(const QString &type, const QVariant &data = QVariant(), const QString &uuid = QStringLiteral( "" ))

Reimplemented Protected Functions

virtual void mouseMoveEvent(QMouseEvent *iEvent)
virtual void mousePressEvent(QMouseEvent *iEvent)
virtual void resizeEvent(QResizeEvent *iEvent)
virtual void wheelEvent(QWheelEvent *iEvent)
  • 35 protected functions inherited from QWidget
  • 2 protected functions inherited from TUiInterface

Additional Inherited Members

  • 5 static public members inherited from QWidget
  • 35 protected functions inherited from QWidget
  • 2 protected functions inherited from TUiInterface
  • 1 protected slot inherited from QWidget

Detailed Description

Property Documentation

fixedSize : QSize

Access functions:

QSize fixedSize() const
void setFixedSize(QSize iFixedSize)

viewType : QString

Access functions:

QString viewType() const
void setViewType(const QString &iViewType)

Member Function Documentation

TImageViewer::TImageViewer(QWidget *parent = 0)

Default constructs an instance of TImageViewer.

TImageViewer::~TImageViewer()

Destroys the instance of TImageViewer.

[slot] void TImageViewer::clear()

[slot] void TImageViewer::fitWindow()

[virtual slot] QVariant TImageViewer::getData(const QString &key = "", const QVariant &options = QVariant())

[slot] QString TImageViewer::getImageName()

[slot] void TImageViewer::lRotate()

[slot] bool TImageViewer::loadFile(const QString &iFileName)

[virtual protected] void TImageViewer::mouseMoveEvent(QMouseEvent *iEvent)

[virtual protected] void TImageViewer::mousePressEvent(QMouseEvent *iEvent)

[slot] void TImageViewer::normalSize()

[virtual signal] void TImageViewer::notification(const QString &type, const QVariant &data = QVariant(), const QString &uuid = QStringLiteral( "" ))

[slot] void TImageViewer::rRotate()

[slot] bool TImageViewer::replaceImg(const QPixmap &image)

[virtual protected] void TImageViewer::resizeEvent(QResizeEvent *iEvent)

[slot] void TImageViewer::screenshot()

[virtual slot] void TImageViewer::setData(const QString &key, const QVariant &data)

[slot] void TImageViewer::showClearButton(bool iShow = true)

[slot] void TImageViewer::showToolBar(bool iShow = true)

[virtual protected] void TImageViewer::wheelEvent(QWheelEvent *iEvent)

[slot] void TImageViewer::zoomIn()

[slot] void TImageViewer::zoomOut()