#include </home/clem/local/src/opie/inputmethods/dasher/QtDasherScreen.h>
Inheritance diagram for QtDasherScreen:


Public Member Functions | |
| QtDasherScreen (int _width, int _height, CDasherInterface *_interface, QWidget *_parent=0, Dasher::CDashEditbox *edit=0) | |
| ~QtDasherScreen () | |
| void | SetFont (std::string Name) |
| void | SetFontSize (Dasher::Opts::FontSize) |
| Set the Dasher font to Normal, Big or VBig. | |
| Dasher::Opts::FontSize | GetFontSize () |
| Return the Dasher font size. | |
| void | TextSize (symbol, int *Width, int *Height, int) const |
| Set Width and Height to those of the character Character at size Size. | |
| void | DrawText (symbol Character, int x1, int y1, int Size) const |
| Draw character Character of size Size positioned at x1 and y1. | |
| void | DrawRectangle (int x1, int y1, int x2, int y2, int Color, Opts::ColorSchemes ColorScheme) const |
| Draw a filled rectangle. | |
| void | Polyline (point *Points, int Number) const |
| void | DrawPolygon (point *Points, int Number, int Color, Opts::ColorSchemes ColorScheme) const |
| Draw a filled polygon. | |
| void | Blank () const |
| Signal that a frame is being started. | |
| void | Display () |
| Signal that a frame is finished - the screen should be updated. | |
| void | paintEvent (QPaintEvent *) |
| void | mousePressEvent (QMouseEvent *e) |
| void | mouseReleaseEvent (QMouseEvent *e) |
Public Attributes | |
| std::vector< int > | FontSizes |
| std::vector< QFont > | Fonts |
| QFont | font |
| int | fontsize |
Protected Slots | |
| void | timer () |
Protected Member Functions | |
| QColor | getColor (int Color, const Opts::ColorSchemes ColorScheme) const |
| long | get_time () |
Protected Attributes | |
| CDasherInterface * | interface |
| Dasher::CDashEditbox * | edit |
| bool | paused |
| QPainter * | painter |
| QPixmap * | pixmap |
| std::string | fontname |
|
||||||||||||||||||||||||
|
Definition at line 19 of file QtDasherScreen.cc. References Dasher::CDasherInterface::ChangeEdit(), Dasher::CDasherInterface::ChangeLanguageModel(), Dasher::CDasherInterface::ChangeScreen(), Dasher::CDasherInterface::ChangeView(), edit, font, fontname, fontsize, interface, painter, paused, pixmap, Dasher::CDasherInterface::SetSettingsStore(), and timer(). |
|
|
Definition at line 79 of file QtDasherScreen.cc. References painter. |
|
|
Signal that a frame is being started.
Implements Dasher::CDasherScreen. Definition at line 76 of file QtDasherScreen.h. References Dasher::CDasherScreen::m_iHeight, Dasher::CDasherScreen::m_iWidth, painter, and pixmap. |
|
|
Signal that a frame is finished - the screen should be updated.
Implements Dasher::CDasherScreen. Definition at line 82 of file QtDasherScreen.h. References painter. |
|
||||||||||||||||||||
|
Draw a filled polygon.
Implements Dasher::CDasherScreen. Definition at line 140 of file QtDasherScreen.cc. References getColor(), painter, and Points_to_QPointArray(). |
|
||||||||||||||||||||||||||||
|
Draw a filled rectangle. Draw a coloured rectangle on the screen
Implements Dasher::CDasherScreen. Definition at line 115 of file QtDasherScreen.cc. References getColor(), and painter. |
|
||||||||||||||||||||
|
Draw character Character of size Size positioned at x1 and y1.
Implements Dasher::CDasherScreen. Definition at line 55 of file QtDasherScreen.h. References font, Dasher::CDasherInterface::GetDisplayText(), interface, and painter. |
|
|
Definition at line 61 of file QtDasherScreen.cc. Referenced by mousePressEvent(), and timer(). |
|
||||||||||||
|
Definition at line 84 of file QtDasherScreen.cc. References Dasher::Opts::Groups, Dasher::Opts::Nodes1, Dasher::Opts::Nodes2, Dasher::Opts::Objects, Dasher::Opts::Special1, and Dasher::Opts::Special2. Referenced by DrawPolygon(), and DrawRectangle(). |
|
|
Return the Dasher font size.
Implements Dasher::CDasherScreen. Definition at line 43 of file QtDasherScreen.h. References Dasher::Opts::Normal. |
|
|
Definition at line 149 of file QtDasherScreen.cc. References get_time(), interface, paused, and Dasher::CDasherInterface::Unpause(). |
|
|
Definition at line 155 of file QtDasherScreen.cc. References interface, p, Dasher::CDasherInterface::PauseAt(), and paused. |
|
|
Definition at line 87 of file QtDasherScreen.h. |
|
||||||||||||
|
Implements Dasher::CDasherScreen. Definition at line 131 of file QtDasherScreen.cc. References painter, and Points_to_QPointArray(). |
|
|
Set the Dasher font (ie, the screen font) to Name This is the font used to render letters in the main screen Implements Dasher::CDasherScreen. Definition at line 36 of file QtDasherScreen.h. References fontname. |
|
|
Set the Dasher font to Normal, Big or VBig.
Implements Dasher::CDasherScreen. Definition at line 39 of file QtDasherScreen.h. |
|
||||||||||||||||||||
|
Set Width and Height to those of the character Character at size Size.
Implements Dasher::CDasherScreen. Definition at line 49 of file QtDasherScreen.h. References font. |
|
|
Definition at line 162 of file QtDasherScreen.cc. References get_time(), interface, paused, and Dasher::CDasherInterface::TapOn(). Referenced by QtDasherScreen(). |
|
|
Definition at line 101 of file QtDasherScreen.h. Referenced by QtDasherScreen(). |
|
|
Definition at line 74 of file QtDasherScreen.h. Referenced by DrawText(), QtDasherScreen(), and TextSize(). |
|
|
Definition at line 109 of file QtDasherScreen.h. Referenced by QtDasherScreen(), and SetFont(). |
|
|
Definition at line 73 of file QtDasherScreen.h. |
|
|
Definition at line 75 of file QtDasherScreen.h. Referenced by QtDasherScreen(). |
|
|
Definition at line 72 of file QtDasherScreen.h. |
|
|
Definition at line 100 of file QtDasherScreen.h. Referenced by DrawText(), mousePressEvent(), mouseReleaseEvent(), QtDasherScreen(), and timer(). |
|
|
Definition at line 105 of file QtDasherScreen.h. Referenced by Blank(), Display(), DrawPolygon(), DrawRectangle(), DrawText(), Polyline(), QtDasherScreen(), and ~QtDasherScreen(). |
|
|
Definition at line 103 of file QtDasherScreen.h. Referenced by mousePressEvent(), mouseReleaseEvent(), QtDasherScreen(), and timer(). |
|
|
Definition at line 107 of file QtDasherScreen.h. Referenced by Blank(), paintEvent(), and QtDasherScreen(). |
1.4.2