Files
Sourcetrail/src/lib_gui/qt/window/QtSelectPathsDialog.h
T
Andreas Stallinger ac20f6d244 ui: SelectPath Dialog update
check/uncheck buttons added to the dialog
2016-09-15 13:30:45 +02:00

28 lines
666 B
C++

#ifndef QT_SELECT_PATHS_DIALOG_H
#define QT_SELECT_PATHS_DIALOG_H
#include "qt/window/QtTextEditDialog.h"
#include "utility/file/FilePath.h"
class QListWidget;
class QtSelectPathsDialog
: public QtTextEditDialog
{
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