dialogroadobject.h 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. #ifndef DIALOGROADOBJECT_H
  2. #define DIALOGROADOBJECT_H
  3. #include <QDialog>
  4. #include <QLineEdit>
  5. #include <QLabel>
  6. #include <QComboBox>
  7. namespace Ui {
  8. class DialogRoadObject;
  9. }
  10. class DialogRoadObject : public QDialog
  11. {
  12. Q_OBJECT
  13. public:
  14. explicit DialogRoadObject(QWidget *parent = nullptr);
  15. ~DialogRoadObject();
  16. private:
  17. Ui::DialogRoadObject *ui;
  18. private:
  19. void CreateView();
  20. private:
  21. QLineEdit * mpLEt;
  22. QLineEdit * mpLEzOffset;
  23. QComboBox * mpCBtype;
  24. QLineEdit * mpLEvalidLength;
  25. QComboBox * mpCBorientation;
  26. QLineEdit * mpLEsubtype;
  27. QComboBox * mpCBdynamic;
  28. QLineEdit * mpLEhdg;
  29. QLineEdit * mpLEname;
  30. QLineEdit * mpLEpitch;
  31. QLineEdit * mpLEid;
  32. QLineEdit * mpLEroll;
  33. QLineEdit * mpLEheight;
  34. QLineEdit * mpLEs;
  35. QLineEdit * mpLElength;
  36. QLineEdit * mpLEwidth;
  37. QLineEdit * mpLEradius;
  38. private:
  39. QLineEdit * CreateLE(int pos_x,int pos_y,int nLabelWidth,int nLEWidth,int nHeight,std::string strname);
  40. QComboBox * CreateCB(int pos_x,int pos_y,int nLabelWidth,int nLEWidth,int nHeight,std::string strname);
  41. };
  42. #endif // DIALOGROADOBJECT_H