source: subversion/applications/editors/merkaartor/DirtyDock.h @ 13736

Last change on this file since 13736 was 13422, checked in by Łukasz Jernaś, 11 years ago

FIX : Implement dynamic UI translation (fixes #1432)

File size: 1015 bytes
Line 
1//
2// C++ Interface: DirtyDock
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 DIRTYDOCK_H
13#define DIRTYDOCK_H
14
15#include "Utils/MDockAncestor.h"
16#include <QTextBrowser>
17
18#include "ui_DirtyDock.h"
19
20#include <vector>
21
22class MainWindow;
23class MapFeature;
24
25/**
26        @author cbro <cbro@semperpax.com>
27*/
28class DirtyDock : public MDockAncestor
29{
30Q_OBJECT
31public:
32    DirtyDock(MainWindow* aParent);
33
34    ~DirtyDock();
35
36public slots:
37        void updateList();
38        void on_ChangesList_itemSelectionChanged();
39        void on_ChangesList_itemDoubleClicked(QListWidgetItem* item);
40        void on_ChangesList_customContextMenuRequested(const QPoint & pos);
41        void on_centerAction_triggered();
42        void on_centerZoomAction_triggered();
43
44private:
45        MainWindow* Main;
46        Ui::DirtyDockWidget ui;
47        QAction* centerAction;
48        QAction* centerZoomAction;
49       
50        std::vector<MapFeature*> Selection;
51public:
52        void changeEvent(QEvent*);
53        void retranslateUi();
54};
55
56#endif
Note: See TracBrowser for help on using the repository browser.