summaryrefslogtreecommitdiffstats
path: root/wifi/status.h
blob: 59efff87f8aac5e4cc517e41c60cd54193eedeaf (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
/***************************************************************************
                          status.h  -  description
                             -------------------
    begin                : Mon Aug 19 2002
    copyright            : (C) 2002 by Stefan Winter
    email                : mail@stefan-winter.de
 ***************************************************************************/

/***************************************************************************
 *                                                                         *
 *   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 STATUS_H
#define STATUS_H

#include <tqwidget.h>
#include <tqpainter.h>
#include <tqgroupbox.h>
#include <tqlabel.h>
#include <tqpixmap.h>

class Interface_wireless;

class Status:public TQWidget
{
public:
  Status (TQWidget * parent, Interface_wireless * device);
private:
  void paintEvent (TQPaintEvent *);
  bool generateStatsWidget ();
  TQGroupBox *content;
  TQLabel *stat, *net_id, *ap_str, *ap_ad, *fr_str, *fr, *enc_str, *enc,
    *local_ip_content, *local_ip_string;
  TQPixmap widgetbild, widgetbildalt;
  Interface_wireless *device;
};

#endif