Files
Sourcetrail/src/lib_gui/qt/window/QtSelectPathsDialog.h
T
mlangkabel a7ef02459a logic: fixed indexed header paths for compilation database project screw up the processing order of includes (issue #571)
* prevented indexed header paths for CDB to be appended to compile command
* fixed exists check for relative paths in QtSelectPathsDialog
* indexed header paths will automatically be updated when a new compilation database is picked
2018-04-27 17:51:03 +02:00

29 lines
699 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, const FilePath& rootPathForRelativePaths);
virtual void populateWindow(QWidget* widget) override;
virtual void windowReady() override;
private:
QListWidget* m_list;
void checkSelected(bool checked);
};
#endif // QT_SELECT_PATHS_DIALOG_H