#include <sdp.h>
Inheritance diagram for Serdisp:
Public Member Functions | |
Serdisp (const QString &) | |
QWidget * | configWidget () |
QSize | size () |
bool | init () |
void | exit () |
void | setPixel (int, int, bool) |
void | update () |
void | clear (const QRect &rect=QRect()) |
Properties | |
QString | port [] |
QString | wiring [] |
QString | interface [] |
bool | rotate [] |
bool | invert [] |
bool | backlight [] |
int | delay [] |
int | contrast [] |
int | width [] |
int | height [] |
int | oscillator [] |
int | check [] |
int | fontwidth [] |
Private Types | |
ERICSSONT2X | |
OPTREX323 | |
LSU7S1011A | |
NOKIA7110 | |
NEC21A | |
LPH7508 | |
HP12542R | |
PCD8544 | |
T6963 | |
SED133X | |
KS0108 | |
CTINCLUD | |
enum | ControllerType { ERICSSONT2X, OPTREX323, LSU7S1011A, NOKIA7110, NEC21A, LPH7508, HP12542R, PCD8544, T6963, SED133X, KS0108, CTINCLUD } |
Private Member Functions | |
void | setPort (const QString &port) |
void | setWiring (const QString &wiring) |
void | setInterface (const QString &interface) |
void | setRotate (bool enable) |
void | setInvert (bool enable) |
void | setBacklight (bool enable) |
void | setDelay (int delay) |
void | setContrast (int contrast) |
void | setWidth (int width) |
void | setHeight (int height) |
void | setOscillator (int oscillator) |
void | setCheck (int check) |
void | setFontWidth (int fontwidth) |
QString | port () const |
QString | wiring () const |
QString | interface () const |
bool | rotate () |
bool | invert () |
bool | backlight () |
int | delay () |
int | contrast () |
int | width () |
int | height () |
int | oscillator () |
int | check () |
int | fontwidth () const |
void | initConfigWidget () |
const char * | getOptions () |
Qt::CheckState | boolToQtCheckState (bool) |
Private Attributes | |
ControllerType | m_controllerType |
SerdispConfig * | m_config |
QString | m_id |
serdisp_CONN_t * | m_sdcd |
serdisp_t * | m_dd |
enum Serdisp::ControllerType [private] |
Serdisp::Serdisp | ( | const QString & | ) |
bool Serdisp::backlight | ( | ) | [inline, private] |
Qt::CheckState Serdisp::boolToQtCheckState | ( | bool | ) | [private] |
int Serdisp::check | ( | ) | [inline, private] |
void Serdisp::clear | ( | const QRect & | rect = QRect() |
) | [virtual] |
Implements ControllerInterface.
QWidget * Serdisp::configWidget | ( | ) | [virtual] |
Implements ControllerInterface.
int Serdisp::contrast | ( | ) | [inline, private] |
int Serdisp::delay | ( | ) | [inline, private] |
void Serdisp::exit | ( | ) | [virtual] |
Implements ControllerInterface.
int Serdisp::fontwidth | ( | ) | const [inline, private] |
const char * Serdisp::getOptions | ( | ) | [private] |
int Serdisp::height | ( | ) | [inline, private] |
bool Serdisp::init | ( | ) | [virtual] |
Implements ControllerInterface.
void Serdisp::initConfigWidget | ( | ) | [private] |
QString Serdisp::interface | ( | ) | const [inline, private] |
bool Serdisp::invert | ( | ) | [inline, private] |
int Serdisp::oscillator | ( | ) | [inline, private] |
QString Serdisp::port | ( | ) | const [inline, private] |
bool Serdisp::rotate | ( | ) | [inline, private] |
void Serdisp::setBacklight | ( | bool | enable | ) | [inline, private] |
void Serdisp::setCheck | ( | int | check | ) | [inline, private] |
void Serdisp::setContrast | ( | int | contrast | ) | [inline, private] |
void Serdisp::setDelay | ( | int | delay | ) | [inline, private] |
void Serdisp::setFontWidth | ( | int | fontwidth | ) | [inline, private] |
void Serdisp::setHeight | ( | int | height | ) | [inline, private] |
void Serdisp::setInterface | ( | const QString & | interface | ) | [inline, private] |
void Serdisp::setInvert | ( | bool | enable | ) | [inline, private] |
void Serdisp::setOscillator | ( | int | oscillator | ) | [inline, private] |
void Serdisp::setPixel | ( | int | , | |
int | , | |||
bool | ||||
) | [virtual] |
Implements ControllerInterface.
void Serdisp::setPort | ( | const QString & | port | ) | [inline, private] |
void Serdisp::setRotate | ( | bool | enable | ) | [inline, private] |
void Serdisp::setWidth | ( | int | width | ) | [inline, private] |
void Serdisp::setWiring | ( | const QString & | wiring | ) | [inline, private] |
QSize Serdisp::size | ( | ) | [virtual] |
Implements ControllerInterface.
void Serdisp::update | ( | ) | [virtual] |
Implements ControllerInterface.
int Serdisp::width | ( | ) | [inline, private] |
QString Serdisp::wiring | ( | ) | const [inline, private] |
SerdispConfig* Serdisp::m_config [private] |
ControllerType Serdisp::m_controllerType [private] |
serdisp_t* Serdisp::m_dd [private] |
QString Serdisp::m_id [private] |
serdisp_CONN_t* Serdisp::m_sdcd [private] |
bool Serdisp::backlight [read, write] |
int Serdisp::check [read, write] |
int Serdisp::contrast [read, write] |
int Serdisp::delay [read, write] |
int Serdisp::fontwidth [read, write] |
int Serdisp::height [read, write] |
QString Serdisp::interface [read, write] |
bool Serdisp::invert [read, write] |
int Serdisp::oscillator [read, write] |
QString Serdisp::port [read, write] |
bool Serdisp::rotate [read, write] |
int Serdisp::width [read, write] |
QString Serdisp::wiring [read, write] |