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
RevLine 
[10970]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;
[12144]24class QItemSelection;
25namespace NameFinder
26{
27        class NameFinderWidget;
28}
[10970]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; };
[12144]38        NameFinder::NameFinderWidget *searchWidget;
[10970]39
40public slots:
41        void on_buttonBox_clicked(QAbstractButton * button);
[12144]42        void on_searchButton_clicked();
43        void searchWidget_selectionChanged();
[12167]44        void on_NameFinderEdit_textChanged(const QString & text);
45        void searchWidget_doubleClicked ();
[10970]46
47protected:
[12144]48       
[10970]49private:
50        Projection theProjection;
[13422]51        CoordBox theNewViewport;
[10970]52
[13422]53        void changeEvent(QEvent*);
54
[10970]55};
56
57#endif
Note: See TracBrowser for help on using the repository browser.