summaryrefslogtreecommitdiffstats
path: root/wifi/status.h
blob: 0c7f0d3e45252d9bd5506cbc3917d5cc10175f01 (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 <qwidget.h>
#include <qpainter.h>
#include <qgroupbox.h>
#include <qlabel.h>
#include <qpixmap.h>

class Interface_wireless;

class Status:public QWidget
{
public:
  Status (QWidget * parent, Interface_wireless * device);
private:
  void paintEvent (QPaintEvent *);
  bool generateStatsWidget ();
  QGroupBox *content;
  QLabel *stat, *net_id, *ap_str, *ap_ad, *fr_str, *fr, *enc_str, *enc,
    *local_ip_content, *local_ip_string;
  QPixmap widgetbild, widgetbildalt;
  Interface_wireless *device;
};

#endif