Files
Sourcetrail/src/lib_gui/qt/window/QtSelectPathsDialog.h
T
malte_langkabel 054b8fab17 logic: reduce access to filesystem while indexing
* use canonical filepath cache in cxx indexer
* made constructors of FilePath explicit
* use FilePath at more places instead of string
* forward declares FilePath wherever possible
2017-05-04 10:55:16 +02:00

28 lines
647 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
{
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