
#ifndef __LOCATIONDIALOG_H
#define __LOCATIONDIALOG_H

#include <mapper/config.h>

#include <qtabdialog.h>
#include <qvbox.h>
#include <qlabel.h>
#include <qbuttongroup.h>
#include <qtimer.h>
#include <iwlocator/location.h>

namespace iwear
{
    namespace sensor
    {
	namespace location
	{

/**
 */
class LocationDialog : public QTabDialog
{
    Q_OBJECT
private:
protected:
    const Location* loc;
    void setup( void );


    QVBox *normal_location;
    QLabel *level;
    QLabel *comment;
    QLabel *room;
    QLabel *building;
    QLabel *area;
    QLabel *city;
QLabel* pos_lon;
QLabel* pos_lat;
QLabel* pos_elev;
QLabel* heading;
QLabel* speed;
QLabel* pos_rms;
QLabel* room_rms;
QLabel* head_rms;
QLabel* speed_rms;

protected:
public:
    void update( const Location* );
    LocationDialog( const Location*, QWidget* parent );
    virtual ~LocationDialog();
};

}
}
}
#endif

