17 #ifndef _INSERT_MODEL_WIDGET_HH_
18 #define _INSERT_MODEL_WIDGET_HH_
24 #include <boost/filesystem.hpp>
31 class QTreeWidgetItem;
39 class InsertModelWidgetPrivate;
52 public:
bool LocalPathInFileWidget(
const std::string &_path);
57 private:
void OnModels(
58 const std::map<std::string, std::string> &_models);
63 private:
void OnModelUpdateRequest(
const std::string &_localPath);
66 private slots:
void OnModelSelection(QTreeWidgetItem *item,
int column);
70 private slots:
void Update();
74 private slots:
void OnDirectoryChanged(
const QString &_path);
79 private:
static bool IsPathAccessible
80 (
const boost::filesystem::path &_path);
83 private:
void UpdateAllLocalPaths();
87 private:
void UpdateLocalPath(
const std::string &_path);
90 private: std::vector<event::ConnectionPtr> connections;
#define GZ_GUI_VISIBLE
Definition: system.hh:284