source: subversion/applications/editors/merkaartor/GotoDialog.h @ 13422

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

FIX : Implement dynamic UI translation (fixes #1432)

File size: 1.0 KB
Line 
1//
2// C++ Interface: GotoDialog
3//
4// Description:
5//
6//
7// Author: Chris Browet <cbro@semperpax.com>, (C) 2008
8//
9// Copyright: See COPYING file that comes with this distribution
10//
11//
12#ifndef GOTODIALOG_H
13#define GOTODIALOG_H
14
15#include <QWidget>
16#include <QSettings>
17
18#include "Map/Coord.h"
19#include "Map/Projection.h"
20
21#include <ui_GotoDialog.h>
22
23class CoordBox;
24class QItemSelection;
25namespace NameFinder
26{
27        class NameFinderWidget;
28}
29
30class GotoDialog: public QDialog , public Ui::GotoDialog
31{
32        Q_OBJECT
33
34public:
35    GotoDialog(const Projection& aProj, QWidget *parent = 0);
36
37        const CoordBox& newViewport() const { return theNewViewport; };
38        NameFinder::NameFinderWidget *searchWidget;
39
40public slots:
41        void on_buttonBox_clicked(QAbstractButton * button);
42        void on_searchButton_clicked();
43        void searchWidget_selectionChanged();
44        void on_NameFinderEdit_textChanged(const QString & text);
45        void searchWidget_doubleClicked ();
46
47protected:
48       
49private:
50        Projection theProjection;
51        CoordBox theNewViewport;
52
53        void changeEvent(QEvent*);
54
55};
56
57#endif
Note: See TracBrowser for help on using the repository browser.