Zadanie 1
34
lpo-projekt-v2/.gitignore
vendored
Normal 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
lpo-projekt-v2/MySimpleGimp.pro
Normal 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
|
||||||
|
}
|
4
lpo-projekt-v2/images/1_black_pixel.pbm
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
P4
|
||||||
|
# CREATOR: GIMP PNM Filter Version 1.1
|
||||||
|
1 1
|
||||||
|
€
|
BIN
lpo-projekt-v2/images/1_white_pixel.pbm
Normal file
6
lpo-projekt-v2/images/baboon_512x512.pnm
Normal file
4
lpo-projekt-v2/images/black_and_white_5x5.pbm
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
P4
|
||||||
|
# CREATOR: GIMP PNM Filter Version 1.1
|
||||||
|
5 5
|
||||||
|
€@ @
|
BIN
lpo-projekt-v2/images/black_and_white_5x5.ppm
Normal file
1330
lpo-projekt-v2/images/cat_375x500.pnm
Normal file
BIN
lpo-projekt-v2/images/corner_test_10x10.pnm
Normal file
8810
lpo-projekt-v2/images/fruits_512x480.pnm
Normal file
102
lpo-projekt-v2/images/kitty_131x131.pgm
Normal file
42
lpo-projekt-v2/images/lenna_154x154.pnm
Normal file
5
lpo-projekt-v2/images/lenna_512x512.pgm
Normal file
542
lpo-projekt-v2/images/lenna_512x512.pnm
Normal file
47
lpo-projekt-v2/images/morph_279x200.pnm
Normal file
BIN
lpo-projekt-v2/images/noisy_lenna_512x512.pnm
Normal file
BIN
lpo-projekt-v2/images/rectangle_160x121.pnm
Normal file
BIN
lpo-projekt-v2/images/rectangle_67x63.pnm
Normal file
4
lpo-projekt-v2/images/rectangles_453x273.pnm
Normal file
BIN
lpo-projekt-v2/images/rings_horizon_mapping_403x382.pnm
Normal file
60003
lpo-projekt-v2/images/sample_ascii_200x300.pbm
Normal file
60004
lpo-projekt-v2/images/sample_ascii_200x300.pgm
Normal file
180004
lpo-projekt-v2/images/sample_ascii_200x300.ppm
Normal file
BIN
lpo-projekt-v2/images/sample_bin_200x300.pbm
Normal file
29
lpo-projekt-v2/images/sample_bin_200x300.pgm
Normal file
85
lpo-projekt-v2/images/sample_bin_200x300.ppm
Normal file
6
lpo-projekt-v2/images/shapes_261x221.pnm
Normal file
7
lpo-projekt-v2/images/shapes_366x308.pnm
Normal file
BIN
lpo-projekt-v2/images/starry_night_752x600.pnm
Normal file
4
lpo-projekt-v2/images/stuff_640x480.pnm
Normal file
11
lpo-projekt-v2/images/text1_728x460.pnm
Normal file
24
lpo-projekt-v2/images/text2_532x730.pnm
Normal file
4
lpo-projekt-v2/images/text3_490x354.pnm
Normal file
4
lpo-projekt-v2/images/text4_700x445.pnm
Normal file
22
lpo-projekt-v2/images/text5_636x439.pnm
Normal file
BIN
lpo-projekt-v2/images/text_no_ocr_809x568.pnm
Normal file
77
lpo-projekt-v2/images/triangle_256x256.pnm
Normal file
BIN
lpo-projekt-v2/images/wall_normal_texture_618x475.pnm
Normal file
67
lpo-projekt-v2/res/icons.qrc
Normal 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
lpo-projekt-v2/res/icons/arrow_divide.png
Normal file
After Width: | Height: | Size: 1.4 KiB |
BIN
lpo-projekt-v2/res/icons/arrow_in.png
Normal file
After Width: | Height: | Size: 1.2 KiB |
BIN
lpo-projekt-v2/res/icons/arrow_join.png
Normal file
After Width: | Height: | Size: 1.3 KiB |
BIN
lpo-projekt-v2/res/icons/arrow_out.png
Normal file
After Width: | Height: | Size: 1.1 KiB |
BIN
lpo-projekt-v2/res/icons/chart_curve.png
Normal file
After Width: | Height: | Size: 2.1 KiB |
BIN
lpo-projekt-v2/res/icons/chart_curve_add.png
Normal file
After Width: | Height: | Size: 2.2 KiB |
BIN
lpo-projekt-v2/res/icons/chart_curve_delete.png
Normal file
After Width: | Height: | Size: 2.2 KiB |
BIN
lpo-projekt-v2/res/icons/chart_curve_error.png
Normal file
After Width: | Height: | Size: 2.1 KiB |
BIN
lpo-projekt-v2/res/icons/chart_curve_go.png
Normal file
After Width: | Height: | Size: 2.1 KiB |
BIN
lpo-projekt-v2/res/icons/chart_line_edit.png
Normal file
After Width: | Height: | Size: 2.2 KiB |
BIN
lpo-projekt-v2/res/icons/checkerboard.png
Normal file
After Width: | Height: | Size: 1.3 KiB |
BIN
lpo-projekt-v2/res/icons/convert_color_to_gray.png
Normal file
After Width: | Height: | Size: 1.6 KiB |
BIN
lpo-projekt-v2/res/icons/document_shapes.png
Normal file
After Width: | Height: | Size: 1.6 KiB |
BIN
lpo-projekt-v2/res/icons/door_out.png
Normal file
After Width: | Height: | Size: 1.4 KiB |
BIN
lpo-projekt-v2/res/icons/draw_convolve.png
Normal file
After Width: | Height: | Size: 1.3 KiB |
BIN
lpo-projekt-v2/res/icons/edge_detection.png
Normal file
After Width: | Height: | Size: 1.4 KiB |
BIN
lpo-projekt-v2/res/icons/eye.png
Normal file
After Width: | Height: | Size: 1.7 KiB |
BIN
lpo-projekt-v2/res/icons/eye_blue.png
Normal file
After Width: | Height: | Size: 4.2 KiB |
BIN
lpo-projekt-v2/res/icons/eye_gray.png
Normal file
After Width: | Height: | Size: 4.2 KiB |
BIN
lpo-projekt-v2/res/icons/eye_green.png
Normal file
After Width: | Height: | Size: 4.2 KiB |
BIN
lpo-projekt-v2/res/icons/eye_red.png
Normal file
After Width: | Height: | Size: 4.2 KiB |
BIN
lpo-projekt-v2/res/icons/filter.png
Normal file
After Width: | Height: | Size: 1.6 KiB |
BIN
lpo-projekt-v2/res/icons/flag_airfield_vehicle_safety.png
Normal file
After Width: | Height: | Size: 1.1 KiB |
BIN
lpo-projekt-v2/res/icons/folder.png
Normal file
After Width: | Height: | Size: 1.1 KiB |
BIN
lpo-projekt-v2/res/icons/key_a.png
Normal file
After Width: | Height: | Size: 1.2 KiB |
BIN
lpo-projekt-v2/res/icons/key_b.png
Normal file
After Width: | Height: | Size: 1.2 KiB |
BIN
lpo-projekt-v2/res/icons/key_c.png
Normal file
After Width: | Height: | Size: 1.2 KiB |
BIN
lpo-projekt-v2/res/icons/key_d.png
Normal file
After Width: | Height: | Size: 1.2 KiB |
BIN
lpo-projekt-v2/res/icons/key_e.png
Normal file
After Width: | Height: | Size: 1.0 KiB |
BIN
lpo-projekt-v2/res/icons/key_f.png
Normal file
After Width: | Height: | Size: 1.0 KiB |
BIN
lpo-projekt-v2/res/icons/key_g.png
Normal file
After Width: | Height: | Size: 1.2 KiB |
BIN
lpo-projekt-v2/res/icons/key_i.png
Normal file
After Width: | Height: | Size: 975 B |
BIN
lpo-projekt-v2/res/icons/key_j.png
Normal file
After Width: | Height: | Size: 1.0 KiB |
BIN
lpo-projekt-v2/res/icons/key_k.png
Normal file
After Width: | Height: | Size: 1.2 KiB |
BIN
lpo-projekt-v2/res/icons/key_l.png
Normal file
After Width: | Height: | Size: 1002 B |
BIN
lpo-projekt-v2/res/icons/key_m.png
Normal file
After Width: | Height: | Size: 1.2 KiB |
BIN
lpo-projekt-v2/res/icons/key_n.png
Normal file
After Width: | Height: | Size: 1.1 KiB |
BIN
lpo-projekt-v2/res/icons/key_o.png
Normal file
After Width: | Height: | Size: 1.2 KiB |
BIN
lpo-projekt-v2/res/icons/key_p.png
Normal file
After Width: | Height: | Size: 1.1 KiB |
BIN
lpo-projekt-v2/res/icons/key_q.png
Normal file
After Width: | Height: | Size: 1.3 KiB |
BIN
lpo-projekt-v2/res/icons/key_r.png
Normal file
After Width: | Height: | Size: 1.4 KiB |
BIN
lpo-projekt-v2/res/icons/key_s.png
Normal file
After Width: | Height: | Size: 1.2 KiB |
BIN
lpo-projekt-v2/res/icons/key_t.png
Normal file
After Width: | Height: | Size: 1023 B |
BIN
lpo-projekt-v2/res/icons/key_u.png
Normal file
After Width: | Height: | Size: 1.1 KiB |
BIN
lpo-projekt-v2/res/icons/key_v.png
Normal file
After Width: | Height: | Size: 1.1 KiB |
BIN
lpo-projekt-v2/res/icons/key_w.png
Normal file
After Width: | Height: | Size: 1.3 KiB |
BIN
lpo-projekt-v2/res/icons/key_x.png
Normal file
After Width: | Height: | Size: 1.2 KiB |
BIN
lpo-projekt-v2/res/icons/key_y.png
Normal file
After Width: | Height: | Size: 1.1 KiB |
BIN
lpo-projekt-v2/res/icons/key_z.png
Normal file
After Width: | Height: | Size: 1.1 KiB |
BIN
lpo-projekt-v2/res/icons/layer_save.png
Normal file
After Width: | Height: | Size: 1.3 KiB |
BIN
lpo-projekt-v2/res/icons/lightbulb.png
Normal file
After Width: | Height: | Size: 1.5 KiB |
BIN
lpo-projekt-v2/res/icons/personal_finance.png
Normal file
After Width: | Height: | Size: 1.5 KiB |
BIN
lpo-projekt-v2/res/icons/picture.png
Normal file
After Width: | Height: | Size: 1.1 KiB |
BIN
lpo-projekt-v2/res/icons/picture_delete.png
Normal file
After Width: | Height: | Size: 1.6 KiB |
BIN
lpo-projekt-v2/res/icons/picture_save.png
Normal file
After Width: | Height: | Size: 1.5 KiB |
BIN
lpo-projekt-v2/res/icons/things_digital.png
Normal file
After Width: | Height: | Size: 1.3 KiB |
BIN
lpo-projekt-v2/res/icons/transform_rotate.png
Normal file
After Width: | Height: | Size: 1.6 KiB |
BIN
lpo-projekt-v2/res/icons/transform_rotate_180.png
Normal file
After Width: | Height: | Size: 1.7 KiB |
BIN
lpo-projekt-v2/res/icons/transform_rotate_270.png
Normal file
After Width: | Height: | Size: 1.7 KiB |