File: dialogcompare.h

package info (click to toggle)
imsprog 1.7.1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky
  • size: 17,984 kB
  • sloc: cpp: 8,301; ansic: 6,111; xml: 677; sh: 265; makefile: 5
file content (50 lines) | stat: -rw-r--r-- 1,311 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
/*
 * Copyright (C) 2024 - 2025 Mikhail Medvedev <e-ink-reader@yandex.ru>
 *
 *
 * This program is free software; you can redistribute it and/or
 * modify it under the terms of the GNU General Public License
 * as published by the Free Software Foundation; either version 3
 * of the License, or (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 */
#ifndef DIALOGCOMPARE_H
#define DIALOGCOMPARE_H

#include <QDialog>
#include <QResizeEvent>
#include "qhexedit.h"
#include "hexutility.h"

namespace Ui {
class DialogCompare;
}

class DialogCompare : public QDialog
{
    Q_OBJECT

private slots:
    void handleScroll1();
    void handleScroll2();

    void on_checkBox_stateChanged(int arg1);

public:
    explicit DialogCompare(QWidget *parent = nullptr);
    void showArrays(QByteArray *array1, QByteArray *array2, QString *name1, QString *name2);
    ~DialogCompare();

private:
    Ui::DialogCompare *ui;
    void resizeEvent(QResizeEvent* event);
    QHexEdit *hexEdit1, *hexEdit2;
    QByteArray data1, data2;
    //QByteArray arr1, arr2;
};

#endif // DIALOGCOMPARE_H