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.
|
|
|
#ifndef PLISTBOX_H
|
|
|
|
#define PLISTBOX_H
|
|
|
|
|
|
|
|
class PListBox;
|
|
|
|
|
|
|
|
#include <tqlistbox.h>
|
|
|
|
#include "pmessage.h"
|
|
|
|
#include "ptablevw.h"
|
|
|
|
#include "controller.h"
|
|
|
|
|
|
|
|
class PListBox : public PFrame
|
|
|
|
{
|
|
|
|
Q_OBJECT
|
|
|
|
|
|
|
|
public:
|
|
|
|
static PObject *createWidget(CreateArgs &ca);
|
|
|
|
|
|
|
|
PListBox ( PObject * parent );
|
|
|
|
virtual ~PListBox ();
|
|
|
|
|
|
|
|
virtual void messageHandler(int fd, PukeMessage *pm);
|
|
|
|
|
|
|
|
virtual void setWidget(TQObject *_lb);
|
|
|
|
virtual TQListBox *widget();
|
|
|
|
|
|
|
|
public slots:
|
|
|
|
void highlighted(int);
|
|
|
|
void selected(int);
|
|
|
|
|
|
|
|
protected:
|
|
|
|
bool checkWidget();
|
|
|
|
|
|
|
|
private:
|
|
|
|
TQListBox *lb;
|
|
|
|
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif
|