diff --git a/Sources/MEncryptor.h b/Sources/MEncryptor.h deleted file mode 100644 index a1e0f12..0000000 --- a/Sources/MEncryptor.h +++ /dev/null @@ -1,170 +0,0 @@ -#ifndef MENCRYPTOR_H -#define MENCRYPTOR_H - - -#include - -#include -#include -#include -#include - -#include -#include -#include -#include -#include -#include - -#include -#include -#include - -#include -#include -#include - - -class MEncryptor : public QTabWidget -{ - Q_OBJECT - - public: - MEncryptor (); - - ~MEncryptor (); - - - private slots: - void setProcessText (); - void startProcessAndDisplay (); - void startProcessAndSave (); - - void analyzeText (); - void clearContents (); - - void languageModified (); - void initUITheme (); - - - private: - void initPalettes (); - - void readOptions (); - void loadOptions (); - - void initEncryptor (); - void initProtocols (); - - void initAnalyzer (); - - void initOthers (); - - - QString reverse (const QString&); - QStringList reverse (const QStringList&); - - - std::vector options; - QStringList errors; - - QPalette lightPalette; - QPalette darkPalette; - - QTranslator* translator; - QTranslator* messageBoxesTranslator; - - - /////////////// "Encryptor" tab /////////////// - - - QString encryptorOutput; - - QWidget* encryptorTab; - QHBoxLayout* encryptorLayout; - QGroupBox* inputBox; - QVBoxLayout* inputBoxLayout; - QTextEdit* inputZone; - - QWidget* processWidget; - QVBoxLayout* processLayout; - QLabel* processImage; - QLabel* chooseProcessLabel; - QPushButton* processSelecter; - QLabel* chooseProtocolLabel; - QComboBox* protocolSelecter; - - QGroupBox* outputBox; - QVBoxLayout* outputBoxLayout; - QPushButton* bDisplayOutput; - QPushButton* bSaveOutput; - - - void chooseProcess (bool); - unsigned short int e_LeetSpeak (); - unsigned short int d_LeetSpeak (); - - unsigned short int reversedWords (); - - unsigned short int reversedSentence (); - - unsigned short int e_UnicodeValues (); - unsigned short int d_UnicodeValues (); - - unsigned short int e_Shift (); - unsigned short int d_Shift (); - - unsigned short int e_Braille (); - unsigned short int d_Braille (); - - unsigned short int e_Values (); - unsigned short int d_Values (); - - unsigned short int e_Vigenere (); - unsigned short int d_Vigenere (); - - unsigned short int protocolCallBack_1 (bool, unsigned int); - void outputHandling (bool); - - - /////////////// "Frequency analyzer" tab /////////////// - - - QWidget* analyzerTab; - QHBoxLayout* analyzerTabLayout; - QGroupBox* analyzerInputBox; - QGridLayout* analyzerInputBoxLayout; - QTextEdit* analyzerInputZone; - QCheckBox* analyzeSymbols; - QCheckBox* caseSensitive; - QPushButton* bAnalyze; - QPushButton* bClear; - - QGroupBox* analyzerOutputBox; - QGridLayout* analyzerOutputBoxLayout; - QLabel* chooseSortingLabel; - QComboBox* sortingSelecter; - QTextEdit* analyzerOutputZone; - - void displayAnalysisReport (const QString&, const QString&); - - unsigned int mostFrequent (const QStringList&, const QString&); - - - /////////////// "Help and Settings" tab /////////////// - - - QWidget* othersTab; - QGridLayout* othersTabLayout; - QLabel* aboutMRecorderLabel; - - QGroupBox* UIOptionsBox; - QGridLayout* UIOptionsBoxLayout; - QLabel* chooseLanguageLabel; - QComboBox* languageSelecter; - QLabel* chooseThemeLabel; - QComboBox* themeSelecter; -}; - - -#endif // MENCRYPTOR_H