|
@@ -11,17 +11,29 @@ StegaPanel::StegaPanel(QWidget *parent) :
|
11
|
11
|
QMainWindow(parent),
|
12
|
12
|
ui(new Ui::StegaPanel)
|
13
|
13
|
{
|
14
|
|
- ui->setupUi(this); //
|
|
14
|
+ ui->setupUi(this);
|
15
|
15
|
|
16
|
16
|
}
|
17
|
17
|
|
18
|
18
|
void StegaPanel::hideMessage()
|
19
|
19
|
{
|
20
|
20
|
|
21
|
|
- string binMsg ; // Will be used to store the message in a binary String format
|
22
|
|
-
|
23
|
|
- ui->error_msg_label->clear(); //clear error text
|
24
|
|
- orig_msg = ui->textEdit->toPlainText(); //obtain msg from textEdit
|
|
21
|
+ ///~English
|
|
22
|
+ /// Will be used to store the message in a binary string format
|
|
23
|
+ ///~Spanish
|
|
24
|
+ /// Se usara para almacenar el mensaje en un formato de caracteres binario
|
|
25
|
+ string binMsg ;
|
|
26
|
+
|
|
27
|
+ ///~English
|
|
28
|
+ /// clear error text
|
|
29
|
+ ///~Spanish
|
|
30
|
+ /// despejar mensaje de error
|
|
31
|
+ ui->error_msg_label->clear();
|
|
32
|
+ ///~English
|
|
33
|
+ /// obtain message from textEdit
|
|
34
|
+ ///~Spanish
|
|
35
|
+ /// obtener el mensaje de textEdit
|
|
36
|
+ orig_msg = ui->textEdit->toPlainText();
|
25
|
37
|
|
26
|
38
|
if(old_image.isNull()){
|
27
|
39
|
qDebug() << "Load an image first!";
|