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.
24 lines
450 B
24 lines
450 B
13 years ago
|
#include <qlayout.h>
|
||
|
#include <qtextview.h>
|
||
|
#include <qfont.h>
|
||
|
#include "glinfo.h"
|
||
|
|
||
|
class GLInfoText : public TQWidget
|
||
|
{
|
||
|
public:
|
||
|
GLInfoText(TQWidget *parent)
|
||
|
: TQWidget(parent)
|
||
|
{
|
||
|
view = new TQTextView(this);
|
||
|
view->setFont(TQFont("courier", 10));
|
||
|
view->setWordWrap(TQTextEdit::NoWrap);
|
||
|
TQHBoxLayout *l = new TQHBoxLayout(this);
|
||
|
l->addWidget(view);
|
||
|
GLInfo info;
|
||
|
view->setText(info.info());
|
||
|
}
|
||
|
|
||
|
private:
|
||
|
TQTextView *view;
|
||
|
};
|