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

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