You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
34 lines
528 B
34 lines
528 B
15 years ago
|
#ifndef PTABLEVIEW_H
|
||
|
#define PTABLEVIEW_H
|
||
|
|
||
|
class PTableView;
|
||
|
|
||
|
#include <qgridview.h>
|
||
|
|
||
|
#include "pmessage.h"
|
||
|
#include "pframe.h"
|
||
|
#include "controller.h"
|
||
|
|
||
|
// Init and setup code
|
||
|
class PTableView : public PFrame
|
||
|
{
|
||
|
Q_OBJECT
|
||
|
public:
|
||
|
static PObject *createWidget(CreateArgs &ca);
|
||
|
|
||
|
PTableView ( PObject * parent );
|
||
|
virtual ~PTableView ();
|
||
|
|
||
|
virtual void messageHandler(int fd, PukeMessage *pm);
|
||
|
|
||
|
virtual void setWidget(QObject *_tbl);
|
||
|
virtual QGridView *widget();
|
||
|
|
||
|
public slots:
|
||
|
|
||
|
private:
|
||
|
QGridView *tbl;
|
||
|
};
|
||
|
|
||
|
#endif
|