Choreonoid  1.8
PathVariableEditor.h
Go to the documentation of this file.
1 
5 #ifndef CNOID_BASE_PATH_VARIABLE_EDITOR_H_INCLUDED
6 #define CNOID_BASE_PATH_VARIABLE_EDITOR_H_INCLUDED
7 
8 #include <QDialog>
9 #include <QTableWidget>
10 #include <QLineEdit>
11 
12 namespace cnoid {
13 
14 class ExtensionManager;
15 
16 class PathVariableEditor : public QDialog
17 {
18 public:
19  static void initialize(ExtensionManager* ext);
20 
21 private:
22  QTableWidget* tableWidget;
23  QLineEdit* newVariableEntry;
24 
26  void initAndShow();
27  void readPathVariablesFromArchive();
28  void appendPathVariable(const QString& name, const QString& paths);
29  void writePathVariablesToArchive();
30  void onAppendActivated();
31 };
32 }
33 
34 #endif
cnoid::ExtensionManager
Definition: ExtensionManager.h:23
cnoid::PathVariableEditor
Definition: PathVariableEditor.h:16
cnoid::PathVariableEditor::initialize
static void initialize(ExtensionManager *ext)
Definition: PathVariableEditor.cpp:54
cnoid
Definition: AbstractSceneLoader.h:11