Files
Sourcetrail/src/lib_gui/qt/window/QtSelectPathsDialog.h
T
Andreas Stallinger 37ead804bf src: clazy compiler warnings
get rid of most clazy warnings (https://github.com/KDE/clazy)
* range loop use refs
* qcolor ctor with ints
* missing Q_OBJECT macro
* use .constfirst instead of .first

enabled ccache for unix systems for fasterr recompiling
* if ccache is in path we use it now
2017-08-10 09:45:55 +02:00

29 lines
657 B
C++

#ifndef QT_SELECT_PATHS_DIALOG_H
#define QT_SELECT_PATHS_DIALOG_H
#include "qt/window/QtTextEditDialog.h"
class FilePath;
class QListWidget;
class QtSelectPathsDialog
: public QtTextEditDialog
{
Q_OBJECT
public:
QtSelectPathsDialog(const QString& title, const QString& description, QWidget* parent = 0);
std::vector<FilePath> getPathsList() const;
void setPathsList(const std::vector<FilePath>& paths, const std::vector<FilePath>& checkedPaths);
virtual void populateWindow(QWidget* widget) override;
virtual void windowReady() override;
private:
QListWidget* m_list;
void checkSelected(bool checked);
};
#endif // QT_SELECT_PATHS_DIALOG_H