7 #ifndef DEVICESETSELECTORWIDGET_H 8 #define DEVICESETSELECTORWIDGET_H 11 #include "PlusConfigure.h" 12 #include "PlusWidgetsExport.h" 13 #include "ui_QPlusDeviceSetSelectorWidget.h" 14 #include "vtkIGSIOTransformRepository.h" 22 class QDragEnterEvent;
27 #include <vtkSmartPointer.h> 51 void SetDeviceSetComboBoxMaximumSizeRatio(
double ratio);
63 PlusStatus SetConfigurationDirectory(
const QString& aDirectory);
70 PlusStatus SetConfigurationFile(
const QString& aFilename);
76 void SetConnectionSuccessful(
bool aConnectionSuccessful);
82 bool GetConnectionSuccessful();
87 std::string GetSelectedDeviceSetConfigFilePath();
92 std::string GetSelectedDeviceSetDescription();
97 void ShowResetTrackerButton(
bool aValue);
102 void SetConnectButtonText(QString
text);
107 void SetDescriptionSuffix(
const QString&
string);
112 void ClearDescriptionSuffix();
118 void UpdateDescriptionText();
125 void ConfigurationDirectoryChanged(std::string);
131 void DeviceSetSelected(std::string);
137 void ConnectToDevicesByConfigFileInvoked(std::string);
151 PlusStatus ParseDirectory(
const QString& aDirectory);
153 virtual void resizeEvent(QResizeEvent* event);
155 QString FindCalibrationDetails(
const QDomDocument& doc,
156 vtkSmartPointer<vtkIGSIOTransformRepository> tr,
157 const QString& tagName,
158 const QString& outputPrefix,
159 const QString& firstFrame,
160 const QString& secondFrame);
162 void FixComboBoxDropDownListSizeAdjustemnt(QComboBox* cb);
164 virtual void dragEnterEvent(QDragEnterEvent* event);
165 virtual void dropEvent(QDropEvent* event);
171 void OpenConfigurationDirectory();
176 void DeviceSetSelected(
int);
181 void InvokeConnect();
186 void InvokeDisconnect();
191 void RefreshFolder();
196 void EditConfiguration();
201 void ShowEditContextMenu(QPoint);
211 void EditAppConfig();
216 void ResetTrackerButtonClicked();
243 Ui::DeviceSetSelectorWidget
ui;
PhidgetLCD_Font int int const char * text