class Serial2View

The Serial2View class provides the view widget for the Serial2App instance. More...

Definition#include <serial2view.h>
InheritsQWidget (qt) [public ]
List of all Methods
Annotated List
Files
Globals
Hierarchy
Index

Public Methods


Detailed Description

The Serial2View class provides the view widget for the Serial2App instance. The View instance inherits QWidget as a base class and represents the view object of a KTMainWindow. As Serial2View is part of the docuement-view model, it needs a reference to the document object connected with it by the Serial2App class to manipulate and display the document structure provided by the Serial2Doc class.

 Serial2View (QWidget *parent = 0, const char *name=0)

Serial2View

 ~Serial2View ()

~Serial2View

Serial2DocgetDocument ()

getDocument

[const]

returns a pointer to the document connected to the view instance. Mind that this method requires a Serial2App instance as a parent widget to get to the window document pointer by calling the Serial2App::getDocument() method.

See also: getDocument

void  print (QPrinter *pPrinter)

print