#include <schematuxview.h>
Public Slots | |
void | slotRedraw (void) |
Signals | |
void | signalChangeStatusbar (const QString &text) |
void | setStatusBarText (const QString &text) |
Public Member Functions | |
SchematuxView (QWidget *parent, QCanvas *pCanvas) | |
virtual | ~SchematuxView () |
void | print (QPainter *, int height, int width) |
void | enableScrollBars (bool bFlag) |
Protected Member Functions | |
void | keyPressEvent (QKeyEvent *e) |
void | contentsMousePressEvent (QMouseEvent *e) |
void | contentsMouseMoveEvent (QMouseEvent *e) |
void | contentsMouseReleaseEvent (QMouseEvent *e) |
This is the main view class for Schematux. Most of the non-menu, non-toolbar, and non-statusbar (e.g., non frame) GUI code should go here.
This schematux uses an HTML component as an example.
SchematuxView::SchematuxView | ( | QWidget * | parent, | |
QCanvas * | pCanvas | |||
) |
Default constructor
SchematuxView::~SchematuxView | ( | ) | [virtual] |
Destructor
void SchematuxView::print | ( | QPainter * | p, | |
int | height, | |||
int | width | |||
) |
Print this view to any medium -- paper or not
void SchematuxView::setStatusBarText | ( | const QString & | text | ) | [signal] |
Use this signal to change the content of the caption
void SchematuxView::signalChangeStatusbar | ( | const QString & | text | ) | [signal] |
Use this signal to change the content of the statusbar