summaryrefslogtreecommitdiffstats
path: root/src/panel.h
blob: 5778e13db824ec660d17a0bbc1c80dcb008113fa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
/***************************************************************************
                          display.h  -  description
                             -------------------
    begin                : Sun Nov 11 2001
    copyright            : (C) 2001 by Miguel Novas
    email                : [email protected]
 ***************************************************************************/

/***************************************************************************
 *                                                                         *
 *   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 <tqframe.h>
#include <tdeconfig.h>
#include <tqpalette.h>

/**
  *@author Miguel Novas
  */

class Panel : public TQFrame  {
TQ_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