mm-project / qt_painter Goto Github PK
View Code? Open in Web Editor NEWCAD framework tool on top of Qt
CAD framework tool on top of Qt
Given there is working log/replaying, we need to able to run the tests.
add command for dumping images for testing with golden
Currently it's difficult to understand which command ( button from ribbon ) is currently running.
Suggestion to fix it position, ( show as pressed when it's on, and make it off by clicking second time )
For expanding tool functionality we need region query service.
RegionQuery* rq = RegionQuery::get_instance()
Consider following usage:
update(WorkingSet* ); // for update
std::vector<IShape*> get_shapes_in_region(x0,y0,x1,y1) // region based query
IShape* get_shape_under_pos(x,y) // point based query
create polygon add point2 after each mousemove which leads to apush behavior
Need way to have some sort of error handling for simple cases,
such as command name and command function name is different,
which is currently leading to crash.
define assert_xxx??
assert_if
assert_return
assert_through
following to be considered as design issues
fixs ura?
should be improved places like
void canvas::keyPressEvent(QKeyEvent* ev) {
//binding goes here
//if(ev->modifiers() & Qt::ShiftModifier) {
//if ( ev->key() == Qt::Key_1 ) cm->find_command("dicmdQaCompareCanvas")->execute();
//better handling
if ( ev->key() == Qt::Key_2 )
cm->find_command("dicmdQaCompareSelection")->execute_and_log();
else if ( ev->key() == Qt::Key_Z )
m_renderer->zoomout();
else if ( ev->key() == Qt::Key_X )
m_renderer->zoomin();
else if ( ev->key() == Qt::Key_Up )
m_renderer->pan(PANUP);
else if ( ev->key() == Qt::Key_Down )
m_renderer->pan(PANDOWN);
else if ( ev->key() == Qt::Key_Left )
m_renderer->pan(PANLEFT);
else if ( ev->key() == Qt::Key_Right )
m_renderer->pan(PANRIGHT);
else {
if( cm->is_idle() )
return;
cm->disactivate_active_command();
}
bool isModified() so load/close/new can ask for verification ( from user )
Postman/Callback need to be redesigned.
Currently postman's register(..)/notify() can operate only with LeCallback type and thus callback functions should take it as the argument ( if needed ) and convert to their agreed type via dynamic cast.
This very inconvenient, becasue
a. forces to have own custom type derived from LeCallback even some POD types , like int
b. it forces user to now the callback's actual type in advance during compilation but use DC.
c. dynamic cast is time consuming.
e. should evaluated and handled properly
d. code difficult to follow
So we need better approach.
( better if compile time )
Break dependencies between rq core gui projects
Following code is not replaying correctly
incmdCreateObjPolygon
dicmdCanvasMouseClick -point (261,160)
dicmdCanvasMouseClick -point (261,160)
dicmdCanvasMouseClick -point (500,88)
dicmdCanvasMouseClick -point (500,88)
dicmdCanvasMouseClick -point (513,211)
dicmdCanvasMouseClick -point (513,211)
dicmdCanvasMouseClick -point (433,288)
dicmdCanvasMouseClick -point (433,288)
dicmdCanvasMouseClick -point (433,288)
dicmdCanvasMouseClick -point (433,288)
dicmdCanvasMouseClick -point (305,280)
dicmdCanvasMouseClick -point (305,280)
dicmdCanvasMouseClick -point (243,254)
dicmdCanvasMouseClick -point (243,254)
dicmdCanvasMouseClick -point (237,204)
dicmdCanvasMouseClick -point (237,204)
dicmdCanvasMouseDblClick -point (198,188)
incmdCreateObjEllipse
dicmdCanvasMouseClick -point (383,156)
dicmdCanvasMouseClick -point (436,215)
dicmdCanvasMouseClick -point (607,313)
dicmdCanvasMouseClick -point (663,360)
incmdSelectShapesByRegion
dicmdCanvasMouseClick -point (70,30)
dicmdCanvasMouseClick -point (798,602)
Remove capstyle, join style radio button groups and move some values from brush and pen as new combo group instead.
suggesting values for brush: Solid , Dash, Dot
suggesting values for fill: Horizontal , Vertical , Cross
Hi Levon,
Please break src/ into modules such as commands, shapes ... ինձանից լավ գիտես ոնց ։Դ
Cheers,
Elen
its finally time to learn some cmake :))))))
..and move project to it.
can't run binary on mingw ;/
Change colors to RGB(int), currently color set is small and based on enum values
Introduce custom widgets
c:\users\elen\desktop\my_projects\qt_painter\src\commands\command_manager.hpp(77) : warning C26495: Variable 'command_manager::m_idle_command' is uninitialized. Always initialize a member variable (type.6).
c:\users\elen\desktop\my_projects\qt_painter\src\commands\command_manager.hpp(77): note: This diagnostic occurred in the compiler generated function 'command_manager::command_manager(void)'
c:\users\elen\desktop\my_projects\qt_painter\src\commands\command_manager.hpp(77) : warning C26495: Variable 'command_manager::m_current_command' is uninitialized. Always initialize a member variable (type.6).
c:\users\elen\desktop\my_projects\qt_painter\src\commands\command_manager.hpp(77): note: This diagnostic occurred in the compiler generated function 'command_manager::command_manager(void)'
c:\users\elen\desktop\my_projects\qt_painter\src\commands\command_manager.hpp(77) : warning C26495: Variable 'command_manager::m_main_widget' is uninitialized. Always initialize a member variable (type.6).
c:\users\elen\desktop\my_projects\qt_painter\src\commands\command_manager.hpp(77): note: This diagnostic occurred in the compiler generated function 'command_manager::command_manager(void)'
c:\users\elen\desktop\my_projects\qt_painter\src\gui\controller.hpp(32) : warning C26495: Variable 'controller::type' is uninitialized. Always initialize a member variable (type.6).
c:\users\elen\desktop\my_projects\qt_painter\src\core\rq\rq_object.hpp(95): error C2947: expecting '>' to terminate template-argument-list, found '<'
c:\users\elen\desktop\my_projects\qt_painter\src\core\rq\rq_object.hpp(95): error C2061: syntax error: identifier 'T'
c:\users\elen\desktop\my_projects\qt_painter\src\core\rq\rq_object.hpp(97): error C2631: 'RQline': a class or enum cannot be defined in an alias template
c:\users\elen\desktop\my_projects\qt_painter\src\core\rq\node.hpp(8): error C2143: syntax error: missing ';' before '{'
c:\users\elen\desktop\my_projects\qt_painter\src\core\rq\node.hpp(8): error C2447: '{': missing function header (old-style formal list?)
C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\VC\Tools\MSVC\14.16.27023\include\deque(32): error C2631: '_Deque_unchecked_const_iterator': a class or enum cannot be defined in an alias template
C:/Users/elen/Desktop/my_projects/qt_painter/src/commands/command_manager.cpp: error C2988: unrecognizable template declaration/definition
C:/Users/elen/Desktop/my_projects/qt_painter/src/commands/command_manager.cpp: error C2059: syntax error: 'namespace'
C:/Users/elen/Desktop/my_projects/qt_painter/src/commands/command_manager.cpp: fatal error C1903: unable to recover from previous error(s); stopping compilation
Microsoft (R) C/C++ Optimizing Compiler Version 19.16.27031.1 for x64
Copyright (C) Microsoft Corporation. All rights reserved.
cl /I"C:/Users/elen/CMakeBuilds/aa3f6f1b-85fd-c639-b9ed-245bea48eb48/build/x64-Debug (default)/src/core/core_autogen/include" /I"C:/Programs/Qt/5.11.1/include" /I"C:/Programs/Qt/5.11.1/include/QtCore" /I"C:/Programs/Qt/5.11.1/include/QtGui" /I"C:/Programs/Qt/5.11.1/include/QtWidgets" /D CODE_ANALYSIS /analyze /analyze:only /analyze:plugin"C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\VC\Tools\MSVC\14.16.27023\bin\HostX64\x64\EspXEngine.dll" /analyze:plugin"C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\VC\Tools\MSVC\14.16.27023\bin\HostX64\x64\localespc.dll" /c /analyze:ruleset"C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\Team Tools\Static Analysis Tools\Rule Sets\NativeRecommendedRules.ruleset" "C:/Users/elen/Desktop/my_projects/qt_painter/src/core/runtime_environment.cpp" "C:/Users/elen/Desktop/my_projects/qt_painter/src/core/service.cpp" "C:/Users/elen/Desktop/my_projects/qt_painter/src/core/shape_creator.cpp" "C:/Users/elen/Desktop/my_projects/qt_painter/src/core/shapes.cpp" "C:/Users/elen/Desktop/my_projects/qt_painter/src/core/working_set.cpp"
runtime_environment.cpp
c:\users\elen\desktop\my_projects\qt_painter\src\gui\controller.hpp(32) : warning C26495: Variable 'controller::type' is uninitialized. Always initialize a member variable (type.6).
c:\users\elen\desktop\my_projects\qt_painter\src\commands\command_manager.hpp(77) : warning C26495: Variable 'command_manager::m_idle_command' is uninitialized. Always initialize a member variable (type.6).
c:\users\elen\desktop\my_projects\qt_painter\src\gui../commands/command_manager.hpp(77): note: This diagnostic occurred in the compiler generated function 'command_manager::command_manager(void)'
c:\users\elen\desktop\my_projects\qt_painter\src\commands\command_manager.hpp(77) : warning C26495: Variable 'command_manager::m_current_command' is uninitialized. Always initialize a member variable (type.6).
c:\users\elen\desktop\my_projects\qt_painter\src\gui../commands/command_manager.hpp(77): note: This diagnostic occurred in the compiler generated function 'command_manager::command_manager(void)'
c:\users\elen\desktop\my_projects\qt_painter\src\commands\command_manager.hpp(77) : warning C26495: Variable 'command_manager::m_main_widget' is uninitialized. Always initialize a member variable (type.6).
c:\users\elen\desktop\my_projects\qt_painter\src\gui../commands/command_manager.hpp(77): note: This diagnostic occurred in the compiler generated function 'command_manager::command_manager(void)'
c:\users\elen\desktop\my_projects\qt_painter\src\gui\controller.hpp(32) : warning C26495: Variable 'controller::type' is uninitialized. Always initialize a member variable (type.6).
c:\users\elen\desktop\my_projects\qt_painter\src\core\rq\rq_object.hpp(95): error C2947: expecting '>' to terminate template-argument-list, found '<'
c:\users\elen\desktop\my_projects\qt_painter\src\core\rq\rq_object.hpp(95): error C2061: syntax error: identifier 'T'
c:\users\elen\desktop\my_projects\qt_painter\src\core\rq\rq_object.hpp(97): error C2631: 'RQline': a class or enum cannot be defined in an alias template
c:\users\elen\desktop\my_projects\qt_painter\src\core\rq\node.hpp(8): error C2143: syntax error: missing ';' before '{'
c:\users\elen\desktop\my_projects\qt_painter\src\core\rq\node.hpp(8): error C2447: '{': missing function header (old-style formal list?)
C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\VC\Tools\MSVC\14.16.27023\include\deque(32): error C2631: '_Deque_unchecked_const_iterator': a class or enum cannot be defined in an alias template
C:/Users/elen/Desktop/my_projects/qt_painter/src/gui/canvas.cpp: error C2988: unrecognizable template declaration/definition
C:/Users/elen/Desktop/my_projects/qt_painter/src/gui/canvas.cpp: error C2059: syntax error: 'namespace'
C:/Users/elen/Desktop/my_projects/qt_painter/src/gui/canvas.cpp: fatal error C1903: unable to recover from previous error(s); stopping compilation
controller.cpp
c:\users\elen\cmakebuilds\aa3f6f1b-85fd-c639-b9ed-245bea48eb48\build\x64-debug (default).tmp\lib\codeanalysis\predefined c++ types (compiler internal)(33) : warning C28241: The annotation 'SAL_name' for 'new' on 'return' is not recognized.
c:\users\elen\cmakebuilds\aa3f6f1b-85fd-c639-b9ed-245bea48eb48\build\x64-debug (default).tmp\lib\codeanalysis\predefined c++ types (compiler internal)(33) : warning C28285: For function 'new' 'return' syntax error in '("Ret_notnull","","2")' near '("Ret_notnull",""'.
c:\users\elen\cmakebuilds\aa3f6f1b-85fd-c639-b9ed-245bea48eb48\build\x64-debug (default).tmp\lib\codeanalysis\predefined c++ types (compiler internal)(33) : warning C28241: The annotation 'SAL_name' for 'new' on 'return' is not recognized.
c:\users\elen\cmakebuilds\aa3f6f1b-85fd-c639-b9ed-245bea48eb48\build\x64-debug (default).tmp\lib\codeanalysis\predefined c++ types (compiler internal)(33) : warning C28285: For function 'new' 'return' syntax error in '("Post_writable_byte_size","","2")' near '("Post_writable_byte_size",""'.
c:\users\elen\cmakebuilds\aa3f6f1b-85fd-c639-b9ed-245bea48eb48\build\x64-debug (default).tmp\lib\codeanalysis\predefined c++ types (compiler internal)(33) : warning C28241: The annotation 'SAL_writableTo' for 'new' on 'return' is not recognized.
c:\users\elen\cmakebuilds\aa3f6f1b-85fd-c639-b9ed-245bea48eb48\build\x64-debug (default).tmp\lib\codeanalysis\predefined c++ types (compiler internal)(33) : warning C28285: For function 'new' 'return' syntax error in '(byteCount(__formal(0,_Size)))' near '(byteCount(__formal(0'.
c:\users\elen\desktop\my_projects\qt_painter\src\gui\controller.hpp(32) : warning C26495: Variable 'controller::type' is uninitialized. Always initialize a member variable (type.6).
c:\users\elen\desktop\my_projects\qt_painter\src\gui\controller.hpp(32) : warning C26495: Variable 'controller::type' is uninitialized. Always initialize a member variable (type.6).
c:\programs\qt\5.11.1\include\qtwidgets\qstyleoption.h(670) : warning C26495: Variable 'QStyleOptionGraphicsItem::levelOfDetail' is uninitialized. Always initialize a member variable (type.6).
c:\users\elen\desktop\my_projects\qt_painter\src\gui\create_shape_gui.cpp(29) : warning C26495: Variable 'create_shape_gui::m_line_button' is uninitialized. Always initialize a member variable (type.6).
c:\users\elen\desktop\my_projects\qt_painter\src\gui\create_shape_gui.cpp(29) : warning C26495: Variable 'create_shape_gui::m_pen_button' is uninitialized. Always initialize a member variable (type.6).
c:\users\elen\desktop\my_projects\qt_painter\src\gui\create_shape_gui.cpp(29) : warning C26495: Variable 'create_shape_gui::m_polygon_button' is uninitialized. Always initialize a member variable (type.6).
c:\users\elen\desktop\my_projects\qt_painter\src\gui\create_shape_gui.cpp(29) : warning C26495: Variable 'create_shape_gui::m_rect_button' is uninitialized. Always initialize a member variable (type.6).
c:\users\elen\desktop\my_projects\qt_painter\src\gui\create_shape_gui.cpp(29) : warning C26495: Variable 'create_shape_gui::m_ellipse_button' is uninitialized. Always initialize a member variable (type.6).
c:\users\elen\desktop\my_projects\qt_painter\src\gui\create_shape_gui.cpp(58) : warning C26444: Avoid unnamed objects with custom construction and destruction (es.84).
c:\users\elen\desktop\my_projects\qt_painter\src\gui\create_shape_gui.cpp(60) : warning C26444: Avoid unnamed objects with custom construction and destruction (es.84).
c:\users\elen\desktop\my_projects\qt_painter\src\gui\create_shape_gui.cpp(75) : warning C26444: Avoid unnamed objects with custom construction and destruction (es.84).
c:\users\elen\desktop\my_projects\qt_painter\src\gui\create_shape_gui.cpp(92) : warning C26444: Avoid unnamed objects with custom construction and destruction (es.84).
c:\users\elen\desktop\my_projects\qt_painter\src\gui\create_shape_gui.cpp(87) : warning C26444: Avoid unnamed objects with custom construction and destruction (es.84).
c:\users\elen\desktop\my_projects\qt_painter\src\gui\create_shape_gui.cpp(114) : warning C26444: Avoid unnamed objects with custom construction and destruction (es.84).
c:\users\elen\desktop\my_projects\qt_painter\src\gui\create_shape_gui.cpp(125) : warning C26444: Avoid unnamed objects with custom construction and destruction (es.84).
c:\users\elen\desktop\my_projects\qt_painter\src\gui\create_shape_gui.cpp(152) : warning C26444: Avoid unnamed objects with custom construction and destruction (es.84).
c:\users\elen\desktop\my_projects\qt_painter\src\gui\create_shape_gui.cpp(160) : warning C26444: Avoid unnamed objects with custom construction and destruction (es.84).
c:\users\elen\desktop\my_projects\qt_painter\src\gui\create_shape_gui.cpp(209) : warning C26444: Avoid unnamed objects with custom construction and destruction (es.84).
c:\users\elen\desktop\my_projects\qt_painter\src\gui\create_shape_gui.cpp(201) : warning C26444: Avoid unnamed objects with custom construction and destruction (es.84).
c:\users\elen\desktop\my_projects\qt_painter\src\commands\command_manager.hpp(77) : warning C26495: Variable 'command_manager::m_idle_command' is uninitialized. Always initialize a member variable (type.6).
c:\users\elen\desktop\my_projects\qt_painter\src\gui../commands/command_manager.hpp(77): note: This diagnostic occurred in the compiler generated function 'command_manager::command_manager(void)'
c:\users\elen\desktop\my_projects\qt_painter\src\commands\command_manager.hpp(77) : warning C26495: Variable 'command_manager::m_current_command' is uninitialized. Always initialize a member variable (type.6).
c:\users\elen\desktop\my_projects\qt_painter\src\gui../commands/command_manager.hpp(77): note: This diagnostic occurred in the compiler generated function 'command_manager::command_manager(void)'
c:\users\elen\desktop\my_projects\qt_painter\src\commands\command_manager.hpp(77) : warning C26495: Variable 'command_manager::m_main_widget' is uninitialized. Always initialize a member variable (type.6).
c:\users\elen\desktop\my_projects\qt_painter\src\gui../commands/command_manager.hpp(77): note: This diagnostic occurred in the compiler generated function 'command_manager::command_manager(void)'
c:\users\elen\desktop\my_projects\qt_painter\src\gui\main_window.cpp(75) : warning C26444: Avoid unnamed objects with custom construction and destruction (es.84).
c:\users\elen\desktop\my_projects\qt_painter\src\gui\main_window.cpp(74) : warning C26444: Avoid unnamed objects with custom construction and destruction (es.84).
c:\users\elen\desktop\my_projects\qt_painter\src\gui\main_window.cpp(76) : warning C26444: Avoid unnamed objects with custom construction and destruction (es.84).
c:\users\elen\desktop\my_projects\qt_painter\src\gui\main_window.cpp(73) : warning C26444: Avoid unnamed objects with custom construction and destruction (es.84).
c:\users\elen\desktop\my_projects\qt_painter\src\gui\main_window.cpp(77) : warning C26444: Avoid unnamed objects with custom construction and destruction (es.84).
c:\users\elen\desktop\my_projects\qt_painter\src\gui\main_window.cpp(78) : warning C26444: Avoid unnamed objects with custom construction and destruction (es.84).
c:\users\elen\desktop\my_projects\qt_painter\src\gui\main_window.cpp(79) : warning C26444: Avoid unnamed objects with custom construction and destruction (es.84).
c:\users\elen\desktop\my_projects\qt_painter\src\gui\main_window.cpp(80) : warning C26444: Avoid unnamed objects with custom construction and destruction (es.84).
c:\users\elen\desktop\my_projects\qt_painter\src\gui\controller.hpp(32) : warning C26495: Variable 'controller::type' is uninitialized. Always initialize a member variable (type.6).
c:\users\elen\desktop\my_projects\qt_painter\src\gui\pen_brush_gui.cpp(19) : warning C26495: Variable 'pen_brush_gui::m_pen_cap_style' is uninitialized. Always initialize a member variable (type.6).
c:\users\elen\desktop\my_projects\qt_painter\src\gui\pen_brush_gui.cpp(19) : warning C26495: Variable 'pen_brush_gui::m_dot_line' is uninitialized. Always initialize a member variable (type.6).
c:\users\elen\desktop\my_projects\qt_painter\src\gui\pen_brush_gui.cpp(19) : warning C26495: Variable 'pen_brush_gui::m_solid_line' is uninitialized. Always initialize a member variable (type.6).
c:\users\elen\desktop\my_projects\qt_painter\src\gui\pen_brush_gui.cpp(19) : warning C26495: Variable 'pen_brush_gui::m_brush_layout' is uninitialized. Always initialize a member variable (type.6).
c:\users\elen\desktop\my_projects\qt_painter\src\gui\pen_brush_gui.cpp(19) : warning C26495: Variable 'pen_brush_gui::m_pen_layout' is uninitialized. Always initialize a member variable (type.6).
c:\users\elen\desktop\my_projects\qt_painter\src\gui\pen_brush_gui.cpp(19) : warning C26495: Variable 'pen_brush_gui::m_dash_dot_dot_line' is uninitialized. Always initialize a member variable (type.6).
c:\users\elen\desktop\my_projects\qt_painter\src\gui\pen_brush_gui.cpp(19) : warning C26495: Variable 'pen_brush_gui::m_pen_width' is uninitialized. Always initialize a member variable (type.6).
c:\users\elen\desktop\my_projects\qt_painter\src\gui\pen_brush_gui.cpp(19) : warning C26495: Variable 'pen_brush_gui::m_dash_dot_line' is uninitialized. Always initialize a member variable (type.6).
c:\users\elen\desktop\my_projects\qt_painter\src\gui\pen_brush_gui.cpp(19) : warning C26495: Variable 'pen_brush_gui::m_brush_style' is uninitialized. Always initialize a member variable (type.6).
c:\users\elen\desktop\my_projects\qt_painter\src\gui\pen_brush_gui.cpp(19) : warning C26495: Variable 'pen_brush_gui::m_pen_join_style' is uninitialized. Always initialize a member variable (type.6).
c:\users\elen\desktop\my_projects\qt_painter\src\gui\pen_brush_gui.cpp(19) : warning C26495: Variable 'pen_brush_gui::m_dash_line' is uninitialized. Always initialize a member variable (type.6).
c:\users\elen\desktop\my_projects\qt_painter\src\gui\pen_brush_gui.cpp(19) : warning C26495: Variable 'pen_brush_gui::m_pen_color' is uninitialized. Always initialize a member variable (type.6).
c:\users\elen\desktop\my_projects\qt_painter\src\gui\pen_brush_gui.cpp(19) : warning C26495: Variable 'pen_brush_gui::m_brush_color' is uninitialized. Always initialize a member variable (type.6).
c:\users\elen\desktop\my_projects\qt_painter\src\gui\pen_brush_gui.cpp(171) : warning C26444: Avoid unnamed objects with custom construction and destruction (es.84).
c:\users\elen\desktop\my_projects\qt_painter\src\gui\pen_brush_gui.cpp(168) : warning C26444: Avoid unnamed objects with custom construction and destruction (es.84).
c:\users\elen\desktop\my_projects\qt_painter\src\gui\pen_brush_gui.cpp(165) : warning C26444: Avoid unnamed objects with custom construction and destruction (es.84).
c:\users\elen\desktop\my_projects\qt_painter\src\gui\pen_brush_gui.cpp(163) : warning C26444: Avoid unnamed objects with custom construction and destruction (es.84).
c:\users\elen\desktop\my_projects\qt_painter\src\gui\pen_brush_gui.cpp(167) : warning C26444: Avoid unnamed objects with custom construction and destruction (es.84).
c:\users\elen\desktop\my_projects\qt_painter\src\gui\pen_brush_gui.cpp(161) : warning C26444: Avoid unnamed objects with custom construction and destruction (es.84).
c:\users\elen\desktop\my_projects\qt_painter\src\gui\pen_brush_gui.cpp(162) : warning C26444: Avoid unnamed objects with custom construction and destruction (es.84).
c:\users\elen\desktop\my_projects\qt_painter\src\gui\pen_brush_gui.cpp(166) : warning C26444: Avoid unnamed objects with custom construction and destruction (es.84).
c:\users\elen\desktop\my_projects\qt_painter\src\gui\pen_brush_gui.cpp(169) : warning C26444: Avoid unnamed objects with custom construction and destruction (es.84).
c:\users\elen\desktop\my_projects\qt_painter\src\gui\pen_brush_gui.cpp(170) : warning C26444: Avoid unnamed objects with custom construction and destruction (es.84).
c:\users\elen\desktop\my_projects\qt_painter\src\gui\pen_brush_gui.cpp(164) : warning C26444: Avoid unnamed objects with custom construction and destruction (es.84).
c:\users\elen\desktop\my_projects\qt_painter\src\commands\command_manager.hpp(77) : warning C26495: Variable 'command_manager::m_idle_command' is uninitialized. Always initialize a member variable (type.6).
c:\users\elen\desktop\my_projects\qt_painter\src\io../commands/command_manager.hpp(77): note: This diagnostic occurred in the compiler generated function 'command_manager::command_manager(void)'
c:\users\elen\desktop\my_projects\qt_painter\src\commands\command_manager.hpp(77) : warning C26495: Variable 'command_manager::m_current_command' is uninitialized. Always initialize a member variable (type.6).
c:\users\elen\desktop\my_projects\qt_painter\src\io../commands/command_manager.hpp(77): note: This diagnostic occurred in the compiler generated function 'command_manager::command_manager(void)'
c:\users\elen\desktop\my_projects\qt_painter\src\commands\command_manager.hpp(77) : warning C26495: Variable 'command_manager::m_main_widget' is uninitialized. Always initialize a member variable (type.6).
c:\users\elen\desktop\my_projects\qt_painter\src\io../commands/command_manager.hpp(77): note: This diagnostic occurred in the compiler generated function 'command_manager::command_manager(void)'
c:\users\elen\desktop\my_projects\qt_painter\src\io\log_reader.cpp(4) : warning C26495: Variable 'LogReader::timer' is uninitialized. Always initialize a member variable (type.6).
c:\users\elen\desktop\my_projects\qt_painter\src\commands\command_manager.hpp(77) : warning C26495: Variable 'command_manager::m_idle_command' is uninitialized. Always initialize a member variable (type.6).
c:\users\elen\desktop\my_projects\qt_painter\src\io../commands/command_manager.hpp(77): note: This diagnostic occurred in the compiler generated function 'command_manager::command_manager(void)'
c:\users\elen\desktop\my_projects\qt_painter\src\commands\command_manager.hpp(77) : warning C26495: Variable 'command_manager::m_current_command' is uninitialized. Always initialize a member variable (type.6).
c:\users\elen\desktop\my_projects\qt_painter\src\io../commands/command_manager.hpp(77): note: This diagnostic occurred in the compiler generated function 'command_manager::command_manager(void)'
c:\users\elen\desktop\my_projects\qt_painter\src\commands\command_manager.hpp(77) : warning C26495: Variable 'command_manager::m_main_widget' is uninitialized. Always initialize a member variable (type.6).
c:\users\elen\desktop\my_projects\qt_painter\src\io../commands/command_manager.hpp(77): note: This diagnostic occurred in the compiler generated function 'command_manager::command_manager(void)'
Code analysis complete.
As tool user I would like to have indication of what's happening now.
Like what is the tool's current status, what are the inputs that current command is waiting for, etc..
building on mingw32 no longer available after moving to cmake hierarchical bsys
: (((((((
we need automated triggers to check compilation and some basic testing
need to have both for IO and debugging proposes
we will have two files
currently renderer is implemented in such a way that QPainter stack variable is created during every paintEvent. : ))))
(aranc kriv anelu)
(կարամ հայատառել գրեմ)
Dockable widget
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.