Нет описания

StegaPanel.h 789B

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. #ifndef STEGAPANEL_H
  2. #define STEGAPANEL_H
  3. #include <QMainWindow>
  4. #include <QFileDialog>
  5. #include <QDir>
  6. #include <QMessageBox>
  7. #include <QSlider>
  8. #include <QShortcut>
  9. #include <QMessageBox>
  10. #include <string>
  11. using namespace std ;
  12. namespace Ui {
  13. class StegaPanel;
  14. }
  15. class StegaPanel : public QMainWindow
  16. {
  17. Q_OBJECT
  18. public:
  19. explicit StegaPanel(QWidget *parent = 0);
  20. void hideMessage();
  21. void revealMessage();
  22. ~StegaPanel();
  23. private slots:
  24. void on_loadImage_clicked();
  25. void on_hideMessage_clicked();
  26. void on_getMessage_clicked();
  27. void on_storeImage_clicked();
  28. private:
  29. Ui::StegaPanel *ui;
  30. QImage old_image;
  31. QImage new_image;
  32. int leastBits; //number of bits used in pixel for message
  33. QString orig_msg;
  34. };
  35. #endif // MAINWINDOW_H