//Chris Xiong 2022 //License: MPL-2.0 #ifndef PATHCHOOSER_HPP #define PATHCHOOSER_HPP #include #include #include #include namespace fs = std::filesystem; class QDialogButtonBox; class QTableView; class QStandardItemModel; class PathChooser : public QDialog { Q_OBJECT private: QTableView *tv; QStandardItemModel *im; QDialogButtonBox *bb; public: PathChooser(QWidget *parent = nullptr); std::vector> get_dirs(); public Q_SLOTS: void add_new(); void delete_selected(); }; #endif