mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2026-01-16 07:01:33 +01:00
WIP
This commit is contained in:
@@ -99,6 +99,16 @@ class qDefs : public QWidget {
|
||||
*/
|
||||
enum range { XMIN, XMAX, YMIN, YMAX };
|
||||
|
||||
static std::string getRangeAsString(enum range r) {
|
||||
switch (r) {
|
||||
case XMIN: return "XMIN";
|
||||
case XMAX: return "XMAX";
|
||||
case YMIN: return "YMIN";
|
||||
case YMAX: return "YMAX";
|
||||
default: return "Unknown";
|
||||
}
|
||||
};
|
||||
|
||||
/**
|
||||
* function enums for the qServer and qClient
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user