pqIconBrowser.h
Go to the documentation of this file.
1 // SPDX-FileCopyrightText: Copyright (c) Kitware Inc.
2 // SPDX-License-Identifier: BSD-3-Clause
3 
4 #ifndef pqIconBrowser_h
5 #define pqIconBrowser_h
6 
7 #include <QDialog>
8 
9 #include "pqComponentsModule.h"
10 
11 #include <QString>
12 
13 #include <memory>
14 
21 class PQCOMPONENTS_EXPORT pqIconBrowser : public QDialog
22 {
23  typedef QDialog Superclass;
24  Q_OBJECT;
25 
26 public:
27  pqIconBrowser(QWidget* parent);
28  ~pqIconBrowser() override;
29 
36  static QString getIconPath(const QString& defaultPath = QString());
37 
41  QString getSelectedIconPath();
42 
43 private:
44  struct pqInternal;
45  std::unique_ptr<pqInternal> Internal;
46 };
47 
48 #endif // pqIconBrowser_h
#define PQCOMPONENTS_EXPORT
pqIconBrowser is a dialog to browse available icons.
Definition: pqIconBrowser.h:21