source: subversion/applications/editors/merkaartor/InfoDock.h @ 7482

Last change on this file since 7482 was 7482, checked in by Chris Browet, 12 years ago

ADD : Information dock (closes #675)
ADD : Dock menu / shortcuts
FIX : crash after loading document with tracklayer (double add to layer)

File size: 611 bytes
Line 
1//
2// C++ Interface: InfoDock
3//
4// Description:
5//
6//
7// Author: cbro <cbro@semperpax.com>, (C) 2008
8//
9// Copyright: See COPYING file that comes with this distribution
10//
11//
12#ifndef INFODOCK_H
13#define INFODOCK_H
14
15#include <QDockWidget>
16#include <QTextBrowser>
17
18class MainWindow;
19class MapFeature;
20
21/**
22        @author cbro <cbro@semperpax.com>
23*/
24class InfoDock : public QDockWidget
25{
26Q_OBJECT
27public:
28    InfoDock(MainWindow* aParent);
29
30    ~InfoDock();
31
32public:
33        void setHtml(QString html);
34
35private slots:
36        void on_anchorClicked(const QUrl & link);
37
38private:
39        MainWindow* Main;
40        QTextBrowser* theText;
41};
42
43#endif
Note: See TracBrowser for help on using the repository browser.