![]() |
PictureCrypt
1.4.1
An image-steganography project
|
The EncryptDialog class Class to get the image and key to store secret info. More...
#include <encryptdialog.h>


Public Slots | |
| void | on_fileButton_clicked () |
| EncryptDialog::on_fileButton_clicked Slot to select the image. More... | |
| void | on_buttonBox_accepted () |
| EncryptDialog::on_buttonBox_accepted Slot to start the encryption. Successful closing of the app. More... | |
| void | on_buttonBox_rejected () |
| EncryptDialog::on_buttonBox_rejected Slot to reject the encryption. More... | |
| void | on_bitsSlider_valueChanged (int value) |
| EncryptDialog::on_bitsSlider_valueChanged Slot if value of the bits slider is changed. More... | |
Public Member Functions | |
| EncryptDialog (QByteArray _data, QWidget *parent=0) | |
| EncryptDialog::EncryptDialog Constructor of the class. Input data is saved here and some variables are set here. More... | |
| ~EncryptDialog () | |
| QByteArray | zip () |
| EncryptDialog::zip Zipping algorithm It copresses the data and then compresses it using qCompress() More... | |
Public Attributes | |
| QByteArray | data |
| data Input data More... | |
| bool | success |
| success Flag, if image was successfully selected and data was encrypted. More... | |
| QByteArray | compr_data |
| compr_data Compressed data, aka Output data. More... | |
| QString | inputFileName |
| inputFileName Filename of the image. More... | |
| long long int | size |
| size Size of the image in square pixels More... | |
| QString | key |
| key Key to be used for encryption in EncrytDialog::zip More... | |
| bool | goodPercentage |
| goodPercentage Flag if area of the used data via encryption is less than 70% of the area of the image. More... | |
| int | val |
| val Value of the slider More... | |
| int | bitsUsed |
| bitsUsed Bits used per byte of pixel. More... | |
| QImage | image |
| image Inputted image More... | |
The EncryptDialog class Class to get the image and key to store secret info.
Definition at line 21 of file encryptdialog.h.
|
explicit |
EncryptDialog::EncryptDialog Constructor of the class. Input data is saved here and some variables are set here.
| _data | Input data. |
| parent | Parent (not in use) |
Definition at line 9 of file encryptdialog.cpp.

| EncryptDialog::~EncryptDialog | ( | ) |
Definition at line 26 of file encryptdialog.cpp.
|
slot |
EncryptDialog::on_bitsSlider_valueChanged Slot if value of the bits slider is changed.
| value | Well, value |
Definition at line 107 of file encryptdialog.cpp.
|
slot |
EncryptDialog::on_buttonBox_accepted Slot to start the encryption. Successful closing of the app.
Definition at line 82 of file encryptdialog.cpp.

|
slot |
EncryptDialog::on_buttonBox_rejected Slot to reject the encryption.
Definition at line 98 of file encryptdialog.cpp.
|
slot |
EncryptDialog::on_fileButton_clicked Slot to select the image.
Definition at line 57 of file encryptdialog.cpp.
| QByteArray EncryptDialog::zip | ( | ) |
EncryptDialog::zip Zipping algorithm It copresses the data and then compresses it using qCompress()
Definition at line 46 of file encryptdialog.cpp.


| int EncryptDialog::bitsUsed |
bitsUsed Bits used per byte of pixel.
Definition at line 75 of file encryptdialog.h.
| QByteArray EncryptDialog::compr_data |
compr_data Compressed data, aka Output data.
Definition at line 50 of file encryptdialog.h.
| QByteArray EncryptDialog::data |
data Input data
Definition at line 42 of file encryptdialog.h.
| bool EncryptDialog::goodPercentage |
goodPercentage Flag if area of the used data via encryption is less than 70% of the area of the image.
Definition at line 66 of file encryptdialog.h.
| QImage EncryptDialog::image |
image Inputted image
Definition at line 79 of file encryptdialog.h.
| QString EncryptDialog::inputFileName |
inputFileName Filename of the image.
Definition at line 54 of file encryptdialog.h.
| QString EncryptDialog::key |
key Key to be used for encryption in EncrytDialog::zip
Definition at line 62 of file encryptdialog.h.
| long long int EncryptDialog::size |
size Size of the image in square pixels
Definition at line 58 of file encryptdialog.h.
| bool EncryptDialog::success |
success Flag, if image was successfully selected and data was encrypted.
Definition at line 46 of file encryptdialog.h.
| int EncryptDialog::val |
val Value of the slider
Definition at line 70 of file encryptdialog.h.
1.8.11