File indexing completed on 2024-04-28 04:32:02

0001 /*
0002  * Copyright (C) 2010-2015 by Stephen Allewell
0003  * steve.allewell@gmail.com
0004  *
0005  * This program is free software; you can redistribute it and/or modify
0006  * it under the terms of the GNU General Public License as published by
0007  * the Free Software Foundation; either version 2 of the License, or
0008  * (at your option) any later version.
0009  */
0010 
0011 #ifndef LibraryFilePathsDlg_H
0012 #define LibraryFilePathsDlg_H
0013 
0014 #include <QDialog>
0015 
0016 #include "ui_LibraryFilePaths.h"
0017 
0018 class QHideEvent;
0019 class QShowEvent;
0020 
0021 class LibraryFilePathsDlg : public QDialog
0022 {
0023     Q_OBJECT
0024 
0025 public:
0026     LibraryFilePathsDlg(QWidget *, const QString &, QStringList);
0027     virtual ~LibraryFilePathsDlg() = default;
0028 
0029 protected:
0030     virtual void hideEvent(QHideEvent *) Q_DECL_OVERRIDE;
0031     virtual void showEvent(QShowEvent *) Q_DECL_OVERRIDE;
0032 
0033 private slots:
0034     void on_DialogButtonBox_accepted();
0035     void on_DialogButtonBox_helpRequested();
0036 
0037 private:
0038     Ui::LibraryFilePaths ui;
0039 };
0040 
0041 #endif // LibraryFilePathsDlg_H