source: projects/punch-card/punch-card-editor/src/libs/qextserialport/examples/qespta/QespTest.h @ 53

Last change on this file since 53 was 53, checked in by sven, 14 years ago

Punch Card Editor, ongoing development

  • Extended new Deck interface, expanding the undo framework
  • Implemented editor changes via undo framework
  • revised the menu and toolbar actions and structure (now dynamic construction at deck load time), implemented undo viewer
  • Started implementation of device driver framework in menu
  • Embedded the Qextserialport library (http://qextserialport.sourceforge.net/)
  • Started the Documation M200 Client device driver (well, just created the directory structure and qmake project file infrastructure)
  • At the current state, the complete project compiles :-)

Statistics: About 3500 Lines of code (without libqextserialport)

-- sven @ workstation

  • Property svn:executable set to *
File size: 591 bytes
RevLine 
[53]1/* qesptest.h
2**************************************/
3#ifndef _QESPTEST_H_
4#define _QESPTEST_H_
5
6#include <QWidget>
7
8class QLineEdit;
9class QTextEdit;
10class QextSerialPort;
11class QSpinBox;
12
13class QespTest :  public QWidget
14{
15  Q_OBJECT
16public:
17  QespTest(QWidget *parent=0);
18
19  virtual ~QespTest();
20
21private:
22  QLineEdit *message;
23  QSpinBox* delaySpinBox;
24  QTextEdit *received_msg;
25  QextSerialPort *port;
26
27private slots:
28  void transmitMsg();
29  void receiveMsg();
30  void appendCR();
31  void appendLF();
32  void closePort();
33  void openPort();
34};
35
36#endif
Note: See TracBrowser for help on using the repository browser.
© 2008 - 2013 technikum29 • Sven Köppel • Some rights reserved
Powered by Trac
Expect where otherwise noted, content on this site is licensed under a Creative Commons 3.0 License