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.
ksensors/src/panel.h

56 lines
1.6 KiB

/***************************************************************************
display.h - description
-------------------
begin : Sun Nov 11 2001
copyright : (C) 2001 by Miguel Novas
email : michaell@teleline.es
***************************************************************************/
/***************************************************************************
* *
* This program is free software; you can redistribute it and/or modify *
* it under the terms of the GNU General Public License as published by *
* the Free Software Foundation; either version 2 of the License, or *
* (at your option) any later version. *
* *
***************************************************************************/
#ifndef PANEL_H
#define PANEL_H
#include <ntqframe.h>
#include <tdeconfig.h>
#include <ntqpalette.h>
/**
*@author Miguel Novas
*/
class Panel : public TQFrame {
Q_OBJECT
public:
Panel(TQWidget *parent, const char *name);
~Panel();
inline const TQColor &getColorTitle() { return colorGroup().text(); };
inline const TQColor &getColorValue() { return colorGroup().foreground(); };
static bool readShow (const char *name);
static void writeShow(const char *name, bool fShow);
public slots:
virtual void updateInfo(){};
signals:
void eventReceived(TQEvent *);
private:
bool eventFilter( TQObject *o , TQEvent *e);
};
#endif