initial commit

This commit is contained in:
Damian Kowalski 2024-04-06 12:38:51 +02:00
commit 00dbd9e3cc
277 changed files with 328308 additions and 0 deletions

34
.gitignore vendored Normal file
View File

@ -0,0 +1,34 @@
syntax: glob
# Visual Studio generated files:
GeneratedFiles/*
Release/*
Debug/*
release/*
debug/*
ipch/*
# Build and relase directories:
build/*
build*/*
# Temporary files:
vc100.pdb
Makefile
Makefile.Release
Makefile.Debug
MySimpleGimp.pro.user
MySimpleGimp.vcxproj.user
MySimpleGimp.v11.suo
MySimpleGimp.sdf
gen/*
MySimpleGimp.opensdf
MySimpleGimp.vcxproj*
syntax: regexp
# ui .h files. Auto generated by Qt on compile i.e. ui_histogram.h etc.
ui_.+.h
# merge files
.+.orig

22
.qmake.stash Normal file
View File

@ -0,0 +1,22 @@
QMAKE_CXX.QT_COMPILER_STDCXX = 199711L
QMAKE_CXX.QMAKE_MSC_VER = 1928
QMAKE_CXX.QMAKE_MSC_FULL_VER = 192829337
QMAKE_CXX.COMPILER_MACROS = \
QT_COMPILER_STDCXX \
QMAKE_MSC_VER \
QMAKE_MSC_FULL_VER
QMAKE_CXX.INCDIRS = \
"C:\\Program Files (x86)\\Microsoft Visual Studio\\2019\\Community\\VC\\Tools\\MSVC\\14.28.29333\\ATLMFC\\include" \
"C:\\Program Files (x86)\\Microsoft Visual Studio\\2019\\Community\\VC\\Tools\\MSVC\\14.28.29333\\include" \
"C:\\Program Files (x86)\\Windows Kits\\NETFXSDK\\4.8\\include\\um" \
"C:\\Program Files (x86)\\Windows Kits\\10\\include\\10.0.19041.0\\ucrt" \
"C:\\Program Files (x86)\\Windows Kits\\10\\include\\10.0.19041.0\\shared" \
"C:\\Program Files (x86)\\Windows Kits\\10\\include\\10.0.19041.0\\um" \
"C:\\Program Files (x86)\\Windows Kits\\10\\include\\10.0.19041.0\\winrt" \
"C:\\Program Files (x86)\\Windows Kits\\10\\include\\10.0.19041.0\\cppwinrt"
QMAKE_CXX.LIBDIRS = \
"C:\\Program Files (x86)\\Microsoft Visual Studio\\2019\\Community\\VC\\Tools\\MSVC\\14.28.29333\\ATLMFC\\lib\\x64" \
"C:\\Program Files (x86)\\Microsoft Visual Studio\\2019\\Community\\VC\\Tools\\MSVC\\14.28.29333\\lib\\x64" \
"C:\\Program Files (x86)\\Windows Kits\\NETFXSDK\\4.8\\lib\\um\\x64" \
"C:\\Program Files (x86)\\Windows Kits\\10\\lib\\10.0.19041.0\\ucrt\\x64" \
"C:\\Program Files (x86)\\Windows Kits\\10\\lib\\10.0.19041.0\\um\\x64"

22
MySimpleGimp.pro Normal file
View File

@ -0,0 +1,22 @@
QT += core gui widgets
TARGET = MySimpleGimp
TEMPLATE = app
INCLUDEPATH += src/
SOURCES += src/main.cpp
include(src/core/core.pri)
include(src/gui/gui.pri)
RESOURCES += res/icons.qrc
CONFIG += c++11
gcc:QMAKE_CXXFLAGS += -Wno-ignored-qualifiers -Wno-unused-parameter -Wno-unused-variable -Wno-unused-but-set-variable -Wno-reorder
msvc {
QMAKE_CXXFLAGS_WARN_ON -= -W3
QMAKE_CXXFLAGS_WARN_ON += -W2
}

25
MySimpleGimp.sln Normal file
View File

@ -0,0 +1,25 @@

Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 17
VisualStudioVersion = 17.0.32014.148
MinimumVisualStudioVersion = 10.0.40219.1
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "MySimpleGimp", "MySimpleGimp.vcxproj", "{4D2E1327-61EE-3469-A176-71883CFD4BCA}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|x64 = Debug|x64
Release|x64 = Release|x64
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{4D2E1327-61EE-3469-A176-71883CFD4BCA}.Debug|x64.ActiveCfg = Debug|x64
{4D2E1327-61EE-3469-A176-71883CFD4BCA}.Debug|x64.Build.0 = Debug|x64
{4D2E1327-61EE-3469-A176-71883CFD4BCA}.Release|x64.ActiveCfg = Release|x64
{4D2E1327-61EE-3469-A176-71883CFD4BCA}.Release|x64.Build.0 = Release|x64
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {33647417-C9E8-4476-93A4-765A4E017B4E}
EndGlobalSection
EndGlobal

4
images/1_black_pixel.pbm Normal file
View File

@ -0,0 +1,4 @@
P4
# CREATOR: GIMP PNM Filter Version 1.1
1 1

BIN
images/1_white_pixel.pbm Normal file

Binary file not shown.

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1,4 @@
P4
# CREATOR: GIMP PNM Filter Version 1.1
5 5
€@ @

Binary file not shown.

1330
images/cat_375x500.pnm Normal file

File diff suppressed because one or more lines are too long

Binary file not shown.

8810
images/fruits_512x480.pnm Normal file

File diff suppressed because one or more lines are too long

102
images/kitty_131x131.pgm Normal file

File diff suppressed because one or more lines are too long

42
images/lenna_154x154.pnm Normal file

File diff suppressed because one or more lines are too long

5
images/lenna_512x512.pgm Normal file

File diff suppressed because one or more lines are too long

542
images/lenna_512x512.pnm Normal file

File diff suppressed because one or more lines are too long

47
images/morph_279x200.pnm Normal file

File diff suppressed because one or more lines are too long

Binary file not shown.

Binary file not shown.

BIN
images/rectangle_67x63.pnm Normal file

Binary file not shown.

File diff suppressed because one or more lines are too long

Binary file not shown.

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

180004
images/sample_ascii_200x300.ppm Normal file

File diff suppressed because it is too large Load Diff

Binary file not shown.

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

Binary file not shown.

4
images/stuff_640x480.pnm Normal file

File diff suppressed because one or more lines are too long

11
images/text1_728x460.pnm Normal file

File diff suppressed because one or more lines are too long

24
images/text2_532x730.pnm Normal file

File diff suppressed because one or more lines are too long

4
images/text3_490x354.pnm Normal file

File diff suppressed because one or more lines are too long

4
images/text4_700x445.pnm Normal file

File diff suppressed because one or more lines are too long

22
images/text5_636x439.pnm Normal file

File diff suppressed because one or more lines are too long

Binary file not shown.

File diff suppressed because one or more lines are too long

Binary file not shown.

67
res/icons.qrc Normal file
View File

@ -0,0 +1,67 @@
<RCC>
<qresource prefix="/icons">
<file>icons/chart_curve.png</file>
<file>icons/chart_curve_add.png</file>
<file>icons/chart_curve_delete.png</file>
<file>icons/chart_line_edit.png</file>
<file>icons/door_out.png</file>
<file>icons/eye.png</file>
<file>icons/eye_blue.png</file>
<file>icons/eye_gray.png</file>
<file>icons/eye_green.png</file>
<file>icons/eye_red.png</file>
<file>icons/folder.png</file>
<file>icons/things_digital.png</file>
<file>icons/transform_rotate_90.png</file>
<file>icons/transform_rotate_180.png</file>
<file>icons/transform_rotate_270.png</file>
<file>icons/transform_rotate.png</file>
<file>icons/zoom_in.png</file>
<file>icons/zoom_out.png</file>
<file>icons/chart_curve_error.png</file>
<file>icons/chart_curve_go.png</file>
<file>icons/draw_convolve.png</file>
<file>icons/lightbulb.png</file>
<file>icons/checkerboard.png</file>
<file>icons/filter.png</file>
<file>icons/flag_airfield_vehicle_safety.png</file>
<file>icons/zoom_extend.png</file>
<file>icons/zoom_last.png</file>
<file>icons/convert_color_to_gray.png</file>
<file>icons/edge_detection.png</file>
<file>icons/personal_finance.png</file>
<file>icons/witch.png</file>
<file>icons/arrow_in.png</file>
<file>icons/arrow_out.png</file>
<file>icons/document_shapes.png</file>
<file>icons/key_a.png</file>
<file>icons/key_b.png</file>
<file>icons/key_c.png</file>
<file>icons/key_d.png</file>
<file>icons/key_e.png</file>
<file>icons/key_f.png</file>
<file>icons/key_g.png</file>
<file>icons/key_i.png</file>
<file>icons/key_j.png</file>
<file>icons/key_k.png</file>
<file>icons/key_l.png</file>
<file>icons/key_m.png</file>
<file>icons/key_n.png</file>
<file>icons/key_o.png</file>
<file>icons/key_p.png</file>
<file>icons/key_q.png</file>
<file>icons/key_s.png</file>
<file>icons/key_t.png</file>
<file>icons/key_u.png</file>
<file>icons/key_v.png</file>
<file>icons/key_w.png</file>
<file>icons/key_x.png</file>
<file>icons/key_y.png</file>
<file>icons/key_z.png</file>
<file>icons/arrow_divide.png</file>
<file>icons/arrow_join.png</file>
<file>icons/universal_binary.png</file>
<file>icons/videodisplay.png</file>
<file>icons/key_r.png</file>
</qresource>
</RCC>

BIN
res/icons/arrow_divide.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

BIN
res/icons/arrow_in.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

BIN
res/icons/arrow_join.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

BIN
res/icons/arrow_out.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

BIN
res/icons/chart_curve.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.2 KiB

BIN
res/icons/checkerboard.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB

BIN
res/icons/door_out.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

BIN
res/icons/draw_convolve.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

BIN
res/icons/eye.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 KiB

BIN
res/icons/eye_blue.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.2 KiB

BIN
res/icons/eye_gray.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.2 KiB

BIN
res/icons/eye_green.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.2 KiB

BIN
res/icons/eye_red.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.2 KiB

BIN
res/icons/filter.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

BIN
res/icons/folder.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

BIN
res/icons/key_a.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

BIN
res/icons/key_b.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

BIN
res/icons/key_c.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

BIN
res/icons/key_d.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

BIN
res/icons/key_e.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.0 KiB

BIN
res/icons/key_f.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.0 KiB

BIN
res/icons/key_g.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

BIN
res/icons/key_i.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 975 B

BIN
res/icons/key_j.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.0 KiB

BIN
res/icons/key_k.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

BIN
res/icons/key_l.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1002 B

BIN
res/icons/key_m.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

BIN
res/icons/key_n.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

BIN
res/icons/key_o.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

BIN
res/icons/key_p.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

BIN
res/icons/key_q.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

BIN
res/icons/key_r.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

BIN
res/icons/key_s.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

BIN
res/icons/key_t.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1023 B

BIN
res/icons/key_u.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

BIN
res/icons/key_v.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

BIN
res/icons/key_w.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

BIN
res/icons/key_x.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

BIN
res/icons/key_y.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

BIN
res/icons/key_z.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

BIN
res/icons/layer_save.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

BIN
res/icons/lightbulb.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB

BIN
res/icons/picture.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB

BIN
res/icons/picture_save.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 KiB

Some files were not shown because too many files have changed in this diff Show More