source: ntrip/trunk/GnssCenter/inpedit/selwin.h@ 5116

Last change on this file since 5116 was 5114, checked in by mervart, 11 years ago
File size: 686 bytes
Line 
1#ifndef GnssCenter_SELWIN_H
2#define GnssCenter_SELWIN_H
3
4#include <QtGui>
5
6namespace GnssCenter {
7
8class t_selWin : public QWidget {
9 Q_OBJECT
10
11 public:
12 enum Mode {File, Files, Directory};
13
14 t_selWin(t_selWin::Mode mode, QWidget* parent = 0);
15 ~t_selWin();
16
17 const QStringList& fileNames() const;
18 Mode mode() const {return _mode;}
19 void setFileNames(const QStringList& fileNames);
20
21 signals:
22 void fileNameChanged();
23
24 private slots:
25 void slotTextChanged();
26 void slotChooseFile();
27
28 private:
29 void setLineEditText();
30 QLineEdit* _lineEdit;
31 QPushButton* _button;
32 Mode _mode;
33 QStringList _fileNames;
34};
35
36} // namespace GnssCenter
37
38#endif
Note: See TracBrowser for help on using the repository browser.