summaryrefslogtreecommitdiffstats
path: root/wifi/status.h
blob: 9b8aed52c7cb7690faf3e10f4335d22ecb3f0566 (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 QWidget
{
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