Ingen beskrivning

StegaPanel.h 845B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  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. //cantidad de bits usadod en pixel para el mensaje
  34. QString orig_msg;
  35. };
  36. #endif // MAINWINDOW_H