Source: /app/hbasic/hbasic/packages/hbasic_stdgui/hbasic_stdgui.h
|
|
|
|
#ifndef HBASIC_STDGUI_H
#define HBASIC_STDGUI_H
#include
#include
class QColor;
/*---------------------------------------------------------------------------- */
class PainterWidget : public QWidget
{
Q_OBJECT
public:
PainterWidget::PainterWidget( QWidget *parent );
private:
QColor fg_color;
public slots:
void setColor( int red, int green, int blue );
void line( int xs, int ys, int xe, int ye );
void fillRect( int xs, int ys, int xe, int ye );
void drawRect( int xs, int ys, int xe, int ye );
void roundRect( int xs, int ys, int xe, int ye );
void drawEllipse( int xs, int ys, int xe, int ye );
};
class TimerWidget : public QTimer
{
Q_OBJECT
public:
TimerWidget::TimerWidget( void );
private:
QTimer *my_timer;
public slots:
void startTimer( int mseconds );
};
#endif
Generated by: root on linux on Sun Jul 13 18:06:35 2003, using kdoc 2.0a54. |