Açıklama Yok

flag.h 554B

123456789101112131415161718192021222324252627282930313233
  1. #ifndef CHECKPOINT_H
  2. #define CHECKPOINT_H
  3. #include <QWidget>
  4. #include <string>
  5. using namespace std;
  6. ///
  7. /// Class that has the attributes of the flags, such as:
  8. /// * X, y coordinates
  9. /// * Name
  10. /// * Setters and Getters
  11. ///
  12. class Flag : public QWidget
  13. {
  14. Q_OBJECT
  15. public:
  16. explicit Flag(QWidget *parent = 0);
  17. int y_flag;
  18. int x_flag;
  19. string name;
  20. int getXFlag();
  21. int getYFlag();
  22. void setXFlag(int);
  23. void setYFlag(int);
  24. void setFlag(string);
  25. string getFlag();
  26. void hide() ;
  27. };
  28. #endif // CHECKPOINT_H