mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-06-12 12:57:13 +02: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