├── .clang-format ├── .gitignore ├── CMakeLists.txt ├── README.md └── sub_examples ├── big_int_hm ├── CMakeLists.txt ├── source │ └── main.cpp └── third-party │ └── bigint-library-master │ ├── README.md │ ├── basic_integer.h │ ├── bigint.h │ ├── bigint_in_one.h │ ├── modint.h │ ├── newbigfloat.h │ ├── newbigint.h │ └── ntt.h ├── bit_representation ├── CMakeLists.txt └── source │ └── main.cpp ├── boost_lock_free_queue ├── CMakeLists.txt └── source │ └── main.cpp ├── boost_serialize_deserialize ├── CMakeLists.txt └── source │ └── main.cpp ├── bytell_hash_map ├── CMakeLists.txt ├── flat_hash_map │ ├── bytell_hash_map.hpp │ ├── flat_hash_map.hpp │ └── unordered_map.hpp └── source │ └── main.cpp ├── call_friend_function_as_slot ├── CMakeLists.txt └── source │ └── main.cpp ├── call_stack ├── CMakeLists.txt └── source │ └── main.cpp ├── chunk_chunk_operation ├── CMakeLists.txt └── source │ └── main.cpp ├── date_compare_hm ├── CMakeLists.txt └── source │ └── main.cpp ├── dijsktra_example ├── CMakeLists.txt └── source │ └── main.cpp ├── drogon_test ├── CMakeLists.txt └── sub_examples │ ├── controller_introduction │ ├── .gitignore │ ├── CMakeLists.txt │ ├── config.json │ ├── controllers │ │ ├── demo_v1_user.cc │ │ └── demo_v1_user.h │ ├── main.cc │ └── models │ │ └── model.json │ ├── drogon_example_template │ ├── CMakeLists.txt │ └── source │ │ └── main.cpp │ ├── quick_start │ ├── .gitignore │ ├── CMakeLists.txt │ ├── config.json │ ├── controllers │ │ ├── test_controller.cc │ │ └── test_controller.h │ ├── main.cc │ └── models │ │ └── model.json │ └── web_socket_controller │ ├── .gitignore │ ├── CMakeLists.txt │ ├── config.json │ ├── controllers │ ├── demo_echo_web_socket.cc │ └── demo_echo_web_socket.h │ ├── main.cc │ └── models │ └── model.json ├── duplication_code ├── CMakeLists.txt └── source │ └── main.cpp ├── equality_operator ├── CMakeLists.txt └── source │ └── main.cpp ├── example_template ├── CMakeLists.txt └── source │ └── main.cpp ├── file_string_to_number ├── CMakeLists.txt └── source │ └── main.cpp ├── find_number_hm ├── CMakeLists.txt ├── source │ └── main.cpp └── third-party │ └── gmp-6.2.1 │ ├── include │ └── gmp.h │ ├── lib │ ├── libgmp.la │ └── pkgconfig │ │ └── gmp.pc │ └── share │ └── info │ ├── dir │ ├── gmp.info │ ├── gmp.info-1 │ └── gmp.info-2 ├── find_widget_children ├── CMakeLists.txt └── source │ └── main.cpp ├── fixed_map ├── CMakeLists.txt └── source │ └── main.cpp ├── game_snake ├── CMakeLists.txt └── source │ └── main.cpp ├── global_qsettings ├── CMakeLists.txt └── source │ └── main.cpp ├── iran_meli_card_id_generator ├── CMakeLists.txt └── source │ └── main.cpp ├── jcal_qt ├── CMakeLists.txt └── source │ └── main.cpp ├── json_static_example ├── CMakeLists.txt └── source │ ├── json.hpp │ └── main.cpp ├── loop_with_signal_slot ├── CMakeLists.txt └── source │ └── main.cpp ├── move_qbutton ├── CMakeLists.txt └── source │ └── main.cpp ├── network_test ├── CMakeLists.txt └── sub_examples │ ├── boost_asio_chapter01 │ ├── CMakeLists.txt │ └── source │ │ └── main.cpp │ ├── bundle_test_macchina │ ├── CMakeLists.txt │ ├── bundle │ │ └── hello_bundle.xml │ ├── scripts │ │ └── setup_env │ └── source │ │ └── bundle_activator.cpp │ ├── network_getting_started │ ├── CMakeLists.txt │ └── source │ │ ├── chapter01.hpp │ │ ├── chapter02.hpp │ │ ├── constant.h │ │ ├── csocket.hpp │ │ ├── exception.hpp │ │ ├── global.hpp │ │ ├── main.cpp │ │ └── utility.h │ └── network_template │ ├── CMakeLists.txt │ └── source │ └── main.cpp ├── nuklear_test ├── CMakeLists.txt ├── extra_font │ ├── Cousine-Regular.ttf │ ├── DroidSans.ttf │ ├── Karla-Regular.ttf │ ├── ProggyClean.ttf │ ├── ProggyTiny.ttf │ ├── Raleway-Bold.ttf │ ├── Roboto-Bold.ttf │ ├── Roboto-Light.ttf │ ├── Roboto-Regular.ttf │ ├── kenvector_future.ttf │ └── kenvector_future_thin.ttf ├── icon │ ├── checked.png │ ├── cloud.png │ ├── computer.png │ ├── copy.png │ ├── default.png │ ├── delete.png │ ├── desktop.png │ ├── directory.png │ ├── edit.png │ ├── export.png │ ├── font.png │ ├── home.png │ ├── img.png │ ├── movie.png │ ├── music.png │ ├── next.png │ ├── pause.png │ ├── pen.png │ ├── phone.png │ ├── plane.png │ ├── play.png │ ├── prev.png │ ├── rocket.png │ ├── settings.png │ ├── stop.png │ ├── text.png │ ├── tools.png │ ├── unchecked.png │ ├── volume.png │ └── wifi.png ├── images │ ├── image1.png │ ├── image2.png │ ├── image3.png │ ├── image4.png │ ├── image5.png │ ├── image6.png │ ├── image7.png │ ├── image8.png │ └── image9.png ├── skins │ └── gwen.png ├── source │ ├── main.cpp │ └── nuklear.h └── stbi │ ├── CMakeLists.txt │ └── stb_image.h ├── persian_to_english_number ├── CMakeLists.txt └── source │ └── main.cpp ├── plot_funny_test ├── CMakeLists.txt └── source │ ├── main.cpp │ ├── qcustomplot.cpp │ └── qcustomplot.h ├── postfix_qvalidator ├── CMakeLists.txt └── source │ └── main.cpp ├── qcustomplot_in_qml ├── CMakeLists.txt └── source │ ├── QCustomPlotItem.cpp │ ├── QCustomPlotItem.h │ ├── data_source.cpp │ ├── data_source.h │ ├── main.cpp │ ├── main.qml │ ├── qcustomplot.cpp │ ├── qcustomplot.h │ └── resource.qrc ├── qfile_watcher ├── CMakeLists.txt └── source │ └── main.cpp ├── qheader_view_custom ├── CMakeLists.txt └── source │ └── main.cpp ├── qjson_value ├── CMakeLists.txt └── source │ └── main.cpp ├── qml_pass_id_example ├── CMakeLists.txt └── source │ ├── main.cpp │ ├── main.qml │ └── res.qrc ├── qml_pass_objectName_example ├── CMakeLists.txt └── source │ ├── main.cpp │ ├── main.qml │ └── res.qrc ├── qml_textinput_validator ├── CMakeLists.txt ├── main.cc ├── main.qml └── res.qrc ├── qproxy_search ├── CMakeLists.txt └── source │ └── main.cpp ├── qscroll_area ├── CMakeLists.txt └── source │ └── main.cpp ├── qstringlist_to_file ├── CMakeLists.txt └── source │ └── main.cpp ├── qt_client_server ├── CMakeLists.txt └── source │ └── main.cpp ├── qt_using_qeventloop_badly ├── CMakeLists.txt ├── cmake │ └── ConfigQCustomPlot.cmake ├── libraries │ ├── core_common_things │ │ ├── CMakeLists.txt │ │ ├── include │ │ │ └── core_common_things │ │ │ │ ├── constants.h │ │ │ │ ├── exceptions.h │ │ │ │ └── result.h │ │ └── source │ │ │ ├── exceptions.cc │ │ │ └── result.cc │ └── core_interface │ │ ├── CMakeLists.txt │ │ ├── include │ │ └── core_interface │ │ │ └── core_interface.h │ │ └── source │ │ └── core_interface.cc ├── plugins │ ├── plot │ │ ├── CMakeLists.txt │ │ ├── include │ │ │ └── plot │ │ │ │ ├── meta.json │ │ │ │ └── plot_plugin.h │ │ ├── source │ │ │ └── plot_plugin.cc │ │ └── third_party │ │ │ └── QCustomPlot │ │ │ ├── CMakeLists.txt │ │ │ ├── GPL.txt │ │ │ ├── changelog.txt │ │ │ ├── documentation │ │ │ ├── html │ │ │ │ ├── AxisNamesOverview.png │ │ │ │ ├── AxisRectSpacingOverview.png │ │ │ │ ├── InheritanceOverview.png │ │ │ │ ├── LayoutsystemSketch.png │ │ │ │ ├── QCPBars.png │ │ │ │ ├── QCPBarsGroup.png │ │ │ │ ├── QCPColorGradient-levelcount.png │ │ │ │ ├── QCPColorGradient-periodic.png │ │ │ │ ├── QCPColorGradient.png │ │ │ │ ├── QCPColorMap-interpolate.png │ │ │ │ ├── QCPColorMap-tightboundary.png │ │ │ │ ├── QCPColorMap.png │ │ │ │ ├── QCPColorScale.png │ │ │ │ ├── QCPCurve.png │ │ │ │ ├── QCPErrorBars.png │ │ │ │ ├── QCPFinancial.png │ │ │ │ ├── QCPGraph.png │ │ │ │ ├── QCPItemBracket-length.png │ │ │ │ ├── QCPItemBracket.png │ │ │ │ ├── QCPItemCurve.png │ │ │ │ ├── QCPItemEllipse.png │ │ │ │ ├── QCPItemLine.png │ │ │ │ ├── QCPItemPixmap.png │ │ │ │ ├── QCPItemRect.png │ │ │ │ ├── QCPItemStraightLine.png │ │ │ │ ├── QCPItemText.png │ │ │ │ ├── QCPItemTracer.png │ │ │ │ ├── QCPLineEnding.png │ │ │ │ ├── QCPMarginGroup.png │ │ │ │ ├── QCPStatisticalBox.png │ │ │ │ ├── RelationOverview.png │ │ │ │ ├── adaptive-sampling-line.png │ │ │ │ ├── adaptive-sampling-scatter.png │ │ │ │ ├── annotated.html │ │ │ │ ├── axisticker-datetime.png │ │ │ │ ├── axisticker-fixed.png │ │ │ │ ├── axisticker-log-powers.png │ │ │ │ ├── axisticker-log.png │ │ │ │ ├── axisticker-pi.png │ │ │ │ ├── axisticker-text.png │ │ │ │ ├── axisticker-time.png │ │ │ │ ├── axisticker-time2.png │ │ │ │ ├── bc_s.png │ │ │ │ ├── bdwn.png │ │ │ │ ├── classQCPAbstractItem.html │ │ │ │ ├── classQCPAbstractItem__inherit__graph.png │ │ │ │ ├── classQCPAbstractLegendItem.html │ │ │ │ ├── classQCPAbstractLegendItem__inherit__graph.png │ │ │ │ ├── classQCPAbstractPaintBuffer.html │ │ │ │ ├── classQCPAbstractPaintBuffer__inherit__graph.png │ │ │ │ ├── classQCPAbstractPlottable.html │ │ │ │ ├── classQCPAbstractPlottable1D.html │ │ │ │ ├── classQCPAbstractPlottable1D__inherit__graph.png │ │ │ │ ├── classQCPAbstractPlottable__inherit__graph.png │ │ │ │ ├── classQCPAxis.html │ │ │ │ ├── classQCPAxisRect.html │ │ │ │ ├── classQCPAxisRect__inherit__graph.png │ │ │ │ ├── classQCPAxisTicker.html │ │ │ │ ├── classQCPAxisTickerDateTime.html │ │ │ │ ├── classQCPAxisTickerDateTime__inherit__graph.png │ │ │ │ ├── classQCPAxisTickerFixed.html │ │ │ │ ├── classQCPAxisTickerFixed__inherit__graph.png │ │ │ │ ├── classQCPAxisTickerLog.html │ │ │ │ ├── classQCPAxisTickerLog__inherit__graph.png │ │ │ │ ├── classQCPAxisTickerPi.html │ │ │ │ ├── classQCPAxisTickerPi__inherit__graph.png │ │ │ │ ├── classQCPAxisTickerText.html │ │ │ │ ├── classQCPAxisTickerText__inherit__graph.png │ │ │ │ ├── classQCPAxisTickerTime.html │ │ │ │ ├── classQCPAxisTickerTime__inherit__graph.png │ │ │ │ ├── classQCPAxisTicker__inherit__graph.png │ │ │ │ ├── classQCPAxis__inherit__graph.png │ │ │ │ ├── classQCPBars.html │ │ │ │ ├── classQCPBarsData.html │ │ │ │ ├── classQCPBarsGroup.html │ │ │ │ ├── classQCPBars__inherit__graph.png │ │ │ │ ├── classQCPColorGradient.html │ │ │ │ ├── classQCPColorMap.html │ │ │ │ ├── classQCPColorMapData.html │ │ │ │ ├── classQCPColorMap__inherit__graph.png │ │ │ │ ├── classQCPColorScale.html │ │ │ │ ├── classQCPColorScale__inherit__graph.png │ │ │ │ ├── classQCPCurve.html │ │ │ │ ├── classQCPCurveData.html │ │ │ │ ├── classQCPCurve__inherit__graph.png │ │ │ │ ├── classQCPDataContainer.html │ │ │ │ ├── classQCPDataRange.html │ │ │ │ ├── classQCPDataSelection.html │ │ │ │ ├── classQCPErrorBars.html │ │ │ │ ├── classQCPErrorBarsData.html │ │ │ │ ├── classQCPErrorBars__inherit__graph.png │ │ │ │ ├── classQCPFinancial.html │ │ │ │ ├── classQCPFinancialData.html │ │ │ │ ├── classQCPFinancial__inherit__graph.png │ │ │ │ ├── classQCPGraph.html │ │ │ │ ├── classQCPGraphData.html │ │ │ │ ├── classQCPGraph__inherit__graph.png │ │ │ │ ├── classQCPGrid.html │ │ │ │ ├── classQCPGrid__inherit__graph.png │ │ │ │ ├── classQCPItemAnchor.html │ │ │ │ ├── classQCPItemAnchor__inherit__graph.png │ │ │ │ ├── classQCPItemBracket.html │ │ │ │ ├── classQCPItemBracket__inherit__graph.png │ │ │ │ ├── classQCPItemCurve.html │ │ │ │ ├── classQCPItemCurve__inherit__graph.png │ │ │ │ ├── classQCPItemEllipse.html │ │ │ │ ├── classQCPItemEllipse__inherit__graph.png │ │ │ │ ├── classQCPItemLine.html │ │ │ │ ├── classQCPItemLine__inherit__graph.png │ │ │ │ ├── classQCPItemPixmap.html │ │ │ │ ├── classQCPItemPixmap__inherit__graph.png │ │ │ │ ├── classQCPItemPosition.html │ │ │ │ ├── classQCPItemPosition__inherit__graph.png │ │ │ │ ├── classQCPItemRect.html │ │ │ │ ├── classQCPItemRect__inherit__graph.png │ │ │ │ ├── classQCPItemStraightLine.html │ │ │ │ ├── classQCPItemStraightLine__inherit__graph.png │ │ │ │ ├── classQCPItemText.html │ │ │ │ ├── classQCPItemText__inherit__graph.png │ │ │ │ ├── classQCPItemTracer.html │ │ │ │ ├── classQCPItemTracer__inherit__graph.png │ │ │ │ ├── classQCPLayer.html │ │ │ │ ├── classQCPLayerable.html │ │ │ │ ├── classQCPLayerable__inherit__graph.png │ │ │ │ ├── classQCPLayout.html │ │ │ │ ├── classQCPLayoutElement.html │ │ │ │ ├── classQCPLayoutElement__inherit__graph.png │ │ │ │ ├── classQCPLayoutGrid.html │ │ │ │ ├── classQCPLayoutGrid__inherit__graph.png │ │ │ │ ├── classQCPLayoutInset.html │ │ │ │ ├── classQCPLayoutInset__inherit__graph.png │ │ │ │ ├── classQCPLayout__inherit__graph.png │ │ │ │ ├── classQCPLegend.html │ │ │ │ ├── classQCPLegend__inherit__graph.png │ │ │ │ ├── classQCPLineEnding.html │ │ │ │ ├── classQCPMarginGroup.html │ │ │ │ ├── classQCPPaintBufferGlFbo.html │ │ │ │ ├── classQCPPaintBufferGlFbo__inherit__graph.png │ │ │ │ ├── classQCPPaintBufferGlPbuffer.html │ │ │ │ ├── classQCPPaintBufferGlPbuffer__inherit__graph.png │ │ │ │ ├── classQCPPaintBufferPixmap.html │ │ │ │ ├── classQCPPaintBufferPixmap__inherit__graph.png │ │ │ │ ├── classQCPPainter.html │ │ │ │ ├── classQCPPlottableInterface1D.html │ │ │ │ ├── classQCPPlottableInterface1D__inherit__graph.png │ │ │ │ ├── classQCPPlottableLegendItem.html │ │ │ │ ├── classQCPPlottableLegendItem__inherit__graph.png │ │ │ │ ├── classQCPPolarAxisAngular.html │ │ │ │ ├── classQCPPolarAxisAngular__inherit__graph.png │ │ │ │ ├── classQCPPolarAxisRadial.html │ │ │ │ ├── classQCPPolarAxisRadial__inherit__graph.png │ │ │ │ ├── classQCPPolarGraph.html │ │ │ │ ├── classQCPPolarGraph__inherit__graph.png │ │ │ │ ├── classQCPPolarGrid.html │ │ │ │ ├── classQCPPolarGrid__inherit__graph.png │ │ │ │ ├── classQCPPolarLegendItem.html │ │ │ │ ├── classQCPPolarLegendItem__inherit__graph.png │ │ │ │ ├── classQCPRange.html │ │ │ │ ├── classQCPScatterStyle.html │ │ │ │ ├── classQCPSelectionDecorator.html │ │ │ │ ├── classQCPSelectionDecoratorBracket.html │ │ │ │ ├── classQCPSelectionDecoratorBracket__inherit__graph.png │ │ │ │ ├── classQCPSelectionDecorator__inherit__graph.png │ │ │ │ ├── classQCPSelectionRect.html │ │ │ │ ├── classQCPSelectionRect__inherit__graph.png │ │ │ │ ├── classQCPStatisticalBox.html │ │ │ │ ├── classQCPStatisticalBoxData.html │ │ │ │ ├── classQCPStatisticalBox__inherit__graph.png │ │ │ │ ├── classQCPTextElement.html │ │ │ │ ├── classQCPTextElement__inherit__graph.png │ │ │ │ ├── classQCPVector2D.html │ │ │ │ ├── classQCustomPlot.html │ │ │ │ ├── classes.html │ │ │ │ ├── classoverview.html │ │ │ │ ├── closed.png │ │ │ │ ├── core_8cpp.html │ │ │ │ ├── datacontainer_8h.html │ │ │ │ ├── dataselection.html │ │ │ │ ├── dir_17cee08e17148530a7aedf85f92ee362.html │ │ │ │ ├── dir_4749ca9c363ee6e69b445a1c06361cef.html │ │ │ │ ├── dir_68267d1309a1af8e8297ef4c3efbcdba.html │ │ │ │ ├── dir_78a97038723513eb3e3a9e944a7f482f.html │ │ │ │ ├── dir_7ecf847125af2ab645f5f2d2c82f57e2.html │ │ │ │ ├── dir_d1ab82e73f77cddd99808c625b504457.html │ │ │ │ ├── doc.png │ │ │ │ ├── doxygen.png │ │ │ │ ├── dynsections.js │ │ │ │ ├── files.html │ │ │ │ ├── folderclosed.png │ │ │ │ ├── folderopen.png │ │ │ │ ├── functions.html │ │ │ │ ├── functions_b.html │ │ │ │ ├── functions_c.html │ │ │ │ ├── functions_d.html │ │ │ │ ├── functions_e.html │ │ │ │ ├── functions_enum.html │ │ │ │ ├── functions_eval.html │ │ │ │ ├── functions_f.html │ │ │ │ ├── functions_func.html │ │ │ │ ├── functions_func_b.html │ │ │ │ ├── functions_func_c.html │ │ │ │ ├── functions_func_d.html │ │ │ │ ├── functions_func_e.html │ │ │ │ ├── functions_func_f.html │ │ │ │ ├── functions_func_g.html │ │ │ │ ├── functions_func_h.html │ │ │ │ ├── functions_func_i.html │ │ │ │ ├── functions_func_k.html │ │ │ │ ├── functions_func_l.html │ │ │ │ ├── functions_func_m.html │ │ │ │ ├── functions_func_n.html │ │ │ │ ├── functions_func_o.html │ │ │ │ ├── functions_func_p.html │ │ │ │ ├── functions_func_q.html │ │ │ │ ├── functions_func_r.html │ │ │ │ ├── functions_func_s.html │ │ │ │ ├── functions_func_t.html │ │ │ │ ├── functions_func_u.html │ │ │ │ ├── functions_func_v.html │ │ │ │ ├── functions_func_w.html │ │ │ │ ├── functions_func_z.html │ │ │ │ ├── functions_g.html │ │ │ │ ├── functions_h.html │ │ │ │ ├── functions_i.html │ │ │ │ ├── functions_k.html │ │ │ │ ├── functions_l.html │ │ │ │ ├── functions_m.html │ │ │ │ ├── functions_n.html │ │ │ │ ├── functions_o.html │ │ │ │ ├── functions_p.html │ │ │ │ ├── functions_q.html │ │ │ │ ├── functions_r.html │ │ │ │ ├── functions_rela.html │ │ │ │ ├── functions_s.html │ │ │ │ ├── functions_t.html │ │ │ │ ├── functions_u.html │ │ │ │ ├── functions_v.html │ │ │ │ ├── functions_vars.html │ │ │ │ ├── functions_w.html │ │ │ │ ├── functions_x.html │ │ │ │ ├── functions_y.html │ │ │ │ ├── functions_z.html │ │ │ │ ├── global_8h.html │ │ │ │ ├── globals.html │ │ │ │ ├── globals_type.html │ │ │ │ ├── hierarchy.html │ │ │ │ ├── index.html │ │ │ │ ├── inherit_graph_0.png │ │ │ │ ├── inherit_graph_1.png │ │ │ │ ├── inherit_graph_10.png │ │ │ │ ├── inherit_graph_11.png │ │ │ │ ├── inherit_graph_12.png │ │ │ │ ├── inherit_graph_13.png │ │ │ │ ├── inherit_graph_14.png │ │ │ │ ├── inherit_graph_15.png │ │ │ │ ├── inherit_graph_16.png │ │ │ │ ├── inherit_graph_17.png │ │ │ │ ├── inherit_graph_18.png │ │ │ │ ├── inherit_graph_19.png │ │ │ │ ├── inherit_graph_2.png │ │ │ │ ├── inherit_graph_20.png │ │ │ │ ├── inherit_graph_21.png │ │ │ │ ├── inherit_graph_22.png │ │ │ │ ├── inherit_graph_23.png │ │ │ │ ├── inherit_graph_24.png │ │ │ │ ├── inherit_graph_3.png │ │ │ │ ├── inherit_graph_4.png │ │ │ │ ├── inherit_graph_5.png │ │ │ │ ├── inherit_graph_6.png │ │ │ │ ├── inherit_graph_7.png │ │ │ │ ├── inherit_graph_8.png │ │ │ │ ├── inherit_graph_9.png │ │ │ │ ├── inherits.html │ │ │ │ ├── jquery.js │ │ │ │ ├── layoutsystem-addinglegendtitle.png │ │ │ │ ├── layoutsystem-addingplottitle.png │ │ │ │ ├── layoutsystem-movinglegend.png │ │ │ │ ├── layoutsystem-multipleaxisrects.png │ │ │ │ ├── namespaceQCP.html │ │ │ │ ├── namespacemembers.html │ │ │ │ ├── namespacemembers_enum.html │ │ │ │ ├── namespacemembers_eval.html │ │ │ │ ├── namespacemembers_func.html │ │ │ │ ├── namespaces.html │ │ │ │ ├── nav_f.png │ │ │ │ ├── nav_g.png │ │ │ │ ├── nav_h.png │ │ │ │ ├── open.png │ │ │ │ ├── pages.html │ │ │ │ ├── performanceimprovement.html │ │ │ │ ├── plottable-bars_8h.html │ │ │ │ ├── plottable-curve_8h.html │ │ │ │ ├── plottable-errorbar_8h.html │ │ │ │ ├── plottable-financial_8h.html │ │ │ │ ├── plottable-graph_8h.html │ │ │ │ ├── plottable-statisticalbox_8h.html │ │ │ │ ├── qcp-doc-logo.png │ │ │ │ ├── qcp.css │ │ │ │ ├── selectiontype-datarange.png │ │ │ │ ├── selectiontype-multipledataranges.png │ │ │ │ ├── selectiontype-none.png │ │ │ │ ├── selectiontype-singledata.png │ │ │ │ ├── selectiontype-whole.png │ │ │ │ ├── specialqtflags.html │ │ │ │ ├── splitbar.png │ │ │ │ ├── ssCircle.png │ │ │ │ ├── ssCross.png │ │ │ │ ├── ssCrossCircle.png │ │ │ │ ├── ssCrossSquare.png │ │ │ │ ├── ssDiamond.png │ │ │ │ ├── ssDisc.png │ │ │ │ ├── ssDot.png │ │ │ │ ├── ssPeace.png │ │ │ │ ├── ssPlus.png │ │ │ │ ├── ssPlusCircle.png │ │ │ │ ├── ssPlusSquare.png │ │ │ │ ├── ssSquare.png │ │ │ │ ├── ssStar.png │ │ │ │ ├── ssTriangle.png │ │ │ │ ├── ssTriangleInverted.png │ │ │ │ ├── sync_off.png │ │ │ │ ├── sync_on.png │ │ │ │ ├── tab_a.png │ │ │ │ ├── tab_b.png │ │ │ │ ├── tab_h.png │ │ │ │ ├── tab_s.png │ │ │ │ ├── tabs.css │ │ │ │ └── thelayoutsystem.html │ │ │ └── qcustomplot.qch │ │ │ ├── examples │ │ │ ├── axis-tags │ │ │ │ ├── axis-tags-example.pro │ │ │ │ ├── axistag.cpp │ │ │ │ ├── axistag.h │ │ │ │ ├── main.cpp │ │ │ │ ├── mainwindow.cpp │ │ │ │ ├── mainwindow.h │ │ │ │ └── mainwindow.ui │ │ │ ├── interactions │ │ │ │ ├── interaction-example.pro │ │ │ │ ├── main.cpp │ │ │ │ ├── mainwindow.cpp │ │ │ │ ├── mainwindow.h │ │ │ │ └── mainwindow.ui │ │ │ ├── plots │ │ │ │ ├── balboa.jpg │ │ │ │ ├── main.cpp │ │ │ │ ├── mainwindow.cpp │ │ │ │ ├── mainwindow.h │ │ │ │ ├── mainwindow.ui │ │ │ │ ├── plot-examples.pro │ │ │ │ ├── solarpanels.jpg │ │ │ │ └── sun.png │ │ │ ├── scrollbar-axis-range-control │ │ │ │ ├── main.cpp │ │ │ │ ├── mainwindow.cpp │ │ │ │ ├── mainwindow.h │ │ │ │ ├── mainwindow.ui │ │ │ │ └── scrollbar-axis-range-control.pro │ │ │ └── text-document-integration │ │ │ │ ├── main.cpp │ │ │ │ ├── mainwindow.cpp │ │ │ │ ├── mainwindow.h │ │ │ │ ├── mainwindow.ui │ │ │ │ ├── qcpdocumentobject.cpp │ │ │ │ ├── qcpdocumentobject.h │ │ │ │ └── text-document-integration.pro │ │ │ ├── qcustomplot.cpp │ │ │ └── qcustomplot.h │ └── plot_sin │ │ ├── CMakeLists.txt │ │ ├── include │ │ └── plot_sin │ │ │ ├── meta.json │ │ │ └── plot_sin_plugin.h │ │ └── source │ │ └── plot_sin_plugin.cc └── source │ └── main.cc ├── qtablewidget_selection ├── CMakeLists.txt └── source │ └── main.cpp ├── qtreeview_item_creation ├── CMakeLists.txt └── source │ └── main.cpp ├── read_input_with_timeout ├── CMakeLists.txt └── source │ └── main.c ├── read_input_with_timeout_cpp ├── CMakeLists.txt └── source │ └── main.cpp ├── rectangle_perimeter ├── CMakeLists.txt └── source │ └── main.cpp ├── rock_paper_scissors ├── CMakeLists.txt └── source │ └── main.cpp ├── rpc_function_register ├── CMakeLists.txt └── source │ └── main.cpp ├── runpath_problem ├── A │ ├── CMakeLists.txt │ └── source │ │ ├── main.cpp │ │ └── main.h ├── B │ ├── CMakeLists.txt │ └── source │ │ ├── main.cpp │ │ └── main.h ├── CMakeLists.txt └── source │ └── main.cpp ├── runtime_dispatch_v1 ├── CMakeLists.txt └── source │ └── main.cpp ├── sdl_test ├── CMakeLists.txt └── sub_examples │ └── sdl_template │ ├── CMakeLists.txt │ ├── res │ ├── alpha100.png │ ├── background.bmp │ ├── color_module.png │ ├── down.png │ ├── foo.png │ ├── left.png │ ├── right.png │ ├── sprites.png │ └── up.png │ ├── source │ ├── gc_defs.h │ ├── gc_game.cpp │ ├── gc_game.h │ ├── gc_image.cpp │ ├── gc_image.h │ ├── gc_ptr.hpp │ ├── gc_renderer.cpp │ ├── gc_renderer.h │ ├── gc_screen.cpp │ ├── gc_screen.h │ ├── gc_texture.cpp │ ├── gc_texture.h │ ├── gc_types.h │ ├── gc_util.cpp │ ├── gc_util.h │ └── main.cpp │ └── utils │ ├── AsyncFileLogger.cc │ ├── AsyncFileLogger.h │ ├── ConcurrentTaskQueue.cc │ ├── ConcurrentTaskQueue.h │ ├── Date.cc │ ├── Date.h │ ├── Funcs.h │ ├── LockFreeQueue.h │ ├── LogStream.cc │ ├── LogStream.h │ ├── Logger.cc │ ├── Logger.h │ ├── MsgBuffer.cc │ ├── MsgBuffer.h │ ├── NonCopyable.h │ ├── ObjectPool.h │ ├── TaskQueue.h │ ├── Utilities.cc │ └── Utilities.h ├── serialize_deserialize ├── CMakeLists.txt └── source │ └── main.cpp ├── serialize_deserialize_simple ├── CMakeLists.txt └── source │ └── main.cpp ├── shift_operator ├── CMakeLists.txt └── source │ └── main.cpp ├── shuffle_selection ├── CMakeLists.txt └── source │ └── main.cpp ├── simple_formula_string_parsing ├── CMakeLists.txt └── source │ └── main.cpp ├── simple_json_workaround ├── CMakeLists.txt └── source │ ├── json.hpp │ └── main.cpp ├── simple_map_dictionary ├── CMakeLists.txt └── source │ └── main.cpp ├── string_generator ├── CMakeLists.txt └── source │ └── main.cpp ├── sudoku_position_finder ├── CMakeLists.txt └── source │ └── main.cpp ├── template_1 ├── CMakeLists.txt └── source │ └── main.cpp ├── the_external_polymorphism ├── C++-EP.pdf ├── CMakeLists.txt ├── Type-Erasure-The-Implementation-Details-Klaus-Iglberger-CppCon-2022.pdf └── source │ └── main.cc ├── the_external_polymorphism_benchmark ├── C++-EP.pdf ├── CMakeLists.txt ├── Type-Erasure-The-Implementation-Details-Klaus-Iglberger-CppCon-2022.pdf ├── external_polymorphism │ ├── main.cc │ ├── print.cc │ ├── print.hh │ └── print_concept.hh └── ghasem_polymorphism │ ├── main.cc │ ├── print_impl.cc │ └── print_interface.hh ├── vector_to_number_i ├── CMakeLists.txt ├── source │ └── main.cpp └── third-party │ └── gmp-6.2.1 │ ├── include │ └── gmp.h │ ├── lib │ ├── libgmp.la │ └── pkgconfig │ │ └── gmp.pc │ └── share │ └── info │ ├── dir │ ├── gmp.info │ ├── gmp.info-1 │ └── gmp.info-2 ├── wake_on_lan ├── CMakeLists.txt └── source │ └── main.cpp ├── widgets_global_data ├── CMakeLists.txt └── source │ └── main.cpp └── widgets_in_qlistwidget ├── CMakeLists.txt └── source └── main.cpp /.clang-format: -------------------------------------------------------------------------------- 1 | BasedOnStyle: Google 2 | DerivePointerAlignment: false 3 | PointerAlignment: Left 4 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | # This file is used to ignore files which are generated 2 | # ---------------------------------------------------------------------------- 3 | 4 | *~ 5 | *.autosave 6 | *.a 7 | *.core 8 | *.moc 9 | *.o 10 | *.obj 11 | *.orig 12 | *.rej 13 | *.so 14 | *.so.* 15 | *_pch.h.cpp 16 | *_resource.rc 17 | *.qm 18 | .#* 19 | *.*# 20 | core 21 | !core/ 22 | tags 23 | .DS_Store 24 | .directory 25 | *.debug 26 | Makefile* 27 | *.prl 28 | *.app 29 | moc_*.cpp 30 | ui_*.h 31 | qrc_*.cpp 32 | Thumbs.db 33 | *.res 34 | *.rc 35 | /.qmake.cache 36 | /.qmake.stash 37 | 38 | # qtcreator generated files 39 | *.pro.user* 40 | 41 | # xemacs temporary files 42 | *.flc 43 | 44 | # Vim temporary files 45 | .*.swp 46 | 47 | # Visual Studio generated files 48 | *.ib_pdb_index 49 | *.idb 50 | *.ilk 51 | *.pdb 52 | *.sln 53 | *.suo 54 | *.vcproj 55 | *vcproj.*.*.user 56 | *.ncb 57 | *.sdf 58 | *.opensdf 59 | *.vcxproj 60 | *vcxproj.* 61 | 62 | # MinGW generated files 63 | *.Debug 64 | *.Release 65 | 66 | # Python byte code 67 | *.pyc 68 | 69 | # Binaries 70 | # -------- 71 | *.dll 72 | *.exe 73 | 74 | *.user* 75 | -------------------------------------------------------------------------------- /CMakeLists.txt: -------------------------------------------------------------------------------- 1 | cmake_minimum_required(VERSION 3.5) 2 | 3 | project(examples LANGUAGES CXX) 4 | 5 | set(CMAKE_CXX_STANDARD 17) 6 | set(CMAKE_CXX_STANDARD_REQUIRED ON) 7 | set(CMAKE_CXX_EXTENSIONS OFF) 8 | 9 | # -fsanitize=address 10 | set(CMAKE_CXX_FLAGS "-Wall -Wextra -Wpedantic -pedantic-errors") 11 | 12 | file(GLOB SUB_EXAMPLES ${CMAKE_CURRENT_SOURCE_DIR}/sub_examples/*) 13 | foreach(EXAMPLE ${SUB_EXAMPLES}) 14 | get_filename_component(EXAMPLE_SELECTED_NAME ${EXAMPLE} NAME) 15 | option(example_${EXAMPLE_SELECTED_NAME} "example_${EXAMPLE_SELECTED_NAME}" off) 16 | 17 | if (example_${EXAMPLE_SELECTED_NAME}) 18 | add_subdirectory(${EXAMPLE}) 19 | endif(example_${EXAMPLE_SELECTED_NAME}) 20 | endforeach() 21 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # Example 2 | A Place For My Examples Of Various Things. 3 | -------------------------------------------------------------------------------- /sub_examples/big_int_hm/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | cmake_minimum_required(VERSION 3.5) 2 | 3 | get_filename_component(PROJECT_SELECTED_NAME ${CMAKE_CURRENT_SOURCE_DIR} NAME) 4 | string(REPLACE " " "_" PROJECT_SELECTED_NAME ${PROJECT_SELECTED_NAME}) 5 | project(${PROJECT_SELECTED_NAME} LANGUAGES CXX) 6 | 7 | set(CMAKE_CXX_STANDARD 17) 8 | set(CMAKE_CXX_STANDARD_REQUIRED ON) 9 | 10 | 11 | file(GLOB HEADER_ONLY_FILES ${CMAKE_CURRENT_SOURCE_DIR}/source/*.hpp) 12 | file(GLOB SOURCE_FILES ${CMAKE_CURRENT_SOURCE_DIR}/source/*.cpp) 13 | file(GLOB HEADER_FILES ${CMAKE_CURRENT_SOURCE_DIR}/source/*.h) 14 | 15 | add_executable(${PROJECT_NAME} 16 | ${HEADER_FILE_ONLY} 17 | ${SOURCE_FILES} 18 | ${HEADER_FILES} 19 | ) 20 | target_include_directories(${PROJECT_NAME} PRIVATE 21 | third-party/bigint-library-master 22 | ) 23 | -------------------------------------------------------------------------------- /sub_examples/bit_representation/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | cmake_minimum_required(VERSION 3.5) 2 | 3 | get_filename_component(PROJECT_SELECTED_NAME ${CMAKE_CURRENT_SOURCE_DIR} NAME) 4 | string(REPLACE " " "_" PROJECT_SELECTED_NAME ${PROJECT_SELECTED_NAME}) 5 | project(${PROJECT_SELECTED_NAME} LANGUAGES CXX) 6 | 7 | set(CMAKE_CXX_STANDARD 17) 8 | set(CMAKE_CXX_STANDARD_REQUIRED ON) 9 | 10 | file(GLOB HEADER_ONLY_FILES ${CMAKE_CURRENT_SOURCE_DIR}/source/*.hpp) 11 | file(GLOB SOURCE_FILES ${CMAKE_CURRENT_SOURCE_DIR}/source/*.cpp) 12 | file(GLOB HEADER_FILES ${CMAKE_CURRENT_SOURCE_DIR}/source/*.h) 13 | 14 | add_executable(${PROJECT_NAME} 15 | ${HEADER_FILE_ONLY} 16 | ${SOURCE_FILES} 17 | ${HEADER_FILES} 18 | ) 19 | -------------------------------------------------------------------------------- /sub_examples/boost_lock_free_queue/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | cmake_minimum_required(VERSION 3.5) 2 | 3 | get_filename_component(PROJECT_SELECTED_NAME ${CMAKE_CURRENT_SOURCE_DIR} NAME) 4 | string(REPLACE " " "_" PROJECT_SELECTED_NAME ${PROJECT_SELECTED_NAME}) 5 | project(${PROJECT_SELECTED_NAME} LANGUAGES CXX) 6 | 7 | set(CMAKE_CXX_STANDARD 17) 8 | set(CMAKE_CXX_STANDARD_REQUIRED ON) 9 | 10 | file(GLOB HEADER_ONLY_FILES ${CMAKE_CURRENT_SOURCE_DIR}/source/*.hpp) 11 | file(GLOB SOURCE_FILES ${CMAKE_CURRENT_SOURCE_DIR}/source/*.cpp) 12 | file(GLOB HEADER_FILES ${CMAKE_CURRENT_SOURCE_DIR}/source/*.h) 13 | 14 | find_package(Threads REQUIRED) 15 | 16 | add_executable(${PROJECT_NAME} 17 | ${HEADER_FILE_ONLY} 18 | ${SOURCE_FILES} 19 | ${HEADER_FILES} 20 | ) 21 | target_link_libraries(${PROJECT_NAME} 22 | PRIVATE 23 | Threads::Threads 24 | ) 25 | -------------------------------------------------------------------------------- /sub_examples/boost_serialize_deserialize/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | cmake_minimum_required(VERSION 3.5) 2 | 3 | get_filename_component(PROJECT_SELECTED_NAME ${CMAKE_CURRENT_SOURCE_DIR} NAME) 4 | string(REPLACE " " "_" PROJECT_SELECTED_NAME ${PROJECT_SELECTED_NAME}) 5 | project(${PROJECT_SELECTED_NAME} LANGUAGES CXX) 6 | 7 | file(GLOB HEADER_ONLY_FILES ${CMAKE_CURRENT_SOURCE_DIR}/source/*.hpp) 8 | file(GLOB SOURCE_FILES ${CMAKE_CURRENT_SOURCE_DIR}/source/*.cpp) 9 | file(GLOB HEADER_FILES ${CMAKE_CURRENT_SOURCE_DIR}/source/*.h) 10 | 11 | add_executable(${PROJECT_NAME} 12 | ${HEADER_FILE_ONLY} 13 | ${SOURCE_FILES} 14 | ${HEADER_FILES} 15 | ) 16 | set_target_properties(${PROJECT_NAME} 17 | PROPERTIES 18 | CXX_STANDARD 17 19 | CXX_STANDARD_REQUIRED on 20 | ) 21 | target_link_libraries(${PROJECT_NAME} 22 | PRIVATE 23 | boost_iostreams 24 | boost_serialization 25 | stdc++fs 26 | ) 27 | -------------------------------------------------------------------------------- /sub_examples/bytell_hash_map/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | cmake_minimum_required(VERSION 3.5) 2 | 3 | get_filename_component(PROJECT_SELECTED_NAME ${CMAKE_CURRENT_SOURCE_DIR} NAME) 4 | string(REPLACE " " "_" PROJECT_SELECTED_NAME ${PROJECT_SELECTED_NAME}) 5 | project(${PROJECT_SELECTED_NAME} LANGUAGES CXX) 6 | 7 | set(CMAKE_CXX_STANDARD 17) 8 | set(CMAKE_CXX_STANDARD_REQUIRED ON) 9 | 10 | file(GLOB HEADER_ONLY_FILES ${CMAKE_CURRENT_SOURCE_DIR}/flat_hash_map/*.hpp) 11 | file(GLOB SOURCE_FILES ${CMAKE_CURRENT_SOURCE_DIR}/source/*.cpp) 12 | file(GLOB HEADER_FILES ${CMAKE_CURRENT_SOURCE_DIR}/source/*.h) 13 | 14 | add_executable(${PROJECT_NAME} 15 | ${HEADER_ONLY_FILES} 16 | ${SOURCE_FILES} 17 | ${HEADER_FILES} 18 | ) 19 | target_include_directories(${PROJECT_NAME} PUBLIC 20 | ${CMAKE_CURRENT_SOURCE_DIR}/flat_hash_map 21 | ) 22 | target_link_libraries(${PROJECT_NAME} PRIVATE 23 | boost_timer 24 | ) 25 | -------------------------------------------------------------------------------- /sub_examples/call_friend_function_as_slot/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | cmake_minimum_required(VERSION 3.5) 2 | 3 | get_filename_component(PROJECT_SELECTED_NAME ${CMAKE_CURRENT_SOURCE_DIR} NAME) 4 | string(REPLACE " " "_" PROJECT_SELECTED_NAME ${PROJECT_SELECTED_NAME}) 5 | project(${PROJECT_SELECTED_NAME} LANGUAGES CXX) 6 | 7 | set(CMAKE_CXX_STANDARD 17) 8 | set(CMAKE_CXX_STANDARD_REQUIRED ON) 9 | 10 | find_package(QT NAMES Qt6 Qt5 COMPONENTS Widgets Core REQUIRED) 11 | find_package(Qt${QT_VERSION_MAJOR} COMPONENTS Widgets Core REQUIRED) 12 | 13 | 14 | file(GLOB HEADER_ONLY_FILES ${CMAKE_CURRENT_SOURCE_DIR}/source/*.hpp) 15 | file(GLOB SOURCE_FILES ${CMAKE_CURRENT_SOURCE_DIR}/source/*.cpp) 16 | file(GLOB HEADER_FILES ${CMAKE_CURRENT_SOURCE_DIR}/source/*.h) 17 | 18 | add_executable(${PROJECT_NAME} 19 | ${HEADER_FILE_ONLY} 20 | ${SOURCE_FILES} 21 | ${HEADER_FILES} 22 | ) 23 | target_link_libraries(${PROJECT_NAME} PRIVATE 24 | Qt${QT_VERSION_MAJOR}::Widgets 25 | Qt${QT_VERSION_MAJOR}::Core 26 | ) 27 | -------------------------------------------------------------------------------- /sub_examples/call_stack/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | cmake_minimum_required(VERSION 3.5) 2 | 3 | get_filename_component(PROJECT_SELECTED_NAME ${CMAKE_CURRENT_SOURCE_DIR} NAME) 4 | string(REPLACE " " "_" PROJECT_SELECTED_NAME ${PROJECT_SELECTED_NAME}) 5 | project(${PROJECT_SELECTED_NAME} LANGUAGES CXX) 6 | 7 | set(CMAKE_CXX_STANDARD 17) 8 | set(CMAKE_CXX_STANDARD_REQUIRED ON) 9 | 10 | file(GLOB HEADER_ONLY_FILES ${CMAKE_CURRENT_SOURCE_DIR}/source/*.hpp) 11 | file(GLOB SOURCE_FILES ${CMAKE_CURRENT_SOURCE_DIR}/source/*.cpp) 12 | file(GLOB HEADER_FILES ${CMAKE_CURRENT_SOURCE_DIR}/source/*.h) 13 | 14 | add_executable(${PROJECT_NAME} 15 | ${HEADER_FILE_ONLY} 16 | ${SOURCE_FILES} 17 | ${HEADER_FILES} 18 | ) 19 | -------------------------------------------------------------------------------- /sub_examples/chunk_chunk_operation/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | cmake_minimum_required(VERSION 3.5) 2 | 3 | get_filename_component(PROJECT_SELECTED_NAME ${CMAKE_CURRENT_SOURCE_DIR} NAME) 4 | string(REPLACE " " "_" PROJECT_SELECTED_NAME ${PROJECT_SELECTED_NAME}) 5 | project(${PROJECT_SELECTED_NAME} LANGUAGES CXX) 6 | 7 | set(CMAKE_CXX_STANDARD 17) 8 | set(CMAKE_CXX_STANDARD_REQUIRED ON) 9 | 10 | 11 | file(GLOB HEADER_ONLY_FILES ${CMAKE_CURRENT_SOURCE_DIR}/source/*.hpp) 12 | file(GLOB SOURCE_FILES ${CMAKE_CURRENT_SOURCE_DIR}/source/*.cpp) 13 | file(GLOB HEADER_FILES ${CMAKE_CURRENT_SOURCE_DIR}/source/*.h) 14 | 15 | add_executable(${PROJECT_NAME} 16 | ${HEADER_FILE_ONLY} 17 | ${SOURCE_FILES} 18 | ${HEADER_FILES} 19 | ) 20 | -------------------------------------------------------------------------------- /sub_examples/date_compare_hm/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | cmake_minimum_required(VERSION 3.5) 2 | 3 | get_filename_component(PROJECT_SELECTED_NAME ${CMAKE_CURRENT_SOURCE_DIR} NAME) 4 | string(REPLACE " " "_" PROJECT_SELECTED_NAME ${PROJECT_SELECTED_NAME}) 5 | project(${PROJECT_SELECTED_NAME} LANGUAGES CXX) 6 | 7 | set(CMAKE_CXX_STANDARD 17) 8 | set(CMAKE_CXX_STANDARD_REQUIRED ON) 9 | 10 | 11 | file(GLOB HEADER_ONLY_FILES ${CMAKE_CURRENT_SOURCE_DIR}/source/*.hpp) 12 | file(GLOB SOURCE_FILES ${CMAKE_CURRENT_SOURCE_DIR}/source/*.cpp) 13 | file(GLOB HEADER_FILES ${CMAKE_CURRENT_SOURCE_DIR}/source/*.h) 14 | 15 | add_executable(${PROJECT_NAME} 16 | ${HEADER_FILE_ONLY} 17 | ${SOURCE_FILES} 18 | ${HEADER_FILES} 19 | ) 20 | -------------------------------------------------------------------------------- /sub_examples/dijsktra_example/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | cmake_minimum_required(VERSION 3.5) 2 | 3 | get_filename_component(PROJECT_SELECTED_NAME ${CMAKE_CURRENT_SOURCE_DIR} NAME) 4 | string(REPLACE " " "_" PROJECT_SELECTED_NAME ${PROJECT_SELECTED_NAME}) 5 | project(${PROJECT_SELECTED_NAME} LANGUAGES CXX) 6 | 7 | set(CMAKE_CXX_STANDARD 17) 8 | set(CMAKE_CXX_STANDARD_REQUIRED ON) 9 | 10 | 11 | file(GLOB HEADER_ONLY_FILES ${CMAKE_CURRENT_SOURCE_DIR}/source/*.hpp) 12 | file(GLOB SOURCE_FILES ${CMAKE_CURRENT_SOURCE_DIR}/source/*.cpp) 13 | file(GLOB HEADER_FILES ${CMAKE_CURRENT_SOURCE_DIR}/source/*.h) 14 | 15 | add_executable(${PROJECT_NAME} 16 | ${HEADER_FILE_ONLY} 17 | ${SOURCE_FILES} 18 | ${HEADER_FILES} 19 | ) 20 | -------------------------------------------------------------------------------- /sub_examples/drogon_test/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | cmake_minimum_required(VERSION 3.5) 2 | 3 | get_filename_component(PROJECT_SELECTED_NAME ${CMAKE_CURRENT_SOURCE_DIR} NAME) 4 | string(REPLACE " " "_" PROJECT_SELECTED_NAME ${PROJECT_SELECTED_NAME}) 5 | project(${PROJECT_SELECTED_NAME} LANGUAGES CXX) 6 | 7 | set(CMAKE_CXX_STANDARD 17) 8 | set(CMAKE_CXX_STANDARD_REQUIRED ON) 9 | 10 | message(${PROJECT_NAME} "ghasem") 11 | 12 | #list(APPEND CMAKE_PREFIX_PATH "/home/ghasem/Documents/src/drogon/binary/debug") 13 | #find_package(Drogon REQUIRED) 14 | 15 | #file(GLOB SUB_EXAMPLES ${CMAKE_CURRENT_SOURCE_DIR}/sub_examples/*) 16 | #foreach(EXAMPLE ${SUB_EXAMPLES}) 17 | # get_filename_component(EXAMPLE_SELECTED_NAME ${EXAMPLE} NAME) 18 | # option(example_${EXAMPLE_SELECTED_NAME} "example_${EXAMPLE_SELECTED_NAME}" ON) 19 | 20 | # if (example_${EXAMPLE_SELECTED_NAME}) 21 | # add_subdirectory(${EXAMPLE}) 22 | # endif(${EXAMPLE}_example) 23 | #endforeach() 24 | -------------------------------------------------------------------------------- /sub_examples/drogon_test/sub_examples/controller_introduction/main.cc: -------------------------------------------------------------------------------- 1 | #include 2 | 3 | int main() { 4 | //Set HTTP listener address and port 5 | drogon::app().addListener("127.0.0.1", 8088); 6 | 7 | //Load config file 8 | //drogon::app().loadConfigFile("../config.json"); 9 | //Run HTTP framework,the method will block in the internal event loop 10 | drogon::app().run(); 11 | 12 | return 0; 13 | } 14 | -------------------------------------------------------------------------------- /sub_examples/drogon_test/sub_examples/drogon_example_template/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | cmake_minimum_required(VERSION 3.5) 2 | 3 | get_filename_component(PROJECT_SELECTED_NAME ${CMAKE_CURRENT_SOURCE_DIR} NAME) 4 | string(REPLACE " " "_" PROJECT_SELECTED_NAME ${PROJECT_SELECTED_NAME}) 5 | project(${PROJECT_SELECTED_NAME} LANGUAGES CXX) 6 | 7 | set(CMAKE_CXX_STANDARD 17) 8 | set(CMAKE_CXX_STANDARD_REQUIRED ON) 9 | 10 | file(GLOB HEADER_ONLY_FILES ${CMAKE_CURRENT_SOURCE_DIR}/**/*.hpp) 11 | file(GLOB SOURCE_FILES ${CMAKE_CURRENT_SOURCE_DIR}/**/*.cpp) 12 | file(GLOB HEADER_FILES ${CMAKE_CURRENT_SOURCE_DIR}/**/*.h) 13 | 14 | add_executable(${PROJECT_NAME} 15 | ${HEADER_FILE_ONLY} 16 | ${SOURCE_FILES} 17 | ${HEADER_FILES} 18 | ) 19 | target_link_libraries(${PROJECT_NAME} PRIVATE Drogon::Drogon) 20 | -------------------------------------------------------------------------------- /sub_examples/drogon_test/sub_examples/drogon_example_template/source/main.cpp: -------------------------------------------------------------------------------- 1 | /* 2 | * This program is free software: you can redistribute it and/or modify 3 | * it under the terms of the GNU General Public License as published by 4 | * the Free Software Foundation, either version 3 of the License, or 5 | * (at your option) any later version. 6 | * 7 | * This program is distributed in the hope that it will be useful, 8 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 9 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 10 | * GNU General Public License for more details. 11 | * 12 | * You should have received a copy of the GNU General Public License 13 | * along with this program. If not, see . 14 | * 15 | * @another_ghasem 16 | * g1999ramezani@gmail.com 17 | */ 18 | 19 | #include 20 | 21 | int main() { 22 | } 23 | -------------------------------------------------------------------------------- /sub_examples/drogon_test/sub_examples/quick_start/controllers/test_controller.cc: -------------------------------------------------------------------------------- 1 | #include "test_controller.h" 2 | 3 | #include 4 | 5 | void test_controller::asyncHandleHttpRequest(drogon::HttpRequestPtr const& req, callback_t&& callback) { 6 | auto const respond = drogon::HttpResponse::newHttpResponse(); 7 | respond->setStatusCode(drogon::k200OK); 8 | respond->setContentTypeCode(drogon::CT_TEXT_HTML); 9 | respond->setBody("Hello Ghasem"); 10 | 11 | callback(respond); 12 | } 13 | -------------------------------------------------------------------------------- /sub_examples/drogon_test/sub_examples/quick_start/controllers/test_controller.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include 4 | 5 | class test_controller final: public drogon::HttpSimpleController { 6 | using callback_t = std::function; 7 | 8 | public: 9 | virtual void asyncHandleHttpRequest(drogon::HttpRequestPtr const& req, callback_t&& callback) override; 10 | 11 | PATH_LIST_BEGIN 12 | PATH_ADD("/", drogon::Get, drogon::Post); 13 | PATH_ADD("/test", drogon::Get); 14 | PATH_LIST_END 15 | }; 16 | -------------------------------------------------------------------------------- /sub_examples/drogon_test/sub_examples/quick_start/main.cc: -------------------------------------------------------------------------------- 1 | #include 2 | 3 | int main() { 4 | //Set HTTP listener address and port 5 | drogon::app().addListener("127.0.0.1", 8088); 6 | 7 | //Load config file 8 | //drogon::app().loadConfigFile("../config.json"); 9 | //Run HTTP framework,the method will block in the internal event loop 10 | drogon::app().run(); 11 | 12 | return 0; 13 | } 14 | -------------------------------------------------------------------------------- /sub_examples/drogon_test/sub_examples/web_socket_controller/controllers/demo_echo_web_socket.cc: -------------------------------------------------------------------------------- 1 | #include "demo_echo_web_socket.h" 2 | 3 | namespace demo { 4 | void echo_web_socket::handleNewMessage(drogon::WebSocketConnectionPtr const& connection, 5 | std::string&& message, 6 | drogon::WebSocketMessageType const& type) { 7 | LOG_DEBUG << "Type: " << static_cast(type) << "."; 8 | connection->send(message); 9 | } 10 | 11 | void echo_web_socket::handleNewConnection(drogon::HttpRequestPtr const& request, 12 | drogon::WebSocketConnectionPtr const& connection) { 13 | //write your application logic here 14 | } 15 | 16 | void echo_web_socket::handleConnectionClosed(drogon::WebSocketConnectionPtr const& connection) { 17 | //write your application logic here 18 | } 19 | } // namespace demo 20 | -------------------------------------------------------------------------------- /sub_examples/drogon_test/sub_examples/web_socket_controller/controllers/demo_echo_web_socket.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include 4 | 5 | namespace demo { 6 | class echo_web_socket: public drogon::WebSocketController { 7 | public: 8 | virtual void handleNewMessage(drogon::WebSocketConnectionPtr const& connection, 9 | std::string&& message, drogon::WebSocketMessageType const& type) override; 10 | virtual void handleNewConnection(drogon::HttpRequestPtr const& request, 11 | drogon::WebSocketConnectionPtr const& connection) override; 12 | virtual void handleConnectionClosed(drogon::WebSocketConnectionPtr const& connection) override; 13 | 14 | WS_PATH_LIST_BEGIN 15 | WS_PATH_ADD("/echo"); 16 | WS_PATH_LIST_END 17 | }; 18 | } // namespace demo 19 | -------------------------------------------------------------------------------- /sub_examples/drogon_test/sub_examples/web_socket_controller/main.cc: -------------------------------------------------------------------------------- 1 | #include 2 | 3 | int main() { 4 | //Set HTTP listener address and port 5 | drogon::app().addListener("127.0.0.1", 8088); 6 | 7 | //Load config file 8 | //drogon::app().loadConfigFile("../config.json"); 9 | //Run HTTP framework,the method will block in the internal event loop 10 | drogon::app().run(); 11 | 12 | return 0; 13 | } 14 | -------------------------------------------------------------------------------- /sub_examples/duplication_code/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | cmake_minimum_required(VERSION 3.5) 2 | 3 | get_filename_component(PROJECT_SELECTED_NAME ${CMAKE_CURRENT_SOURCE_DIR} NAME) 4 | string(REPLACE " " "_" PROJECT_SELECTED_NAME ${PROJECT_SELECTED_NAME}) 5 | project(${PROJECT_SELECTED_NAME} LANGUAGES CXX) 6 | 7 | set(CMAKE_CXX_STANDARD 17) 8 | set(CMAKE_CXX_STANDARD_REQUIRED ON) 9 | 10 | file(GLOB HEADER_ONLY_FILES ${CMAKE_CURRENT_SOURCE_DIR}/source/*.hpp) 11 | file(GLOB SOURCE_FILES ${CMAKE_CURRENT_SOURCE_DIR}/source/*.cpp) 12 | file(GLOB HEADER_FILES ${CMAKE_CURRENT_SOURCE_DIR}/source/*.h) 13 | 14 | add_executable(${PROJECT_NAME} 15 | ${HEADER_FILE_ONLY} 16 | ${SOURCE_FILES} 17 | ${HEADER_FILES} 18 | ) 19 | -------------------------------------------------------------------------------- /sub_examples/equality_operator/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | cmake_minimum_required(VERSION 3.5) 2 | 3 | get_filename_component(PROJECT_SELECTED_NAME ${CMAKE_CURRENT_SOURCE_DIR} NAME) 4 | string(REPLACE " " "_" PROJECT_SELECTED_NAME ${PROJECT_SELECTED_NAME}) 5 | project(${PROJECT_SELECTED_NAME} LANGUAGES CXX) 6 | 7 | set(CMAKE_CXX_STANDARD 17) 8 | set(CMAKE_CXX_STANDARD_REQUIRED ON) 9 | 10 | find_package(QT NAMES Qt6 Qt5 COMPONENTS Widgets Core REQUIRED) 11 | find_package(Qt${QT_VERSION_MAJOR} COMPONENTS Widgets Core REQUIRED) 12 | 13 | file(GLOB HEADER_ONLY_FILES ${CMAKE_CURRENT_SOURCE_DIR}/source/*.hpp) 14 | file(GLOB SOURCE_FILES ${CMAKE_CURRENT_SOURCE_DIR}/source/*.cpp) 15 | file(GLOB HEADER_FILES ${CMAKE_CURRENT_SOURCE_DIR}/source/*.h) 16 | 17 | add_executable(${PROJECT_NAME} 18 | ${HEADER_FILE_ONLY} 19 | ${SOURCE_FILES} 20 | ${HEADER_FILES} 21 | ) 22 | target_link_libraries(${PROJECT_NAME} PRIVATE 23 | Qt${QT_VERSION_MAJOR}::Widgets 24 | Qt${QT_VERSION_MAJOR}::Core 25 | ) 26 | -------------------------------------------------------------------------------- /sub_examples/example_template/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | cmake_minimum_required(VERSION 3.5) 2 | 3 | get_filename_component(PROJECT_SELECTED_NAME ${CMAKE_CURRENT_SOURCE_DIR} NAME) 4 | string(REPLACE " " "_" PROJECT_SELECTED_NAME ${PROJECT_SELECTED_NAME}) 5 | project(${PROJECT_SELECTED_NAME} LANGUAGES CXX) 6 | 7 | set(CMAKE_CXX_STANDARD 17) 8 | set(CMAKE_CXX_STANDARD_REQUIRED ON) 9 | 10 | 11 | file(GLOB HEADER_ONLY_FILES ${CMAKE_CURRENT_SOURCE_DIR}/source/*.hpp) 12 | file(GLOB SOURCE_FILES ${CMAKE_CURRENT_SOURCE_DIR}/source/*.cpp) 13 | file(GLOB HEADER_FILES ${CMAKE_CURRENT_SOURCE_DIR}/source/*.h) 14 | 15 | add_executable(${PROJECT_NAME} 16 | ${HEADER_FILE_ONLY} 17 | ${SOURCE_FILES} 18 | ${HEADER_FILES} 19 | ) 20 | -------------------------------------------------------------------------------- /sub_examples/example_template/source/main.cpp: -------------------------------------------------------------------------------- 1 | /* 2 | * This program is free software: you can redistribute it and/or modify 3 | * it under the terms of the GNU General Public License as published by 4 | * the Free Software Foundation, either version 3 of the License, or 5 | * (at your option) any later version. 6 | * 7 | * This program is distributed in the hope that it will be useful, 8 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 9 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 10 | * GNU General Public License for more details. 11 | * 12 | * You should have received a copy of the GNU General Public License 13 | * along with this program. If not, see . 14 | * 15 | * @another_ghasem 16 | * g1999ramezani@gmail.com 17 | */ 18 | 19 | #include 20 | int main(int argc, char** argv) { 21 | std::cout << "[" << argc << "] - [" << argv[0] << "]." << std::endl; 22 | return 0; 23 | } 24 | -------------------------------------------------------------------------------- /sub_examples/file_string_to_number/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | cmake_minimum_required(VERSION 3.5) 2 | 3 | get_filename_component(PROJECT_SELECTED_NAME ${CMAKE_CURRENT_SOURCE_DIR} NAME) 4 | string(REPLACE " " "_" PROJECT_SELECTED_NAME ${PROJECT_SELECTED_NAME}) 5 | project(${PROJECT_SELECTED_NAME} LANGUAGES CXX) 6 | 7 | set(CMAKE_CXX_STANDARD 17) 8 | set(CMAKE_CXX_STANDARD_REQUIRED ON) 9 | 10 | 11 | file(GLOB HEADER_ONLY_FILES ${CMAKE_CURRENT_SOURCE_DIR}/source/*.hpp) 12 | file(GLOB SOURCE_FILES ${CMAKE_CURRENT_SOURCE_DIR}/source/*.cpp) 13 | file(GLOB HEADER_FILES ${CMAKE_CURRENT_SOURCE_DIR}/source/*.h) 14 | 15 | add_executable(${PROJECT_NAME} 16 | ${HEADER_FILE_ONLY} 17 | ${SOURCE_FILES} 18 | ${HEADER_FILES} 19 | ) 20 | -------------------------------------------------------------------------------- /sub_examples/find_number_hm/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | cmake_minimum_required(VERSION 3.5) 2 | 3 | get_filename_component(PROJECT_SELECTED_NAME ${CMAKE_CURRENT_SOURCE_DIR} NAME) 4 | string(REPLACE " " "_" PROJECT_SELECTED_NAME ${PROJECT_SELECTED_NAME}) 5 | project(${PROJECT_SELECTED_NAME} LANGUAGES CXX) 6 | 7 | set(CMAKE_CXX_STANDARD 17) 8 | set(CMAKE_CXX_STANDARD_REQUIRED ON) 9 | 10 | file(GLOB HEADER_ONLY_FILES ${CMAKE_CURRENT_SOURCE_DIR}/source/*.hpp) 11 | file(GLOB SOURCE_FILES ${CMAKE_CURRENT_SOURCE_DIR}/source/*.cpp) 12 | file(GLOB HEADER_FILES ${CMAKE_CURRENT_SOURCE_DIR}/source/*.h) 13 | 14 | add_executable(${PROJECT_NAME} 15 | ${HEADER_FILE_ONLY} 16 | ${SOURCE_FILES} 17 | ${HEADER_FILES} 18 | ) 19 | target_link_directories(${PROJECT_NAME} PUBLIC 20 | third-party/gmp-6.2.1/lib 21 | ) 22 | target_link_libraries(${PROJECT_NAME} PUBLIC 23 | # ${CMAKE_CURRENT_SOURCE_DIR}/third-party/gmp-6.2.1/lib/libgmp.so 24 | gmp 25 | ) 26 | target_include_directories(${PROJECT_NAME} PUBLIC 27 | third-party/gmp-6.2.1/include 28 | ) 29 | -------------------------------------------------------------------------------- /sub_examples/find_number_hm/third-party/gmp-6.2.1/lib/libgmp.la: -------------------------------------------------------------------------------- 1 | # libgmp.la - a libtool library file 2 | # Generated by libtool (GNU libtool) 2.4.6 3 | # 4 | # Please DO NOT delete this file! 5 | # It is necessary for linking the library. 6 | 7 | # The name that we can dlopen(3). 8 | dlname='libgmp.so.10' 9 | 10 | # Names of this library. 11 | library_names='libgmp.so.10.4.1 libgmp.so.10 libgmp.so' 12 | 13 | # The name of the static archive. 14 | old_library='libgmp.a' 15 | 16 | # Linker flags that cannot go in dependency_libs. 17 | inherited_linker_flags='' 18 | 19 | # Libraries that this one depends upon. 20 | dependency_libs='' 21 | 22 | # Names of additional weak libraries provided by this library 23 | weak_library_names='' 24 | 25 | # Version information for libgmp. 26 | current=14 27 | age=4 28 | revision=1 29 | 30 | # Is this an already installed library? 31 | installed=yes 32 | 33 | # Should we warn about portability when linking against -modules? 34 | shouldnotlink=no 35 | 36 | # Files to dlopen/dlpreopen 37 | dlopen='' 38 | dlpreopen='' 39 | 40 | # Directory that this library needs to be installed in: 41 | libdir='/home/ghasem/Downloads/gmp-6.2.1/install/lib' 42 | -------------------------------------------------------------------------------- /sub_examples/find_number_hm/third-party/gmp-6.2.1/lib/pkgconfig/gmp.pc: -------------------------------------------------------------------------------- 1 | prefix=/home/ghasem/Downloads/gmp-6.2.1/install 2 | exec_prefix=${prefix} 3 | includedir=${prefix}/include 4 | libdir=${exec_prefix}/lib 5 | 6 | Name: GNU MP 7 | Description: GNU Multiple Precision Arithmetic Library 8 | URL: https://gmplib.org 9 | Version: 6.2.1 10 | Cflags: -I${includedir} 11 | Libs: -L${libdir} -lgmp 12 | -------------------------------------------------------------------------------- /sub_examples/find_number_hm/third-party/gmp-6.2.1/share/info/dir: -------------------------------------------------------------------------------- 1 | This is the file .../info/dir, which contains the 2 | topmost node of the Info hierarchy, called (dir)Top. 3 | The first time you invoke Info you start off looking at this node. 4 |  5 | File: dir, Node: Top This is the top of the INFO tree 6 | 7 | This (the Directory node) gives a menu of major topics. 8 | Typing "q" exits, "H" lists all Info commands, "d" returns here, 9 | "h" gives a primer for first-timers, 10 | "mEmacs" visits the Emacs manual, etc. 11 | 12 | In Emacs, you can click mouse button 2 on a menu item or cross reference 13 | to select it. 14 | 15 | * Menu: 16 | 17 | GNU libraries 18 | * gmp: (gmp). GNU Multiple Precision Arithmetic Library. 19 | -------------------------------------------------------------------------------- /sub_examples/find_number_hm/third-party/gmp-6.2.1/share/info/gmp.info-1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gccore/Examples/9ea92c2e3f79cbde941113436a7294e3dbc4ff75/sub_examples/find_number_hm/third-party/gmp-6.2.1/share/info/gmp.info-1 -------------------------------------------------------------------------------- /sub_examples/find_number_hm/third-party/gmp-6.2.1/share/info/gmp.info-2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gccore/Examples/9ea92c2e3f79cbde941113436a7294e3dbc4ff75/sub_examples/find_number_hm/third-party/gmp-6.2.1/share/info/gmp.info-2 -------------------------------------------------------------------------------- /sub_examples/find_widget_children/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | cmake_minimum_required(VERSION 3.5) 2 | 3 | get_filename_component(PROJECT_SELECTED_NAME ${CMAKE_CURRENT_SOURCE_DIR} NAME) 4 | string(REPLACE " " "_" PROJECT_SELECTED_NAME ${PROJECT_SELECTED_NAME}) 5 | project(${PROJECT_SELECTED_NAME} LANGUAGES CXX) 6 | 7 | set(CMAKE_CXX_STANDARD 17) 8 | set(CMAKE_CXX_STANDARD_REQUIRED ON) 9 | 10 | find_package(QT NAMES Qt6 Qt5 COMPONENTS Widgets Gui Core REQUIRED) 11 | find_package(Qt${QT_VERSION_MAJOR} COMPONENTS Widgets Gui Core REQUIRED) 12 | 13 | file(GLOB HEADER_ONLY_FILES ${CMAKE_CURRENT_SOURCE_DIR}/source/*.hpp) 14 | file(GLOB SOURCE_FILES ${CMAKE_CURRENT_SOURCE_DIR}/source/*.cpp) 15 | file(GLOB HEADER_FILES ${CMAKE_CURRENT_SOURCE_DIR}/source/*.h) 16 | 17 | add_executable(${PROJECT_NAME} 18 | ${HEADER_FILE_ONLY} 19 | ${SOURCE_FILES} 20 | ${HEADER_FILES} 21 | ) 22 | target_link_libraries(${PROJECT_NAME} PRIVATE 23 | Qt${QT_VERSION_MAJOR}::Widgets 24 | Qt${QT_VERSION_MAJOR}::Core 25 | Qt${QT_VERSION_MAJOR}::Gui 26 | ) 27 | -------------------------------------------------------------------------------- /sub_examples/fixed_map/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | cmake_minimum_required(VERSION 3.5) 2 | 3 | get_filename_component(PROJECT_SELECTED_NAME ${CMAKE_CURRENT_SOURCE_DIR} NAME) 4 | string(REPLACE " " "_" PROJECT_SELECTED_NAME ${PROJECT_SELECTED_NAME}) 5 | project(${PROJECT_SELECTED_NAME} LANGUAGES CXX) 6 | 7 | set(CMAKE_CXX_STANDARD 17) 8 | set(CMAKE_CXX_STANDARD_REQUIRED ON) 9 | 10 | 11 | file(GLOB HEADER_ONLY_FILES ${CMAKE_CURRENT_SOURCE_DIR}/source/*.hpp) 12 | file(GLOB SOURCE_FILES ${CMAKE_CURRENT_SOURCE_DIR}/source/*.cpp) 13 | file(GLOB HEADER_FILES ${CMAKE_CURRENT_SOURCE_DIR}/source/*.h) 14 | 15 | add_executable(${PROJECT_NAME} 16 | ${HEADER_FILE_ONLY} 17 | ${SOURCE_FILES} 18 | ${HEADER_FILES} 19 | ) 20 | -------------------------------------------------------------------------------- /sub_examples/game_snake/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | cmake_minimum_required(VERSION 3.5) 2 | 3 | get_filename_component(PROJECT_SELECTED_NAME ${CMAKE_CURRENT_SOURCE_DIR} NAME) 4 | string(REPLACE " " "_" PROJECT_SELECTED_NAME ${PROJECT_SELECTED_NAME}) 5 | project(${PROJECT_SELECTED_NAME} LANGUAGES CXX) 6 | 7 | set(CMAKE_CXX_STANDARD 17) 8 | set(CMAKE_CXX_STANDARD_REQUIRED ON) 9 | 10 | 11 | file(GLOB HEADER_ONLY_FILES ${CMAKE_CURRENT_SOURCE_DIR}/source/*.hpp) 12 | file(GLOB SOURCE_FILES ${CMAKE_CURRENT_SOURCE_DIR}/source/*.cpp) 13 | file(GLOB HEADER_FILES ${CMAKE_CURRENT_SOURCE_DIR}/source/*.h) 14 | 15 | add_executable(${PROJECT_NAME} 16 | ${HEADER_FILE_ONLY} 17 | ${SOURCE_FILES} 18 | ${HEADER_FILES} 19 | ) 20 | -------------------------------------------------------------------------------- /sub_examples/global_qsettings/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | cmake_minimum_required(VERSION 3.5) 2 | 3 | get_filename_component(PROJECT_SELECTED_NAME ${CMAKE_CURRENT_SOURCE_DIR} NAME) 4 | string(REPLACE " " "_" PROJECT_SELECTED_NAME ${PROJECT_SELECTED_NAME}) 5 | project(${PROJECT_SELECTED_NAME} LANGUAGES CXX) 6 | 7 | set(CMAKE_CXX_STANDARD 17) 8 | set(CMAKE_CXX_STANDARD_REQUIRED ON) 9 | 10 | find_package(QT NAMES Qt6 Qt5 COMPONENTS Widgets Core REQUIRED) 11 | find_package(Qt${QT_VERSION_MAJOR} COMPONENTS Widgets Core REQUIRED) 12 | 13 | file(GLOB HEADER_ONLY_FILES ${CMAKE_CURRENT_SOURCE_DIR}/source/*.hpp) 14 | file(GLOB SOURCE_FILES ${CMAKE_CURRENT_SOURCE_DIR}/source/*.cpp) 15 | file(GLOB HEADER_FILES ${CMAKE_CURRENT_SOURCE_DIR}/source/*.h) 16 | 17 | add_executable(${PROJECT_NAME} 18 | ${HEADER_FILE_ONLY} 19 | ${SOURCE_FILES} 20 | ${HEADER_FILES} 21 | ) 22 | target_link_libraries(${PROJECT_NAME} PRIVATE 23 | Qt${QT_VERSION_MAJOR}::Widgets 24 | Qt${QT_VERSION_MAJOR}::Core 25 | ) 26 | -------------------------------------------------------------------------------- /sub_examples/iran_meli_card_id_generator/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | cmake_minimum_required(VERSION 3.5) 2 | 3 | get_filename_component(PROJECT_SELECTED_NAME ${CMAKE_CURRENT_SOURCE_DIR} NAME) 4 | string(REPLACE " " "_" PROJECT_SELECTED_NAME ${PROJECT_SELECTED_NAME}) 5 | project(${PROJECT_SELECTED_NAME} LANGUAGES CXX) 6 | 7 | set(CMAKE_CXX_STANDARD 17) 8 | set(CMAKE_CXX_STANDARD_REQUIRED ON) 9 | 10 | file(GLOB HEADER_ONLY_FILES ${CMAKE_CURRENT_SOURCE_DIR}/source/*.hpp) 11 | file(GLOB SOURCE_FILES ${CMAKE_CURRENT_SOURCE_DIR}/source/*.cpp) 12 | file(GLOB HEADER_FILES ${CMAKE_CURRENT_SOURCE_DIR}/source/*.h) 13 | 14 | add_executable(${PROJECT_NAME} 15 | ${HEADER_FILE_ONLY} 16 | ${SOURCE_FILES} 17 | ${HEADER_FILES} 18 | ) 19 | -------------------------------------------------------------------------------- /sub_examples/jcal_qt/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | cmake_minimum_required(VERSION 3.5) 2 | 3 | get_filename_component(PROJECT_SELECTED_NAME ${CMAKE_CURRENT_SOURCE_DIR} NAME) 4 | string(REPLACE " " "_" PROJECT_SELECTED_NAME ${PROJECT_SELECTED_NAME}) 5 | project(${PROJECT_SELECTED_NAME} LANGUAGES CXX) 6 | 7 | set(CMAKE_CXX_STANDARD 17) 8 | set(CMAKE_CXX_STANDARD_REQUIRED ON) 9 | 10 | find_package(QT NAMES Qt6 Qt5 COMPONENTS Widgets Core REQUIRED) 11 | find_package(Qt${QT_VERSION_MAJOR} COMPONENTS Widgets Core REQUIRED) 12 | 13 | file(GLOB HEADER_ONLY_FILES ${CMAKE_CURRENT_SOURCE_DIR}/source/*.hpp) 14 | file(GLOB SOURCE_FILES ${CMAKE_CURRENT_SOURCE_DIR}/source/*.cpp) 15 | file(GLOB HEADER_FILES ${CMAKE_CURRENT_SOURCE_DIR}/source/*.h) 16 | 17 | add_executable(${PROJECT_NAME} 18 | ${HEADER_FILE_ONLY} 19 | ${SOURCE_FILES} 20 | ${HEADER_FILES} 21 | ) 22 | target_link_libraries(${PROJECT_NAME} PRIVATE 23 | Qt${QT_VERSION_MAJOR}::Widgets 24 | Qt${QT_VERSION_MAJOR}::Core 25 | ) 26 | -------------------------------------------------------------------------------- /sub_examples/json_static_example/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | cmake_minimum_required(VERSION 3.5) 2 | 3 | get_filename_component(PROJECT_SELECTED_NAME ${CMAKE_CURRENT_SOURCE_DIR} NAME) 4 | string(REPLACE " " "_" PROJECT_SELECTED_NAME ${PROJECT_SELECTED_NAME}) 5 | project(${PROJECT_SELECTED_NAME} LANGUAGES CXX) 6 | 7 | file(GLOB HEADER_ONLY_FILES ${CMAKE_CURRENT_SOURCE_DIR}/source/*.hpp) 8 | file(GLOB SOURCE_FILES ${CMAKE_CURRENT_SOURCE_DIR}/source/*.cpp) 9 | file(GLOB HEADER_FILES ${CMAKE_CURRENT_SOURCE_DIR}/source/*.h) 10 | 11 | add_executable(${PROJECT_NAME} 12 | ${HEADER_ONLY_FILES} 13 | ${SOURCE_FILES} 14 | ${HEADER_FILES} 15 | ) 16 | -------------------------------------------------------------------------------- /sub_examples/loop_with_signal_slot/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | cmake_minimum_required(VERSION 3.5) 2 | 3 | get_filename_component(PROJECT_SELECTED_NAME ${CMAKE_CURRENT_SOURCE_DIR} NAME) 4 | string(REPLACE " " "_" PROJECT_SELECTED_NAME ${PROJECT_SELECTED_NAME}) 5 | project(${PROJECT_SELECTED_NAME} LANGUAGES CXX) 6 | 7 | set(CMAKE_AUTOUIC ON) 8 | set(CMAKE_AUTOMOC ON) 9 | set(CMAKE_AUTORCC ON) 10 | 11 | set(CMAKE_CXX_STANDARD 17) 12 | set(CMAKE_CXX_STANDARD_REQUIRED ON) 13 | 14 | find_package(QT NAMES Qt6 Qt5 COMPONENTS Widgets Core REQUIRED) 15 | find_package(Qt${QT_VERSION_MAJOR} COMPONENTS Widgets Core REQUIRED) 16 | 17 | file(GLOB HEADER_ONLY_FILES ${CMAKE_CURRENT_SOURCE_DIR}/source/*.hpp) 18 | file(GLOB SOURCE_FILES ${CMAKE_CURRENT_SOURCE_DIR}/source/*.cpp) 19 | file(GLOB HEADER_FILES ${CMAKE_CURRENT_SOURCE_DIR}/source/*.h) 20 | file(GLOB RESOURCE_FILES ${CMAKE_CURRENT_SOURCE_DIR}/source/*.qrc) 21 | 22 | add_executable(${PROJECT_NAME} 23 | ${HEADER_FILE_ONLY} 24 | ${RESOURCE_FILES} 25 | ${SOURCE_FILES} 26 | ${HEADER_FILES} 27 | ) 28 | target_link_libraries(${PROJECT_NAME} PRIVATE 29 | Qt${QT_MAJOR_VERSION}::Core 30 | Qt${QT_MAJOR_VERSION}::Widgets 31 | ) 32 | -------------------------------------------------------------------------------- /sub_examples/move_qbutton/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | cmake_minimum_required(VERSION 3.5) 2 | 3 | get_filename_component(PROJECT_SELECTED_NAME ${CMAKE_CURRENT_SOURCE_DIR} NAME) 4 | string(REPLACE " " "_" PROJECT_SELECTED_NAME ${PROJECT_SELECTED_NAME}) 5 | project(${PROJECT_SELECTED_NAME} LANGUAGES CXX) 6 | 7 | set(CMAKE_CXX_STANDARD 17) 8 | set(CMAKE_CXX_STANDARD_REQUIRED ON) 9 | 10 | find_package(QT NAMES Qt6 Qt5 COMPONENTS Widgets Core REQUIRED) 11 | find_package(Qt${QT_VERSION_MAJOR} COMPONENTS Widgets Core REQUIRED) 12 | 13 | file(GLOB HEADER_ONLY_FILES ${CMAKE_CURRENT_SOURCE_DIR}/source/*.hpp) 14 | file(GLOB SOURCE_FILES ${CMAKE_CURRENT_SOURCE_DIR}/source/*.cpp) 15 | file(GLOB HEADER_FILES ${CMAKE_CURRENT_SOURCE_DIR}/source/*.h) 16 | 17 | add_executable(${PROJECT_NAME} 18 | ${HEADER_FILE_ONLY} 19 | ${SOURCE_FILES} 20 | ${HEADER_FILES} 21 | ) 22 | target_link_libraries(${PROJECT_NAME} PRIVATE 23 | Qt${QT_VERSION_MAJOR}::Widgets 24 | Qt${QT_VERSION_MAJOR}::Core 25 | ) 26 | -------------------------------------------------------------------------------- /sub_examples/network_test/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | cmake_minimum_required(VERSION 3.5) 2 | 3 | get_filename_component(PROJECT_SELECTED_NAME ${CMAKE_CURRENT_SOURCE_DIR} NAME) 4 | string(REPLACE " " "_" PROJECT_SELECTED_NAME ${PROJECT_SELECTED_NAME}) 5 | project(${PROJECT_SELECTED_NAME} LANGUAGES CXX) 6 | 7 | 8 | file(GLOB SUB_EXAMPLES sub_examples/*) 9 | foreach(example ${SUB_EXAMPLES}) 10 | get_filename_component(EXAMPLE_SELECTED_NAME ${example} NAME) 11 | option(example_${EXAMPLE_SELECTED_NAME} "example_${EXAMPLE_SELECTED_NAME}" off) 12 | 13 | if (example_${EXAMPLE_SELECTED_NAME}) 14 | add_subdirectory(${example}) 15 | endif(example_${EXAMPLE_SELECTED_NAME}) 16 | endforeach() 17 | -------------------------------------------------------------------------------- /sub_examples/network_test/sub_examples/boost_asio_chapter01/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | cmake_minimum_required(VERSION 3.5) 2 | 3 | get_filename_component(PROJECT_SELECTED_NAME ${CMAKE_CURRENT_SOURCE_DIR} NAME) 4 | string(REPLACE " " "_" PROJECT_SELECTED_NAME ${PROJECT_SELECTED_NAME}) 5 | project(${PROJECT_SELECTED_NAME} LANGUAGES CXX) 6 | 7 | file(GLOB HEADER_ONLY_FILES ${CMAKE_CURRENT_SOURCE_DIR}/source/*.hpp) 8 | file(GLOB SOURCE_FILES ${CMAKE_CURRENT_SOURCE_DIR}/source/*.cpp) 9 | file(GLOB HEADER_FILES ${CMAKE_CURRENT_SOURCE_DIR}/source/*.h) 10 | 11 | find_package(Boost COMPONENTS system REQUIRED) 12 | 13 | add_executable(${PROJECT_NAME} 14 | ${HEADER_ONLY_FILES} 15 | ${SOURCE_FILES} 16 | ${HEADER_FILES} 17 | ) 18 | target_link_libraries(${PROJECT_NAME} PRIVATE 19 | Boost::system 20 | pthread 21 | ) 22 | -------------------------------------------------------------------------------- /sub_examples/network_test/sub_examples/bundle_test_macchina/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | cmake_minimum_required(VERSION 3.5) 2 | 3 | get_filename_component(PROJECT_SELECTED_NAME ${CMAKE_CURRENT_SOURCE_DIR} NAME) 4 | string(REPLACE " " "_" PROJECT_SELECTED_NAME ${PROJECT_SELECTED_NAME}) 5 | project(${PROJECT_SELECTED_NAME} LANGUAGES CXX) 6 | 7 | set(POCO_MODULE "/home/ghasem/Documents/src/poco/ghasem/install/lib/cmake/Poco") 8 | set(CMAKE_PREFIX_PATH "${CMAKE_PREFIX_PATH} ${POCO_MODULE}") 9 | 10 | file(GLOB HEADER_ONLY_FILES source/*.hpp) 11 | file(GLOB SOURCE_FILES source/*.cpp) 12 | file(GLOB HEADER_FILES source/*.h) 13 | file(GLOB BUNDLE_FILES bundle/*.xml) 14 | 15 | add_library(${PROJECT_NAME} SHARED 16 | ${HEADER_ONLY_FILES} 17 | ${SOURCE_FILES} 18 | ${HEADER_FILES} 19 | ${BUNDLE_FILES} 20 | ) 21 | target_include_directories(${PROJECT_NAME} PRIVATE 22 | /home/ghasem/Documents/src/poco/ghasem/install/include 23 | /home/ghasem/Documents/src/macchina.io/ghasem/install/include 24 | ) 25 | target_link_directories(${PROJECT_NAME} PRIVATE 26 | /home/ghasem/Documents/src/poco/ghasem/install/lib 27 | /home/ghasem/Documents/src/macchina.io/ghasem/install/lib 28 | ) 29 | target_link_libraries(${PROJECT_NAME} PRIVATE 30 | PocoOSP PocoZip PocoUtil PocoXML PocoJSON PocoFoundation 31 | ) 32 | -------------------------------------------------------------------------------- /sub_examples/network_test/sub_examples/bundle_test_macchina/bundle/hello_bundle.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | Ghasem Bundle Test 4 | gc.core.ghasem.test_bundle 5 | 0.0.1 6 | gccore-ag 7 | gccore-ag 2021 8 | 9 | macchina_test::bundle_test 10 | gc.core.ghasem.test_bundle 11 | 12 | 13 | 14 | bin/${osName}/${osArch}/*.so, 15 | bin/${osName}/${osArch}/*.dylib, 16 | 17 | 18 | -------------------------------------------------------------------------------- /sub_examples/network_test/sub_examples/bundle_test_macchina/scripts/setup_env: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | export LD_LIBRARY_PATH=/home/ghasem/Documents/src/macchina.io/ghasem/install/lib 3 | export PATH=$PATH:/home/ghasem/Documents/src/macchina.io/ghasem/install/bin 4 | -------------------------------------------------------------------------------- /sub_examples/network_test/sub_examples/network_getting_started/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | cmake_minimum_required(VERSION 3.5) 2 | 3 | get_filename_component(PROJECT_SELECTED_NAME ${CMAKE_CURRENT_SOURCE_DIR} NAME) 4 | string(REPLACE " " "_" PROJECT_SELECTED_NAME ${PROJECT_SELECTED_NAME}) 5 | project(${PROJECT_SELECTED_NAME} LANGUAGES CXX) 6 | 7 | file(GLOB HEADER_ONLY_FILES ${CMAKE_CURRENT_SOURCE_DIR}/source/*.hpp) 8 | file(GLOB SOURCE_FILES ${CMAKE_CURRENT_SOURCE_DIR}/source/*.cpp) 9 | file(GLOB HEADER_FILES ${CMAKE_CURRENT_SOURCE_DIR}/source/*.h) 10 | 11 | add_executable(${PROJECT_NAME} 12 | ${HEADER_ONLY_FILES} 13 | ${SOURCE_FILES} 14 | ${HEADER_FILES} 15 | ) 16 | target_link_libraries(${PROJECT_NAME} PRIVATE 17 | pthread 18 | ) 19 | -------------------------------------------------------------------------------- /sub_examples/network_test/sub_examples/network_getting_started/source/constant.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | extern "C" { 4 | #include 5 | } 6 | 7 | namespace core::constant { 8 | namespace socket { 9 | auto constexpr protocol = 0; 10 | auto constexpr domain = AF_INET; 11 | auto constexpr type = SOCK_STREAM; 12 | auto constexpr error = -1; 13 | auto constexpr bind_success = 0; 14 | auto constexpr empty = 0; 15 | } // namespace socket 16 | 17 | namespace network { 18 | auto constexpr loopback = "127.0.0.1"; 19 | } // namespace network 20 | 21 | namespace string { 22 | auto constexpr nul = '\0'; 23 | } // namespace string 24 | } // namespace core::constant 25 | -------------------------------------------------------------------------------- /sub_examples/network_test/sub_examples/network_getting_started/source/exception.hpp: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include 4 | #include 5 | 6 | namespace core { 7 | struct exception final: std::exception { 8 | std::string message; 9 | exception(std::string const& message_) 10 | : message(message_) { 11 | } 12 | const char* what() const noexcept override { 13 | return message.c_str(); 14 | } 15 | }; 16 | } // namespace core 17 | -------------------------------------------------------------------------------- /sub_examples/network_test/sub_examples/network_getting_started/source/global.hpp: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include 4 | #include 5 | 6 | #include "constant.h" 7 | 8 | namespace core::config { 9 | std::uint16_t port = 64'000; 10 | std::string ip = constant::network::loopback; 11 | int backlog; 12 | } // namespace core::config 13 | -------------------------------------------------------------------------------- /sub_examples/network_test/sub_examples/network_getting_started/source/main.cpp: -------------------------------------------------------------------------------- 1 | /* 2 | * This program is free software: you can redistribute it and/or modify 3 | * it under the terms of the GNU General Public License as published by 4 | * the Free Software Foundation, either version 3 of the License, or 5 | * (at your option) any later version. 6 | * 7 | * This program is distributed in the hope that it will be useful, 8 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 9 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 10 | * GNU General Public License for more details. 11 | * 12 | * You should have received a copy of the GNU General Public License 13 | * along with this program. If not, see . 14 | * 15 | * @another_ghasem 16 | * g1999ramezani@gmail.com 17 | */ 18 | 19 | #include 20 | 21 | #include "chapter01.hpp" 22 | #include "chapter02.hpp" 23 | 24 | int main() { 25 | // chapter_01::run(); 26 | chapter_02::run(); 27 | } 28 | -------------------------------------------------------------------------------- /sub_examples/network_test/sub_examples/network_template/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | cmake_minimum_required(VERSION 3.5) 2 | 3 | get_filename_component(PROJECT_SELECTED_NAME ${CMAKE_CURRENT_SOURCE_DIR} NAME) 4 | string(REPLACE " " "_" PROJECT_SELECTED_NAME ${PROJECT_SELECTED_NAME}) 5 | project(${PROJECT_SELECTED_NAME} LANGUAGES CXX) 6 | 7 | file(GLOB HEADER_ONLY_FILES ${CMAKE_CURRENT_SOURCE_DIR}/source/*.hpp) 8 | file(GLOB SOURCE_FILES ${CMAKE_CURRENT_SOURCE_DIR}/source/*.cpp) 9 | file(GLOB HEADER_FILES ${CMAKE_CURRENT_SOURCE_DIR}/source/*.h) 10 | 11 | add_executable(${PROJECT_NAME} 12 | ${HEADER_ONLY_FILES} 13 | ${SOURCE_FILES} 14 | ${HEADER_FILES} 15 | ) 16 | -------------------------------------------------------------------------------- /sub_examples/network_test/sub_examples/network_template/source/main.cpp: -------------------------------------------------------------------------------- 1 | /* 2 | * This program is free software: you can redistribute it and/or modify 3 | * it under the terms of the GNU General Public License as published by 4 | * the Free Software Foundation, either version 3 of the License, or 5 | * (at your option) any later version. 6 | * 7 | * This program is distributed in the hope that it will be useful, 8 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 9 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 10 | * GNU General Public License for more details. 11 | * 12 | * You should have received a copy of the GNU General Public License 13 | * along with this program. If not, see . 14 | * 15 | * @another_ghasem 16 | * g1999ramezani@gmail.com 17 | */ 18 | 19 | #include 20 | 21 | extern "C" { 22 | #include 23 | #include 24 | } 25 | 26 | int main() { 27 | } 28 | -------------------------------------------------------------------------------- /sub_examples/nuklear_test/extra_font/Cousine-Regular.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gccore/Examples/9ea92c2e3f79cbde941113436a7294e3dbc4ff75/sub_examples/nuklear_test/extra_font/Cousine-Regular.ttf -------------------------------------------------------------------------------- /sub_examples/nuklear_test/extra_font/DroidSans.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gccore/Examples/9ea92c2e3f79cbde941113436a7294e3dbc4ff75/sub_examples/nuklear_test/extra_font/DroidSans.ttf -------------------------------------------------------------------------------- /sub_examples/nuklear_test/extra_font/Karla-Regular.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gccore/Examples/9ea92c2e3f79cbde941113436a7294e3dbc4ff75/sub_examples/nuklear_test/extra_font/Karla-Regular.ttf -------------------------------------------------------------------------------- /sub_examples/nuklear_test/extra_font/ProggyClean.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gccore/Examples/9ea92c2e3f79cbde941113436a7294e3dbc4ff75/sub_examples/nuklear_test/extra_font/ProggyClean.ttf -------------------------------------------------------------------------------- /sub_examples/nuklear_test/extra_font/ProggyTiny.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gccore/Examples/9ea92c2e3f79cbde941113436a7294e3dbc4ff75/sub_examples/nuklear_test/extra_font/ProggyTiny.ttf -------------------------------------------------------------------------------- /sub_examples/nuklear_test/extra_font/Raleway-Bold.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gccore/Examples/9ea92c2e3f79cbde941113436a7294e3dbc4ff75/sub_examples/nuklear_test/extra_font/Raleway-Bold.ttf -------------------------------------------------------------------------------- /sub_examples/nuklear_test/extra_font/Roboto-Bold.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gccore/Examples/9ea92c2e3f79cbde941113436a7294e3dbc4ff75/sub_examples/nuklear_test/extra_font/Roboto-Bold.ttf -------------------------------------------------------------------------------- /sub_examples/nuklear_test/extra_font/Roboto-Light.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gccore/Examples/9ea92c2e3f79cbde941113436a7294e3dbc4ff75/sub_examples/nuklear_test/extra_font/Roboto-Light.ttf -------------------------------------------------------------------------------- /sub_examples/nuklear_test/extra_font/Roboto-Regular.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gccore/Examples/9ea92c2e3f79cbde941113436a7294e3dbc4ff75/sub_examples/nuklear_test/extra_font/Roboto-Regular.ttf -------------------------------------------------------------------------------- /sub_examples/nuklear_test/extra_font/kenvector_future.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gccore/Examples/9ea92c2e3f79cbde941113436a7294e3dbc4ff75/sub_examples/nuklear_test/extra_font/kenvector_future.ttf -------------------------------------------------------------------------------- /sub_examples/nuklear_test/extra_font/kenvector_future_thin.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gccore/Examples/9ea92c2e3f79cbde941113436a7294e3dbc4ff75/sub_examples/nuklear_test/extra_font/kenvector_future_thin.ttf -------------------------------------------------------------------------------- /sub_examples/nuklear_test/icon/checked.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gccore/Examples/9ea92c2e3f79cbde941113436a7294e3dbc4ff75/sub_examples/nuklear_test/icon/checked.png -------------------------------------------------------------------------------- /sub_examples/nuklear_test/icon/cloud.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gccore/Examples/9ea92c2e3f79cbde941113436a7294e3dbc4ff75/sub_examples/nuklear_test/icon/cloud.png -------------------------------------------------------------------------------- /sub_examples/nuklear_test/icon/computer.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gccore/Examples/9ea92c2e3f79cbde941113436a7294e3dbc4ff75/sub_examples/nuklear_test/icon/computer.png -------------------------------------------------------------------------------- /sub_examples/nuklear_test/icon/copy.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gccore/Examples/9ea92c2e3f79cbde941113436a7294e3dbc4ff75/sub_examples/nuklear_test/icon/copy.png -------------------------------------------------------------------------------- /sub_examples/nuklear_test/icon/default.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gccore/Examples/9ea92c2e3f79cbde941113436a7294e3dbc4ff75/sub_examples/nuklear_test/icon/default.png -------------------------------------------------------------------------------- /sub_examples/nuklear_test/icon/delete.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gccore/Examples/9ea92c2e3f79cbde941113436a7294e3dbc4ff75/sub_examples/nuklear_test/icon/delete.png -------------------------------------------------------------------------------- /sub_examples/nuklear_test/icon/desktop.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gccore/Examples/9ea92c2e3f79cbde941113436a7294e3dbc4ff75/sub_examples/nuklear_test/icon/desktop.png -------------------------------------------------------------------------------- /sub_examples/nuklear_test/icon/directory.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gccore/Examples/9ea92c2e3f79cbde941113436a7294e3dbc4ff75/sub_examples/nuklear_test/icon/directory.png -------------------------------------------------------------------------------- /sub_examples/nuklear_test/icon/edit.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gccore/Examples/9ea92c2e3f79cbde941113436a7294e3dbc4ff75/sub_examples/nuklear_test/icon/edit.png -------------------------------------------------------------------------------- /sub_examples/nuklear_test/icon/export.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gccore/Examples/9ea92c2e3f79cbde941113436a7294e3dbc4ff75/sub_examples/nuklear_test/icon/export.png -------------------------------------------------------------------------------- /sub_examples/nuklear_test/icon/font.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gccore/Examples/9ea92c2e3f79cbde941113436a7294e3dbc4ff75/sub_examples/nuklear_test/icon/font.png -------------------------------------------------------------------------------- /sub_examples/nuklear_test/icon/home.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gccore/Examples/9ea92c2e3f79cbde941113436a7294e3dbc4ff75/sub_examples/nuklear_test/icon/home.png -------------------------------------------------------------------------------- /sub_examples/nuklear_test/icon/img.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gccore/Examples/9ea92c2e3f79cbde941113436a7294e3dbc4ff75/sub_examples/nuklear_test/icon/img.png -------------------------------------------------------------------------------- /sub_examples/nuklear_test/icon/movie.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gccore/Examples/9ea92c2e3f79cbde941113436a7294e3dbc4ff75/sub_examples/nuklear_test/icon/movie.png -------------------------------------------------------------------------------- /sub_examples/nuklear_test/icon/music.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gccore/Examples/9ea92c2e3f79cbde941113436a7294e3dbc4ff75/sub_examples/nuklear_test/icon/music.png -------------------------------------------------------------------------------- /sub_examples/nuklear_test/icon/next.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gccore/Examples/9ea92c2e3f79cbde941113436a7294e3dbc4ff75/sub_examples/nuklear_test/icon/next.png -------------------------------------------------------------------------------- /sub_examples/nuklear_test/icon/pause.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gccore/Examples/9ea92c2e3f79cbde941113436a7294e3dbc4ff75/sub_examples/nuklear_test/icon/pause.png -------------------------------------------------------------------------------- /sub_examples/nuklear_test/icon/pen.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gccore/Examples/9ea92c2e3f79cbde941113436a7294e3dbc4ff75/sub_examples/nuklear_test/icon/pen.png -------------------------------------------------------------------------------- /sub_examples/nuklear_test/icon/phone.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gccore/Examples/9ea92c2e3f79cbde941113436a7294e3dbc4ff75/sub_examples/nuklear_test/icon/phone.png -------------------------------------------------------------------------------- /sub_examples/nuklear_test/icon/plane.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gccore/Examples/9ea92c2e3f79cbde941113436a7294e3dbc4ff75/sub_examples/nuklear_test/icon/plane.png -------------------------------------------------------------------------------- /sub_examples/nuklear_test/icon/play.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gccore/Examples/9ea92c2e3f79cbde941113436a7294e3dbc4ff75/sub_examples/nuklear_test/icon/play.png -------------------------------------------------------------------------------- /sub_examples/nuklear_test/icon/prev.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gccore/Examples/9ea92c2e3f79cbde941113436a7294e3dbc4ff75/sub_examples/nuklear_test/icon/prev.png -------------------------------------------------------------------------------- /sub_examples/nuklear_test/icon/rocket.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gccore/Examples/9ea92c2e3f79cbde941113436a7294e3dbc4ff75/sub_examples/nuklear_test/icon/rocket.png -------------------------------------------------------------------------------- /sub_examples/nuklear_test/icon/settings.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gccore/Examples/9ea92c2e3f79cbde941113436a7294e3dbc4ff75/sub_examples/nuklear_test/icon/settings.png -------------------------------------------------------------------------------- /sub_examples/nuklear_test/icon/stop.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gccore/Examples/9ea92c2e3f79cbde941113436a7294e3dbc4ff75/sub_examples/nuklear_test/icon/stop.png -------------------------------------------------------------------------------- /sub_examples/nuklear_test/icon/text.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gccore/Examples/9ea92c2e3f79cbde941113436a7294e3dbc4ff75/sub_examples/nuklear_test/icon/text.png -------------------------------------------------------------------------------- /sub_examples/nuklear_test/icon/tools.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gccore/Examples/9ea92c2e3f79cbde941113436a7294e3dbc4ff75/sub_examples/nuklear_test/icon/tools.png -------------------------------------------------------------------------------- /sub_examples/nuklear_test/icon/unchecked.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gccore/Examples/9ea92c2e3f79cbde941113436a7294e3dbc4ff75/sub_examples/nuklear_test/icon/unchecked.png -------------------------------------------------------------------------------- /sub_examples/nuklear_test/icon/volume.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gccore/Examples/9ea92c2e3f79cbde941113436a7294e3dbc4ff75/sub_examples/nuklear_test/icon/volume.png -------------------------------------------------------------------------------- /sub_examples/nuklear_test/icon/wifi.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gccore/Examples/9ea92c2e3f79cbde941113436a7294e3dbc4ff75/sub_examples/nuklear_test/icon/wifi.png -------------------------------------------------------------------------------- /sub_examples/nuklear_test/images/image1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gccore/Examples/9ea92c2e3f79cbde941113436a7294e3dbc4ff75/sub_examples/nuklear_test/images/image1.png -------------------------------------------------------------------------------- /sub_examples/nuklear_test/images/image2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gccore/Examples/9ea92c2e3f79cbde941113436a7294e3dbc4ff75/sub_examples/nuklear_test/images/image2.png -------------------------------------------------------------------------------- /sub_examples/nuklear_test/images/image3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gccore/Examples/9ea92c2e3f79cbde941113436a7294e3dbc4ff75/sub_examples/nuklear_test/images/image3.png -------------------------------------------------------------------------------- /sub_examples/nuklear_test/images/image4.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gccore/Examples/9ea92c2e3f79cbde941113436a7294e3dbc4ff75/sub_examples/nuklear_test/images/image4.png -------------------------------------------------------------------------------- /sub_examples/nuklear_test/images/image5.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gccore/Examples/9ea92c2e3f79cbde941113436a7294e3dbc4ff75/sub_examples/nuklear_test/images/image5.png -------------------------------------------------------------------------------- /sub_examples/nuklear_test/images/image6.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gccore/Examples/9ea92c2e3f79cbde941113436a7294e3dbc4ff75/sub_examples/nuklear_test/images/image6.png -------------------------------------------------------------------------------- /sub_examples/nuklear_test/images/image7.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gccore/Examples/9ea92c2e3f79cbde941113436a7294e3dbc4ff75/sub_examples/nuklear_test/images/image7.png -------------------------------------------------------------------------------- /sub_examples/nuklear_test/images/image8.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gccore/Examples/9ea92c2e3f79cbde941113436a7294e3dbc4ff75/sub_examples/nuklear_test/images/image8.png -------------------------------------------------------------------------------- /sub_examples/nuklear_test/images/image9.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gccore/Examples/9ea92c2e3f79cbde941113436a7294e3dbc4ff75/sub_examples/nuklear_test/images/image9.png -------------------------------------------------------------------------------- /sub_examples/nuklear_test/skins/gwen.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gccore/Examples/9ea92c2e3f79cbde941113436a7294e3dbc4ff75/sub_examples/nuklear_test/skins/gwen.png -------------------------------------------------------------------------------- /sub_examples/nuklear_test/stbi/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | cmake_minimum_required(VERSION 3.5) 2 | 3 | project(stbi_library LANGUAGES CXX) 4 | 5 | set(CMAKE_CXX_STANDARD 17) 6 | set(CMAKE_CXX_STANDARD_REQUIRED ON) 7 | 8 | add_library(${PROJECT_NAME} INTERFACE) 9 | add_library(core::stbi::library ALIAS ${PROJECT_NAME}) 10 | target_include_directories(${PROJECT_NAME} INTERFACE 11 | $ 12 | ) 13 | 14 | -------------------------------------------------------------------------------- /sub_examples/persian_to_english_number/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | cmake_minimum_required(VERSION 3.5) 2 | 3 | get_filename_component(PROJECT_SELECTED_NAME ${CMAKE_CURRENT_SOURCE_DIR} NAME) 4 | string(REPLACE " " "_" PROJECT_SELECTED_NAME ${PROJECT_SELECTED_NAME}) 5 | project(${PROJECT_SELECTED_NAME} LANGUAGES CXX) 6 | 7 | set(CMAKE_CXX_STANDARD 17) 8 | set(CMAKE_CXX_STANDARD_REQUIRED ON) 9 | 10 | find_package(QT NAMES Qt6 Qt5 COMPONENTS Widgets Core REQUIRED) 11 | find_package(Qt${QT_VERSION_MAJOR} COMPONENTS Widgets Core REQUIRED) 12 | 13 | file(GLOB HEADER_ONLY_FILES ${CMAKE_CURRENT_SOURCE_DIR}/source/*.hpp) 14 | file(GLOB SOURCE_FILES ${CMAKE_CURRENT_SOURCE_DIR}/source/*.cpp) 15 | file(GLOB HEADER_FILES ${CMAKE_CURRENT_SOURCE_DIR}/source/*.h) 16 | 17 | add_executable(${PROJECT_NAME} 18 | ${HEADER_FILE_ONLY} 19 | ${SOURCE_FILES} 20 | ${HEADER_FILES} 21 | ) 22 | target_link_libraries(${PROJECT_NAME} PRIVATE 23 | Qt${QT_VERSION_MAJOR}::Widgets 24 | Qt${QT_VERSION_MAJOR}::Core 25 | ) 26 | -------------------------------------------------------------------------------- /sub_examples/postfix_qvalidator/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | cmake_minimum_required(VERSION 3.5) 2 | 3 | get_filename_component(PROJECT_SELECTED_NAME ${CMAKE_CURRENT_SOURCE_DIR} NAME) 4 | string(REPLACE " " "_" PROJECT_SELECTED_NAME ${PROJECT_SELECTED_NAME}) 5 | project(${PROJECT_SELECTED_NAME} LANGUAGES CXX) 6 | 7 | set(CMAKE_CXX_STANDARD 17) 8 | set(CMAKE_CXX_STANDARD_REQUIRED ON) 9 | 10 | find_package(QT NAMES Qt6 Qt5 COMPONENTS Widgets Gui Core REQUIRED) 11 | find_package(Qt${QT_VERSION_MAJOR} COMPONENTS Widgets Gui Core REQUIRED) 12 | 13 | file(GLOB HEADER_ONLY_FILES ${CMAKE_CURRENT_SOURCE_DIR}/source/*.hpp) 14 | file(GLOB SOURCE_FILES ${CMAKE_CURRENT_SOURCE_DIR}/source/*.cpp) 15 | file(GLOB HEADER_FILES ${CMAKE_CURRENT_SOURCE_DIR}/source/*.h) 16 | 17 | add_executable(${PROJECT_NAME} 18 | ${HEADER_FILE_ONLY} 19 | ${SOURCE_FILES} 20 | ${HEADER_FILES} 21 | ) 22 | target_link_libraries(${PROJECT_NAME} PRIVATE 23 | Qt${QT_VERSION_MAJOR}::Widgets 24 | Qt${QT_VERSION_MAJOR}::Core 25 | Qt${QT_VERSION_MAJOR}::Gui 26 | ) 27 | -------------------------------------------------------------------------------- /sub_examples/qcustomplot_in_qml/source/QCustomPlotItem.h: -------------------------------------------------------------------------------- 1 | #ifndef QCUSTOMPLOTITEM_H 2 | #define QCUSTOMPLOTITEM_H 3 | 4 | #include 5 | #include 6 | 7 | class QCustomPlot; 8 | class QCPAbstractPlottable; 9 | 10 | class CustomPlotItem : public QQuickPaintedItem 11 | { 12 | Q_OBJECT 13 | 14 | public: 15 | CustomPlotItem(QQuickItem* parent = 0); 16 | virtual ~CustomPlotItem(); 17 | 18 | void paint(QPainter* painter); 19 | 20 | Q_INVOKABLE void initCustomPlot(); 21 | 22 | protected: 23 | void routeMouseEvents(QMouseEvent* event); 24 | 25 | virtual void mousePressEvent(QMouseEvent* event); 26 | virtual void mouseReleaseEvent(QMouseEvent* event); 27 | virtual void mouseMoveEvent(QMouseEvent* event); 28 | virtual void mouseDoubleClickEvent(QMouseEvent* event); 29 | 30 | void setupQuadraticDemo(QCustomPlot* customPlot); 31 | 32 | void realtime_data_slot(QCustomPlot* customPlot); 33 | 34 | private: 35 | QCustomPlot* m_CustomPlot; 36 | QTimer m_generator; 37 | 38 | private slots: 39 | void graphClicked(QCPAbstractPlottable* plottable); 40 | void onCustomReplot(); 41 | void updateCustomPlotSize(); 42 | }; 43 | 44 | #endif // QCUSTOMPLOTITEM_H 45 | -------------------------------------------------------------------------------- /sub_examples/qcustomplot_in_qml/source/data_source.cpp: -------------------------------------------------------------------------------- 1 | #include "data_source.h" 2 | 3 | data_source::data_source(QObject* parent) 4 | : QObject(parent) 5 | { 6 | } 7 | -------------------------------------------------------------------------------- /sub_examples/qcustomplot_in_qml/source/data_source.h: -------------------------------------------------------------------------------- 1 | #ifndef QCHART_SIMPLE_DATA_SOURCE_H 2 | #define QCHART_SIMPLE_DATA_SOURCE_H 3 | 4 | #include 5 | 6 | class data_source : public QObject 7 | { 8 | Q_OBJECT 9 | public: 10 | explicit data_source(QObject* parent = nullptr); 11 | }; 12 | 13 | #endif // QCHART_SIMPLE_DATA_SOURCE_H 14 | -------------------------------------------------------------------------------- /sub_examples/qcustomplot_in_qml/source/main.cpp: -------------------------------------------------------------------------------- 1 | /* 2 | * This program is free software: you can redistribute it and/or modify 3 | * it under the terms of the GNU General Public License as published by 4 | * the Free Software Foundation, either version 3 of the License, or 5 | * (at your option) any later version. 6 | * 7 | * This program is distributed in the hope that it will be useful, 8 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 9 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 10 | * GNU General Public License for more details. 11 | * 12 | * You should have received a copy of the GNU General Public License 13 | * along with this program. If not, see . 14 | * 15 | * @another_ghasem 16 | * g1999ramezani@gmail.com 17 | */ 18 | 19 | #include 20 | #include 21 | #include 22 | 23 | #include "QCustomPlotItem.h" 24 | 25 | int main(int argc, char* argv[]) 26 | { 27 | QApplication application(argc, argv); 28 | qmlRegisterType("CustomPlot", 1, 0, "CustomPlotItem"); 29 | QQmlApplicationEngine engine; 30 | engine.load("qrc:/main.qml"); 31 | return application.exec(); 32 | } 33 | -------------------------------------------------------------------------------- /sub_examples/qcustomplot_in_qml/source/main.qml: -------------------------------------------------------------------------------- 1 | import QtQuick.Controls 2.5 2 | import QtQuick.Window 2.12 3 | import QtCharts 2.3 4 | import QtQuick 2.0 5 | 6 | import CustomPlot 1.0 7 | 8 | ApplicationWindow 9 | { 10 | visible: true; 11 | width: 800; 12 | height: 600; 13 | 14 | CustomPlotItem 15 | { 16 | id: customPlot 17 | anchors.fill: parent 18 | Component.onCompleted: initCustomPlot() 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /sub_examples/qcustomplot_in_qml/source/resource.qrc: -------------------------------------------------------------------------------- 1 | 2 | 3 | main.qml 4 | 5 | 6 | -------------------------------------------------------------------------------- /sub_examples/qfile_watcher/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | cmake_minimum_required(VERSION 3.5) 2 | 3 | get_filename_component(PROJECT_SELECTED_NAME ${CMAKE_CURRENT_SOURCE_DIR} NAME) 4 | string(REPLACE " " "_" PROJECT_SELECTED_NAME ${PROJECT_SELECTED_NAME}) 5 | project(${PROJECT_SELECTED_NAME} LANGUAGES CXX) 6 | 7 | set(CMAKE_CXX_STANDARD 17) 8 | set(CMAKE_CXX_STANDARD_REQUIRED ON) 9 | 10 | find_package(QT NAMES Qt6 Qt5 COMPONENTS Widgets Core REQUIRED) 11 | find_package(Qt${QT_VERSION_MAJOR} COMPONENTS Widgets Core REQUIRED) 12 | 13 | file(GLOB HEADER_ONLY_FILES ${CMAKE_CURRENT_SOURCE_DIR}/source/*.hpp) 14 | file(GLOB SOURCE_FILES ${CMAKE_CURRENT_SOURCE_DIR}/source/*.cpp) 15 | file(GLOB HEADER_FILES ${CMAKE_CURRENT_SOURCE_DIR}/source/*.h) 16 | 17 | add_executable(${PROJECT_NAME} 18 | ${HEADER_FILE_ONLY} 19 | ${SOURCE_FILES} 20 | ${HEADER_FILES} 21 | ) 22 | target_link_libraries(${PROJECT_NAME} PRIVATE 23 | Qt${QT_VERSION_MAJOR}::Widgets 24 | Qt${QT_VERSION_MAJOR}::Core 25 | ) 26 | -------------------------------------------------------------------------------- /sub_examples/qheader_view_custom/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | cmake_minimum_required(VERSION 3.5) 2 | 3 | get_filename_component(PROJECT_SELECTED_NAME ${CMAKE_CURRENT_SOURCE_DIR} NAME) 4 | string(REPLACE " " "_" PROJECT_SELECTED_NAME ${PROJECT_SELECTED_NAME}) 5 | project(${PROJECT_SELECTED_NAME} LANGUAGES CXX) 6 | 7 | set(CMAKE_AUTOUIC ON) 8 | set(CMAKE_AUTOMOC ON) 9 | set(CMAKE_AUTORCC ON) 10 | 11 | set(CMAKE_CXX_STANDARD 17) 12 | set(CMAKE_CXX_STANDARD_REQUIRED ON) 13 | 14 | find_package(QT NAMES Qt6 Qt5 COMPONENTS Widgets Core REQUIRED) 15 | find_package(Qt${QT_VERSION_MAJOR} COMPONENTS Widgets Core REQUIRED) 16 | 17 | file(GLOB HEADER_ONLY_FILES ${CMAKE_CURRENT_SOURCE_DIR}/source/*.hpp) 18 | file(GLOB SOURCE_FILES ${CMAKE_CURRENT_SOURCE_DIR}/source/*.cpp) 19 | file(GLOB HEADER_FILES ${CMAKE_CURRENT_SOURCE_DIR}/source/*.h) 20 | file(GLOB RESOURCE_FILES ${CMAKE_CURRENT_SOURCE_DIR}/source/*.qrc) 21 | 22 | add_executable(${PROJECT_NAME} 23 | ${HEADER_FILE_ONLY} 24 | ${RESOURCE_FILES} 25 | ${SOURCE_FILES} 26 | ${HEADER_FILES} 27 | ) 28 | target_link_libraries(${PROJECT_NAME} PRIVATE 29 | Qt${QT_MAJOR_VERSION}::Core 30 | Qt${QT_MAJOR_VERSION}::Widgets 31 | ) 32 | -------------------------------------------------------------------------------- /sub_examples/qjson_value/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | cmake_minimum_required(VERSION 3.5) 2 | 3 | get_filename_component(PROJECT_SELECTED_NAME ${CMAKE_CURRENT_SOURCE_DIR} NAME) 4 | string(REPLACE " " "_" PROJECT_SELECTED_NAME ${PROJECT_SELECTED_NAME}) 5 | project(${PROJECT_SELECTED_NAME} LANGUAGES CXX) 6 | 7 | set(CMAKE_CXX_STANDARD 17) 8 | set(CMAKE_CXX_STANDARD_REQUIRED ON) 9 | 10 | find_package(QT NAMES Qt6 Qt5 COMPONENTS Widgets Core REQUIRED) 11 | find_package(Qt${QT_VERSION_MAJOR} COMPONENTS Widgets Core REQUIRED) 12 | 13 | file(GLOB HEADER_ONLY_FILES ${CMAKE_CURRENT_SOURCE_DIR}/source/*.hpp) 14 | file(GLOB SOURCE_FILES ${CMAKE_CURRENT_SOURCE_DIR}/source/*.cpp) 15 | file(GLOB HEADER_FILES ${CMAKE_CURRENT_SOURCE_DIR}/source/*.h) 16 | 17 | add_executable(${PROJECT_NAME} 18 | ${HEADER_FILE_ONLY} 19 | ${SOURCE_FILES} 20 | ${HEADER_FILES} 21 | ) 22 | target_link_libraries(${PROJECT_NAME} PRIVATE 23 | Qt${QT_VERSION_MAJOR}::Widgets 24 | Qt${QT_VERSION_MAJOR}::Core 25 | ) 26 | -------------------------------------------------------------------------------- /sub_examples/qml_pass_id_example/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | cmake_minimum_required(VERSION 3.5) 2 | 3 | get_filename_component(PROJECT_SELECTED_NAME ${CMAKE_CURRENT_SOURCE_DIR} NAME) 4 | string(REPLACE " " "_" PROJECT_SELECTED_NAME ${PROJECT_SELECTED_NAME}) 5 | project(${PROJECT_SELECTED_NAME} LANGUAGES CXX) 6 | 7 | set(CMAKE_AUTOUIC ON) 8 | set(CMAKE_AUTOMOC ON) 9 | set(CMAKE_AUTORCC ON) 10 | 11 | set(CMAKE_CXX_STANDARD 17) 12 | set(CMAKE_CXX_STANDARD_REQUIRED ON) 13 | 14 | find_package(QT NAMES Qt6 Qt5 COMPONENTS Qml Quick Core REQUIRED) 15 | find_package(Qt${QT_VERSION_MAJOR} COMPONENTS Qml Quick Core REQUIRED) 16 | 17 | file(GLOB HEADER_ONLY_FILES ${CMAKE_CURRENT_SOURCE_DIR}/source/*.hpp) 18 | file(GLOB SOURCE_FILES ${CMAKE_CURRENT_SOURCE_DIR}/source/*.cpp) 19 | file(GLOB HEADER_FILES ${CMAKE_CURRENT_SOURCE_DIR}/source/*.h) 20 | file(GLOB RESOURCE_FILES ${CMAKE_CURRENT_SOURCE_DIR}/source/*.qrc) 21 | 22 | add_executable(${PROJECT_NAME} 23 | ${HEADER_FILE_ONLY} 24 | ${RESOURCE_FILES} 25 | ${SOURCE_FILES} 26 | ${HEADER_FILES} 27 | ) 28 | target_link_libraries(${PROJECT_NAME} PRIVATE 29 | Qt${QT_MAJOR_VERSION}::Qml 30 | Qt${QT_MAJOR_VERSION}::Core 31 | Qt${QT_MAJOR_VERSION}::Quick 32 | ) 33 | -------------------------------------------------------------------------------- /sub_examples/qml_pass_id_example/source/main.qml: -------------------------------------------------------------------------------- 1 | import QtQuick.Controls 2.0 2 | import QtQuick 2.0 3 | 4 | import qml.pass.id 1.0 5 | 6 | ApplicationWindow 7 | { 8 | visible: true; 9 | width: 800; 10 | height: 400; 11 | 12 | TestItem 13 | { 14 | id: testItemId; 15 | Component.onCompleted: controller.setup_test(testItemId); 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /sub_examples/qml_pass_id_example/source/res.qrc: -------------------------------------------------------------------------------- 1 | 2 | 3 | main.qml 4 | 5 | 6 | -------------------------------------------------------------------------------- /sub_examples/qml_pass_objectName_example/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | cmake_minimum_required(VERSION 3.5) 2 | 3 | get_filename_component(PROJECT_SELECTED_NAME ${CMAKE_CURRENT_SOURCE_DIR} NAME) 4 | string(REPLACE " " "_" PROJECT_SELECTED_NAME ${PROJECT_SELECTED_NAME}) 5 | project(${PROJECT_SELECTED_NAME} LANGUAGES CXX) 6 | 7 | set(CMAKE_AUTOUIC ON) 8 | set(CMAKE_AUTOMOC ON) 9 | set(CMAKE_AUTORCC ON) 10 | 11 | set(CMAKE_CXX_STANDARD 17) 12 | set(CMAKE_CXX_STANDARD_REQUIRED ON) 13 | 14 | find_package(QT NAMES Qt6 Qt5 COMPONENTS Qml Quick Core REQUIRED) 15 | find_package(Qt${QT_VERSION_MAJOR} COMPONENTS Qml Quick Core REQUIRED) 16 | 17 | file(GLOB HEADER_ONLY_FILES ${CMAKE_CURRENT_SOURCE_DIR}/source/*.hpp) 18 | file(GLOB SOURCE_FILES ${CMAKE_CURRENT_SOURCE_DIR}/source/*.cpp) 19 | file(GLOB HEADER_FILES ${CMAKE_CURRENT_SOURCE_DIR}/source/*.h) 20 | file(GLOB RESOURCE_FILES ${CMAKE_CURRENT_SOURCE_DIR}/source/*.qrc) 21 | 22 | add_executable(${PROJECT_NAME} 23 | ${HEADER_FILE_ONLY} 24 | ${RESOURCE_FILES} 25 | ${SOURCE_FILES} 26 | ${HEADER_FILES} 27 | ) 28 | target_link_libraries(${PROJECT_NAME} PRIVATE 29 | Qt${QT_MAJOR_VERSION}::Qml 30 | Qt${QT_MAJOR_VERSION}::Core 31 | Qt${QT_MAJOR_VERSION}::Quick 32 | ) 33 | -------------------------------------------------------------------------------- /sub_examples/qml_pass_objectName_example/source/main.qml: -------------------------------------------------------------------------------- 1 | import QtQuick.Controls 2.0 2 | import QtQuick 2.0 3 | 4 | import qml.pass.id 1.0 5 | 6 | ApplicationWindow 7 | { 8 | visible: true; 9 | width: 800; 10 | height: 400; 11 | 12 | TestItem 13 | { 14 | objectName: "testItem"; 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /sub_examples/qml_pass_objectName_example/source/res.qrc: -------------------------------------------------------------------------------- 1 | 2 | 3 | main.qml 4 | 5 | 6 | -------------------------------------------------------------------------------- /sub_examples/qml_textinput_validator/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | cmake_minimum_required(VERSION 3.20 FATAL_ERROR) 2 | 3 | get_filename_component(PROJECT_SELECTED_NAME ${CMAKE_CURRENT_SOURCE_DIR} NAME) 4 | string(REPLACE " " "_" PROJECT_SELECTED_NAME ${PROJECT_SELECTED_NAME}) 5 | project(${PROJECT_SELECTED_NAME} LANGUAGES CXX) 6 | 7 | find_package(QT NAMES Qt5 Qt6) 8 | find_package(Qt${QT_VERSION_MAJOR} 9 | COMPONENTS 10 | Quick 11 | Core 12 | Gui 13 | REQUIRED 14 | ) 15 | 16 | set(CMAKE_AUTOMOC on) 17 | set(CMAKE_AUTORCC on) 18 | set(CMAKE_AUTOUIC on) 19 | 20 | add_executable(${PROJECT_NAME} main.cc main.qml res.qrc) 21 | target_link_libraries(${PROJECT_NAME} 22 | PRIVATE 23 | Qt::Gui 24 | Qt::Core 25 | Qt::Quick 26 | ) 27 | 28 | -------------------------------------------------------------------------------- /sub_examples/qml_textinput_validator/res.qrc: -------------------------------------------------------------------------------- 1 | 2 | 3 | main.qml 4 | 5 | -------------------------------------------------------------------------------- /sub_examples/qproxy_search/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | cmake_minimum_required(VERSION 3.5) 2 | 3 | get_filename_component(PROJECT_SELECTED_NAME ${CMAKE_CURRENT_SOURCE_DIR} NAME) 4 | string(REPLACE " " "_" PROJECT_SELECTED_NAME ${PROJECT_SELECTED_NAME}) 5 | project(${PROJECT_SELECTED_NAME} LANGUAGES CXX) 6 | 7 | set(CMAKE_CXX_STANDARD 17) 8 | set(CMAKE_CXX_STANDARD_REQUIRED ON) 9 | 10 | find_package(QT NAMES Qt6 Qt5 COMPONENTS Widgets Gui Core REQUIRED) 11 | find_package(Qt${QT_VERSION_MAJOR} COMPONENTS Widgets Gui Core REQUIRED) 12 | 13 | file(GLOB HEADER_ONLY_FILES ${CMAKE_CURRENT_SOURCE_DIR}/source/*.hpp) 14 | file(GLOB SOURCE_FILES ${CMAKE_CURRENT_SOURCE_DIR}/source/*.cpp) 15 | file(GLOB HEADER_FILES ${CMAKE_CURRENT_SOURCE_DIR}/source/*.h) 16 | 17 | add_executable(${PROJECT_NAME} 18 | ${HEADER_FILE_ONLY} 19 | ${SOURCE_FILES} 20 | ${HEADER_FILES} 21 | ) 22 | target_link_libraries(${PROJECT_NAME} PRIVATE 23 | Qt${QT_VERSION_MAJOR}::Widgets 24 | Qt${QT_VERSION_MAJOR}::Core 25 | Qt${QT_VERSION_MAJOR}::Gui 26 | ) 27 | -------------------------------------------------------------------------------- /sub_examples/qscroll_area/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | cmake_minimum_required(VERSION 3.5) 2 | 3 | get_filename_component(PROJECT_SELECTED_NAME ${CMAKE_CURRENT_SOURCE_DIR} NAME) 4 | string(REPLACE " " "_" PROJECT_SELECTED_NAME ${PROJECT_SELECTED_NAME}) 5 | project(${PROJECT_SELECTED_NAME} LANGUAGES CXX) 6 | 7 | set(CMAKE_CXX_STANDARD 17) 8 | set(CMAKE_CXX_STANDARD_REQUIRED ON) 9 | 10 | find_package(QT NAMES Qt6 Qt5 COMPONENTS Widgets Core REQUIRED) 11 | find_package(Qt${QT_VERSION_MAJOR} COMPONENTS Widgets Core REQUIRED) 12 | 13 | 14 | file(GLOB HEADER_ONLY_FILES ${CMAKE_CURRENT_SOURCE_DIR}/source/*.hpp) 15 | file(GLOB SOURCE_FILES ${CMAKE_CURRENT_SOURCE_DIR}/source/*.cpp) 16 | file(GLOB HEADER_FILES ${CMAKE_CURRENT_SOURCE_DIR}/source/*.h) 17 | 18 | add_executable(${PROJECT_NAME} 19 | ${HEADER_FILE_ONLY} 20 | ${SOURCE_FILES} 21 | ${HEADER_FILES} 22 | ) 23 | target_link_libraries(${PROJECT_NAME} PRIVATE 24 | Qt${QT_VERSION_MAJOR}::Widgets 25 | Qt${QT_VERSION_MAJOR}::Core 26 | ) 27 | -------------------------------------------------------------------------------- /sub_examples/qstringlist_to_file/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | cmake_minimum_required(VERSION 3.5) 2 | 3 | get_filename_component(PROJECT_SELECTED_NAME ${CMAKE_CURRENT_SOURCE_DIR} NAME) 4 | string(REPLACE " " "_" PROJECT_SELECTED_NAME ${PROJECT_SELECTED_NAME}) 5 | project(${PROJECT_SELECTED_NAME} LANGUAGES CXX) 6 | 7 | find_package(QT NAMES Qt6 Qt5 COMPONENTS Core REQUIRED) 8 | find_package(Qt${QT_VERSION_MAJOR} COMPONENTS Core REQUIRED) 9 | 10 | file(GLOB HEADER_ONLY_FILES ${CMAKE_CURRENT_SOURCE_DIR}/source/*.hpp) 11 | file(GLOB SOURCE_FILES ${CMAKE_CURRENT_SOURCE_DIR}/source/*.cpp) 12 | file(GLOB HEADER_FILES ${CMAKE_CURRENT_SOURCE_DIR}/source/*.h) 13 | 14 | add_executable(${PROJECT_NAME} 15 | ${HEADER_ONLY_FILES} 16 | ${SOURCE_FILES} 17 | ${HEADER_FILES} 18 | ) 19 | target_link_libraries(${PROJECT_NAME} PRIVATE 20 | Qt${QT_VERSION_MAJOR}::Core 21 | ) 22 | -------------------------------------------------------------------------------- /sub_examples/qt_client_server/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | cmake_minimum_required(VERSION 3.5) 2 | 3 | get_filename_component(PROJECT_SELECTED_NAME ${CMAKE_CURRENT_SOURCE_DIR} NAME) 4 | string(REPLACE " " "_" PROJECT_SELECTED_NAME ${PROJECT_SELECTED_NAME}) 5 | project(${PROJECT_SELECTED_NAME} LANGUAGES CXX) 6 | 7 | set(CMAKE_CXX_STANDARD 17) 8 | set(CMAKE_CXX_STANDARD_REQUIRED ON) 9 | 10 | find_package(QT NAMES Qt6 Qt5 COMPONENTS Widgets Core Network REQUIRED) 11 | find_package(Qt${QT_VERSION_MAJOR} COMPONENTS Widgets Core Network REQUIRED) 12 | 13 | file(GLOB HEADER_ONLY_FILES ${CMAKE_CURRENT_SOURCE_DIR}/source/*.hpp) 14 | file(GLOB SOURCE_FILES ${CMAKE_CURRENT_SOURCE_DIR}/source/*.cpp) 15 | file(GLOB HEADER_FILES ${CMAKE_CURRENT_SOURCE_DIR}/source/*.h) 16 | 17 | add_executable(${PROJECT_NAME} 18 | ${HEADER_FILE_ONLY} 19 | ${SOURCE_FILES} 20 | ${HEADER_FILES} 21 | ) 22 | target_link_libraries(${PROJECT_NAME} PRIVATE 23 | Qt${QT_VERSION_MAJOR}::Widgets 24 | Qt${QT_VERSION_MAJOR}::Network 25 | Qt${QT_VERSION_MAJOR}::Core 26 | ) 27 | -------------------------------------------------------------------------------- /sub_examples/qt_using_qeventloop_badly/cmake/ConfigQCustomPlot.cmake: -------------------------------------------------------------------------------- 1 | function(core_ConfigQCustomPlot target_name) 2 | add_subdirectory(third_party/QCustomPlot) 3 | target_compile_definitions(${PROJECT_NAME} PRIVATE QCUSTOMPLOT_USE_LIBRARY) 4 | target_link_libraries(${PROJECT_NAME} PRIVATE core::third_party::QCustomPlot) 5 | endfunction() 6 | -------------------------------------------------------------------------------- /sub_examples/qt_using_qeventloop_badly/libraries/core_common_things/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | cmake_minimum_required(VERSION 3.5) 2 | project(core_common_things LANGUAGES CXX) 3 | 4 | set(CMAKE_CXX_STANDARD 17) 5 | set(CMAKE_CXX_EXTENSIONS off) 6 | set(CMAKE_CXX_STANDARD_REQUIRED on) 7 | 8 | find_package(Qt5Core) 9 | 10 | file(GLOB public_files 11 | include/${PROJECT_NAME}/*.cc 12 | include/${PROJECT_NAME}/*.inc 13 | include/${PROJECT_NAME}/*.h 14 | ) 15 | file(GLOB private_files 16 | source/*.cc 17 | source/*.inc 18 | source/*.h 19 | ) 20 | 21 | add_library(${PROJECT_NAME} SHARED 22 | ${public_files} 23 | ${private_files} 24 | ) 25 | add_library(core::CommonThings ALIAS ${PROJECT_NAME}) 26 | target_include_directories(${PROJECT_NAME} 27 | PUBLIC 28 | $ 29 | $ 30 | $ 31 | ) 32 | target_link_libraries(${PROJECT_NAME} PRIVATE 33 | Qt5::Core 34 | ) 35 | -------------------------------------------------------------------------------- /sub_examples/qt_using_qeventloop_badly/libraries/core_common_things/include/core_common_things/constants.h: -------------------------------------------------------------------------------- 1 | #ifndef LIBRARIES_CORE_COMMON_THINGS_CONSTANTS_H 2 | #define LIBRARIES_CORE_COMMON_THINGS_CONSTANTS_H 3 | 4 | namespace core::constants { 5 | auto constexpr kExitSuccess = 0; 6 | auto constexpr kExitFailure = 1; 7 | } // namespace core::constants 8 | 9 | #endif 10 | -------------------------------------------------------------------------------- /sub_examples/qt_using_qeventloop_badly/libraries/core_common_things/source/exceptions.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gccore/Examples/9ea92c2e3f79cbde941113436a7294e3dbc4ff75/sub_examples/qt_using_qeventloop_badly/libraries/core_common_things/source/exceptions.cc -------------------------------------------------------------------------------- /sub_examples/qt_using_qeventloop_badly/libraries/core_common_things/source/result.cc: -------------------------------------------------------------------------------- 1 | /* 2 | * This program is free software: you can redistribute it and/or modify 3 | * it under the terms of the GNU General Public License as published by 4 | * the Free Software Foundation, either version 3 of the License, or 5 | * (at your option) any later version. 6 | * 7 | * This program is distributed in the hope that it will be useful, 8 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 9 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 10 | * GNU General Public License for more details. 11 | * 12 | * You should have received a copy of the GNU General Public License 13 | * along with this program. If not, see . 14 | * 15 | * @another_ghasem 16 | * g1999ramezani@gmail.com 17 | */ 18 | 19 | #include "core_common_things/result.h" 20 | 21 | namespace core {} // namespace core 22 | -------------------------------------------------------------------------------- /sub_examples/qt_using_qeventloop_badly/libraries/core_interface/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | cmake_minimum_required(VERSION 3.5) 2 | project(core_interface LANGUAGES CXX) 3 | 4 | set(CMAKE_CXX_STANDARD 17) 5 | set(CMAKE_CXX_EXTENSIONS off) 6 | set(CMAKE_CXX_STANDARD_REQUIRED on) 7 | 8 | set(CMAKE_AUTOUIC on) 9 | set(CMAKE_AUTOMOC on) 10 | set(CMAKE_AUTORCC on) 11 | 12 | find_package(Qt5Core) 13 | find_package(Qt5Widgets) 14 | 15 | file(GLOB public_files 16 | include/${PROJECT_NAME}/*.h 17 | source/*.cc 18 | ) 19 | 20 | add_library(${PROJECT_NAME} OBJECT ${public_files}) 21 | add_library(core::plugins::Interface ALIAS ${PROJECT_NAME}) 22 | target_include_directories(${PROJECT_NAME} PUBLIC 23 | $ 24 | $ 25 | ) 26 | target_link_libraries(${PROJECT_NAME} PUBLIC 27 | core::CommonThings 28 | Qt5::Core 29 | Qt5::Widgets 30 | ) 31 | -------------------------------------------------------------------------------- /sub_examples/qt_using_qeventloop_badly/libraries/core_interface/include/core_interface/core_interface.h: -------------------------------------------------------------------------------- 1 | #ifndef CORE_PLUGINS_INTERFACE_H 2 | #define CORE_PLUGINS_INTERFACE_H 3 | 4 | #include "core_common_things/result.h" 5 | 6 | #include 7 | #include 8 | #include 9 | #include 10 | #include 11 | 12 | namespace core::plugins::interface { 13 | class Plugin : public QObject { 14 | Q_OBJECT 15 | public: 16 | virtual QPointer init_plugin() { 17 | return nullptr; 18 | } 19 | 20 | virtual QString get_plugin_name() const = 0; 21 | 22 | Q_SLOT virtual void on_recived_plugin(Result const& plugin) { 23 | Q_UNUSED(plugin); 24 | } 25 | Q_SIGNAL void request_for_plugin(QString const& plugin_name); 26 | }; 27 | } // namespace core::plugins::interface 28 | 29 | #define CORE_PLUGINS_INTERFACE "core.plugins.interface.plugin" 30 | Q_DECLARE_INTERFACE(core::plugins::interface::Plugin, CORE_PLUGINS_INTERFACE) 31 | 32 | #endif // CORE_PLUGINS_INTERFACE_H 33 | -------------------------------------------------------------------------------- /sub_examples/qt_using_qeventloop_badly/libraries/core_interface/source/core_interface.cc: -------------------------------------------------------------------------------- 1 | #include "core_interface/core_interface.h" 2 | #include "core_interface.moc" 3 | -------------------------------------------------------------------------------- /sub_examples/qt_using_qeventloop_badly/plugins/plot/include/plot/meta.json: -------------------------------------------------------------------------------- 1 | { 2 | "Keys": [ "plot-v0.0.1" ] 3 | } 4 | -------------------------------------------------------------------------------- /sub_examples/qt_using_qeventloop_badly/plugins/plot/include/plot/plot_plugin.h: -------------------------------------------------------------------------------- 1 | #ifndef CORE_PLUGINS_PLOT_PLUGIN_H 2 | #define CORE_PLUGINS_PLOT_PLUGIN_H 3 | 4 | #include "core_interface/core_interface.h" 5 | 6 | #include 7 | #include 8 | #include 9 | #include 10 | 11 | class QCustomPlot; 12 | 13 | namespace core::plugins::plot { 14 | class Plot final : public interface::Plugin { 15 | Q_OBJECT 16 | Q_PLUGIN_METADATA(IID CORE_PLUGINS_INTERFACE FILE "meta.json") 17 | Q_INTERFACES(core::plugins::interface::Plugin) 18 | 19 | public: 20 | QPointer init_plugin() override; 21 | QString get_plugin_name() const override; 22 | 23 | Q_SIGNAL void new_data(QPointF const &data); 24 | 25 | private: 26 | QPointer widget_; 27 | }; 28 | } // namespace core::plugins::plot 29 | 30 | #endif // CORE_PLUGINS_PLOT_PLUGIN_H 31 | -------------------------------------------------------------------------------- /sub_examples/qt_using_qeventloop_badly/plugins/plot/third_party/QCustomPlot/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | cmake_minimum_required(VERSION 3.5) 2 | project(QCustomPlot LANGUAGES CXX) 3 | 4 | set(CMAKE_AUTOUIC on) 5 | set(CMAKE_AUTOMOC on) 6 | set(CMAKE_AUTORCC on) 7 | 8 | set(CMAKE_CXX_STANDARD 17) 9 | set(CMAKE_CXX_EXTENSIONS off) 10 | set(CMAKE_CXX_STANDARD_REQUIRED on) 11 | 12 | find_package(Qt5PrintSupport REQUIRED) 13 | find_package(Qt5Widgets REQUIRED) 14 | find_package(Qt5Core REQUIRED) 15 | find_package(Qt5Gui REQUIRED) 16 | 17 | add_library(${PROJECT_NAME} SHARED 18 | qcustomplot.cpp 19 | qcustomplot.h 20 | ) 21 | add_library(core::third_party::QCustomPlot ALIAS ${PROJECT_NAME}) 22 | target_compile_definitions(${PROJECT_NAME} PRIVATE -DQCUSTOMPLOT_COMPILE_LIBRARY) 23 | target_link_libraries(${PROJECT_NAME} PRIVATE 24 | Qt5::PrintSupport 25 | Qt5::Widgets 26 | Qt5::Core 27 | Qt5::Gui 28 | ) 29 | target_include_directories(${PROJECT_NAME} PUBLIC 30 | $ 31 | $ 32 | ) 33 | 34 | -------------------------------------------------------------------------------- /sub_examples/qt_using_qeventloop_badly/plugins/plot/third_party/QCustomPlot/documentation/html/AxisNamesOverview.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gccore/Examples/9ea92c2e3f79cbde941113436a7294e3dbc4ff75/sub_examples/qt_using_qeventloop_badly/plugins/plot/third_party/QCustomPlot/documentation/html/AxisNamesOverview.png -------------------------------------------------------------------------------- /sub_examples/qt_using_qeventloop_badly/plugins/plot/third_party/QCustomPlot/documentation/html/AxisRectSpacingOverview.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gccore/Examples/9ea92c2e3f79cbde941113436a7294e3dbc4ff75/sub_examples/qt_using_qeventloop_badly/plugins/plot/third_party/QCustomPlot/documentation/html/AxisRectSpacingOverview.png -------------------------------------------------------------------------------- /sub_examples/qt_using_qeventloop_badly/plugins/plot/third_party/QCustomPlot/documentation/html/InheritanceOverview.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gccore/Examples/9ea92c2e3f79cbde941113436a7294e3dbc4ff75/sub_examples/qt_using_qeventloop_badly/plugins/plot/third_party/QCustomPlot/documentation/html/InheritanceOverview.png -------------------------------------------------------------------------------- /sub_examples/qt_using_qeventloop_badly/plugins/plot/third_party/QCustomPlot/documentation/html/LayoutsystemSketch.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gccore/Examples/9ea92c2e3f79cbde941113436a7294e3dbc4ff75/sub_examples/qt_using_qeventloop_badly/plugins/plot/third_party/QCustomPlot/documentation/html/LayoutsystemSketch.png -------------------------------------------------------------------------------- /sub_examples/qt_using_qeventloop_badly/plugins/plot/third_party/QCustomPlot/documentation/html/QCPBars.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gccore/Examples/9ea92c2e3f79cbde941113436a7294e3dbc4ff75/sub_examples/qt_using_qeventloop_badly/plugins/plot/third_party/QCustomPlot/documentation/html/QCPBars.png -------------------------------------------------------------------------------- /sub_examples/qt_using_qeventloop_badly/plugins/plot/third_party/QCustomPlot/documentation/html/QCPBarsGroup.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gccore/Examples/9ea92c2e3f79cbde941113436a7294e3dbc4ff75/sub_examples/qt_using_qeventloop_badly/plugins/plot/third_party/QCustomPlot/documentation/html/QCPBarsGroup.png -------------------------------------------------------------------------------- /sub_examples/qt_using_qeventloop_badly/plugins/plot/third_party/QCustomPlot/documentation/html/QCPColorGradient-levelcount.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gccore/Examples/9ea92c2e3f79cbde941113436a7294e3dbc4ff75/sub_examples/qt_using_qeventloop_badly/plugins/plot/third_party/QCustomPlot/documentation/html/QCPColorGradient-levelcount.png -------------------------------------------------------------------------------- /sub_examples/qt_using_qeventloop_badly/plugins/plot/third_party/QCustomPlot/documentation/html/QCPColorGradient-periodic.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gccore/Examples/9ea92c2e3f79cbde941113436a7294e3dbc4ff75/sub_examples/qt_using_qeventloop_badly/plugins/plot/third_party/QCustomPlot/documentation/html/QCPColorGradient-periodic.png -------------------------------------------------------------------------------- /sub_examples/qt_using_qeventloop_badly/plugins/plot/third_party/QCustomPlot/documentation/html/QCPColorGradient.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gccore/Examples/9ea92c2e3f79cbde941113436a7294e3dbc4ff75/sub_examples/qt_using_qeventloop_badly/plugins/plot/third_party/QCustomPlot/documentation/html/QCPColorGradient.png -------------------------------------------------------------------------------- /sub_examples/qt_using_qeventloop_badly/plugins/plot/third_party/QCustomPlot/documentation/html/QCPColorMap-interpolate.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gccore/Examples/9ea92c2e3f79cbde941113436a7294e3dbc4ff75/sub_examples/qt_using_qeventloop_badly/plugins/plot/third_party/QCustomPlot/documentation/html/QCPColorMap-interpolate.png -------------------------------------------------------------------------------- /sub_examples/qt_using_qeventloop_badly/plugins/plot/third_party/QCustomPlot/documentation/html/QCPColorMap-tightboundary.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gccore/Examples/9ea92c2e3f79cbde941113436a7294e3dbc4ff75/sub_examples/qt_using_qeventloop_badly/plugins/plot/third_party/QCustomPlot/documentation/html/QCPColorMap-tightboundary.png -------------------------------------------------------------------------------- /sub_examples/qt_using_qeventloop_badly/plugins/plot/third_party/QCustomPlot/documentation/html/QCPColorMap.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gccore/Examples/9ea92c2e3f79cbde941113436a7294e3dbc4ff75/sub_examples/qt_using_qeventloop_badly/plugins/plot/third_party/QCustomPlot/documentation/html/QCPColorMap.png -------------------------------------------------------------------------------- /sub_examples/qt_using_qeventloop_badly/plugins/plot/third_party/QCustomPlot/documentation/html/QCPColorScale.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gccore/Examples/9ea92c2e3f79cbde941113436a7294e3dbc4ff75/sub_examples/qt_using_qeventloop_badly/plugins/plot/third_party/QCustomPlot/documentation/html/QCPColorScale.png -------------------------------------------------------------------------------- /sub_examples/qt_using_qeventloop_badly/plugins/plot/third_party/QCustomPlot/documentation/html/QCPCurve.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gccore/Examples/9ea92c2e3f79cbde941113436a7294e3dbc4ff75/sub_examples/qt_using_qeventloop_badly/plugins/plot/third_party/QCustomPlot/documentation/html/QCPCurve.png -------------------------------------------------------------------------------- /sub_examples/qt_using_qeventloop_badly/plugins/plot/third_party/QCustomPlot/documentation/html/QCPErrorBars.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gccore/Examples/9ea92c2e3f79cbde941113436a7294e3dbc4ff75/sub_examples/qt_using_qeventloop_badly/plugins/plot/third_party/QCustomPlot/documentation/html/QCPErrorBars.png -------------------------------------------------------------------------------- /sub_examples/qt_using_qeventloop_badly/plugins/plot/third_party/QCustomPlot/documentation/html/QCPFinancial.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gccore/Examples/9ea92c2e3f79cbde941113436a7294e3dbc4ff75/sub_examples/qt_using_qeventloop_badly/plugins/plot/third_party/QCustomPlot/documentation/html/QCPFinancial.png -------------------------------------------------------------------------------- /sub_examples/qt_using_qeventloop_badly/plugins/plot/third_party/QCustomPlot/documentation/html/QCPGraph.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gccore/Examples/9ea92c2e3f79cbde941113436a7294e3dbc4ff75/sub_examples/qt_using_qeventloop_badly/plugins/plot/third_party/QCustomPlot/documentation/html/QCPGraph.png -------------------------------------------------------------------------------- /sub_examples/qt_using_qeventloop_badly/plugins/plot/third_party/QCustomPlot/documentation/html/QCPItemBracket-length.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gccore/Examples/9ea92c2e3f79cbde941113436a7294e3dbc4ff75/sub_examples/qt_using_qeventloop_badly/plugins/plot/third_party/QCustomPlot/documentation/html/QCPItemBracket-length.png -------------------------------------------------------------------------------- /sub_examples/qt_using_qeventloop_badly/plugins/plot/third_party/QCustomPlot/documentation/html/QCPItemBracket.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gccore/Examples/9ea92c2e3f79cbde941113436a7294e3dbc4ff75/sub_examples/qt_using_qeventloop_badly/plugins/plot/third_party/QCustomPlot/documentation/html/QCPItemBracket.png -------------------------------------------------------------------------------- /sub_examples/qt_using_qeventloop_badly/plugins/plot/third_party/QCustomPlot/documentation/html/QCPItemCurve.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gccore/Examples/9ea92c2e3f79cbde941113436a7294e3dbc4ff75/sub_examples/qt_using_qeventloop_badly/plugins/plot/third_party/QCustomPlot/documentation/html/QCPItemCurve.png -------------------------------------------------------------------------------- /sub_examples/qt_using_qeventloop_badly/plugins/plot/third_party/QCustomPlot/documentation/html/QCPItemEllipse.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gccore/Examples/9ea92c2e3f79cbde941113436a7294e3dbc4ff75/sub_examples/qt_using_qeventloop_badly/plugins/plot/third_party/QCustomPlot/documentation/html/QCPItemEllipse.png -------------------------------------------------------------------------------- /sub_examples/qt_using_qeventloop_badly/plugins/plot/third_party/QCustomPlot/documentation/html/QCPItemLine.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gccore/Examples/9ea92c2e3f79cbde941113436a7294e3dbc4ff75/sub_examples/qt_using_qeventloop_badly/plugins/plot/third_party/QCustomPlot/documentation/html/QCPItemLine.png -------------------------------------------------------------------------------- /sub_examples/qt_using_qeventloop_badly/plugins/plot/third_party/QCustomPlot/documentation/html/QCPItemPixmap.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gccore/Examples/9ea92c2e3f79cbde941113436a7294e3dbc4ff75/sub_examples/qt_using_qeventloop_badly/plugins/plot/third_party/QCustomPlot/documentation/html/QCPItemPixmap.png -------------------------------------------------------------------------------- /sub_examples/qt_using_qeventloop_badly/plugins/plot/third_party/QCustomPlot/documentation/html/QCPItemRect.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gccore/Examples/9ea92c2e3f79cbde941113436a7294e3dbc4ff75/sub_examples/qt_using_qeventloop_badly/plugins/plot/third_party/QCustomPlot/documentation/html/QCPItemRect.png -------------------------------------------------------------------------------- /sub_examples/qt_using_qeventloop_badly/plugins/plot/third_party/QCustomPlot/documentation/html/QCPItemStraightLine.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gccore/Examples/9ea92c2e3f79cbde941113436a7294e3dbc4ff75/sub_examples/qt_using_qeventloop_badly/plugins/plot/third_party/QCustomPlot/documentation/html/QCPItemStraightLine.png -------------------------------------------------------------------------------- /sub_examples/qt_using_qeventloop_badly/plugins/plot/third_party/QCustomPlot/documentation/html/QCPItemText.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gccore/Examples/9ea92c2e3f79cbde941113436a7294e3dbc4ff75/sub_examples/qt_using_qeventloop_badly/plugins/plot/third_party/QCustomPlot/documentation/html/QCPItemText.png -------------------------------------------------------------------------------- /sub_examples/qt_using_qeventloop_badly/plugins/plot/third_party/QCustomPlot/documentation/html/QCPItemTracer.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gccore/Examples/9ea92c2e3f79cbde941113436a7294e3dbc4ff75/sub_examples/qt_using_qeventloop_badly/plugins/plot/third_party/QCustomPlot/documentation/html/QCPItemTracer.png -------------------------------------------------------------------------------- /sub_examples/qt_using_qeventloop_badly/plugins/plot/third_party/QCustomPlot/documentation/html/QCPLineEnding.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gccore/Examples/9ea92c2e3f79cbde941113436a7294e3dbc4ff75/sub_examples/qt_using_qeventloop_badly/plugins/plot/third_party/QCustomPlot/documentation/html/QCPLineEnding.png -------------------------------------------------------------------------------- /sub_examples/qt_using_qeventloop_badly/plugins/plot/third_party/QCustomPlot/documentation/html/QCPMarginGroup.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gccore/Examples/9ea92c2e3f79cbde941113436a7294e3dbc4ff75/sub_examples/qt_using_qeventloop_badly/plugins/plot/third_party/QCustomPlot/documentation/html/QCPMarginGroup.png -------------------------------------------------------------------------------- /sub_examples/qt_using_qeventloop_badly/plugins/plot/third_party/QCustomPlot/documentation/html/QCPStatisticalBox.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gccore/Examples/9ea92c2e3f79cbde941113436a7294e3dbc4ff75/sub_examples/qt_using_qeventloop_badly/plugins/plot/third_party/QCustomPlot/documentation/html/QCPStatisticalBox.png -------------------------------------------------------------------------------- /sub_examples/qt_using_qeventloop_badly/plugins/plot/third_party/QCustomPlot/documentation/html/RelationOverview.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gccore/Examples/9ea92c2e3f79cbde941113436a7294e3dbc4ff75/sub_examples/qt_using_qeventloop_badly/plugins/plot/third_party/QCustomPlot/documentation/html/RelationOverview.png -------------------------------------------------------------------------------- /sub_examples/qt_using_qeventloop_badly/plugins/plot/third_party/QCustomPlot/documentation/html/adaptive-sampling-line.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gccore/Examples/9ea92c2e3f79cbde941113436a7294e3dbc4ff75/sub_examples/qt_using_qeventloop_badly/plugins/plot/third_party/QCustomPlot/documentation/html/adaptive-sampling-line.png -------------------------------------------------------------------------------- /sub_examples/qt_using_qeventloop_badly/plugins/plot/third_party/QCustomPlot/documentation/html/adaptive-sampling-scatter.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gccore/Examples/9ea92c2e3f79cbde941113436a7294e3dbc4ff75/sub_examples/qt_using_qeventloop_badly/plugins/plot/third_party/QCustomPlot/documentation/html/adaptive-sampling-scatter.png -------------------------------------------------------------------------------- /sub_examples/qt_using_qeventloop_badly/plugins/plot/third_party/QCustomPlot/documentation/html/axisticker-datetime.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gccore/Examples/9ea92c2e3f79cbde941113436a7294e3dbc4ff75/sub_examples/qt_using_qeventloop_badly/plugins/plot/third_party/QCustomPlot/documentation/html/axisticker-datetime.png -------------------------------------------------------------------------------- /sub_examples/qt_using_qeventloop_badly/plugins/plot/third_party/QCustomPlot/documentation/html/axisticker-fixed.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gccore/Examples/9ea92c2e3f79cbde941113436a7294e3dbc4ff75/sub_examples/qt_using_qeventloop_badly/plugins/plot/third_party/QCustomPlot/documentation/html/axisticker-fixed.png -------------------------------------------------------------------------------- /sub_examples/qt_using_qeventloop_badly/plugins/plot/third_party/QCustomPlot/documentation/html/axisticker-log-powers.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gccore/Examples/9ea92c2e3f79cbde941113436a7294e3dbc4ff75/sub_examples/qt_using_qeventloop_badly/plugins/plot/third_party/QCustomPlot/documentation/html/axisticker-log-powers.png -------------------------------------------------------------------------------- /sub_examples/qt_using_qeventloop_badly/plugins/plot/third_party/QCustomPlot/documentation/html/axisticker-log.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gccore/Examples/9ea92c2e3f79cbde941113436a7294e3dbc4ff75/sub_examples/qt_using_qeventloop_badly/plugins/plot/third_party/QCustomPlot/documentation/html/axisticker-log.png -------------------------------------------------------------------------------- /sub_examples/qt_using_qeventloop_badly/plugins/plot/third_party/QCustomPlot/documentation/html/axisticker-pi.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gccore/Examples/9ea92c2e3f79cbde941113436a7294e3dbc4ff75/sub_examples/qt_using_qeventloop_badly/plugins/plot/third_party/QCustomPlot/documentation/html/axisticker-pi.png -------------------------------------------------------------------------------- /sub_examples/qt_using_qeventloop_badly/plugins/plot/third_party/QCustomPlot/documentation/html/axisticker-text.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gccore/Examples/9ea92c2e3f79cbde941113436a7294e3dbc4ff75/sub_examples/qt_using_qeventloop_badly/plugins/plot/third_party/QCustomPlot/documentation/html/axisticker-text.png -------------------------------------------------------------------------------- /sub_examples/qt_using_qeventloop_badly/plugins/plot/third_party/QCustomPlot/documentation/html/axisticker-time.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gccore/Examples/9ea92c2e3f79cbde941113436a7294e3dbc4ff75/sub_examples/qt_using_qeventloop_badly/plugins/plot/third_party/QCustomPlot/documentation/html/axisticker-time.png -------------------------------------------------------------------------------- /sub_examples/qt_using_qeventloop_badly/plugins/plot/third_party/QCustomPlot/documentation/html/axisticker-time2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gccore/Examples/9ea92c2e3f79cbde941113436a7294e3dbc4ff75/sub_examples/qt_using_qeventloop_badly/plugins/plot/third_party/QCustomPlot/documentation/html/axisticker-time2.png -------------------------------------------------------------------------------- /sub_examples/qt_using_qeventloop_badly/plugins/plot/third_party/QCustomPlot/documentation/html/bc_s.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gccore/Examples/9ea92c2e3f79cbde941113436a7294e3dbc4ff75/sub_examples/qt_using_qeventloop_badly/plugins/plot/third_party/QCustomPlot/documentation/html/bc_s.png -------------------------------------------------------------------------------- /sub_examples/qt_using_qeventloop_badly/plugins/plot/third_party/QCustomPlot/documentation/html/bdwn.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gccore/Examples/9ea92c2e3f79cbde941113436a7294e3dbc4ff75/sub_examples/qt_using_qeventloop_badly/plugins/plot/third_party/QCustomPlot/documentation/html/bdwn.png -------------------------------------------------------------------------------- /sub_examples/qt_using_qeventloop_badly/plugins/plot/third_party/QCustomPlot/documentation/html/classQCPAbstractItem__inherit__graph.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gccore/Examples/9ea92c2e3f79cbde941113436a7294e3dbc4ff75/sub_examples/qt_using_qeventloop_badly/plugins/plot/third_party/QCustomPlot/documentation/html/classQCPAbstractItem__inherit__graph.png -------------------------------------------------------------------------------- /sub_examples/qt_using_qeventloop_badly/plugins/plot/third_party/QCustomPlot/documentation/html/classQCPAbstractLegendItem__inherit__graph.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gccore/Examples/9ea92c2e3f79cbde941113436a7294e3dbc4ff75/sub_examples/qt_using_qeventloop_badly/plugins/plot/third_party/QCustomPlot/documentation/html/classQCPAbstractLegendItem__inherit__graph.png -------------------------------------------------------------------------------- /sub_examples/qt_using_qeventloop_badly/plugins/plot/third_party/QCustomPlot/documentation/html/classQCPAbstractPaintBuffer__inherit__graph.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gccore/Examples/9ea92c2e3f79cbde941113436a7294e3dbc4ff75/sub_examples/qt_using_qeventloop_badly/plugins/plot/third_party/QCustomPlot/documentation/html/classQCPAbstractPaintBuffer__inherit__graph.png -------------------------------------------------------------------------------- /sub_examples/qt_using_qeventloop_badly/plugins/plot/third_party/QCustomPlot/documentation/html/classQCPAbstractPlottable1D__inherit__graph.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gccore/Examples/9ea92c2e3f79cbde941113436a7294e3dbc4ff75/sub_examples/qt_using_qeventloop_badly/plugins/plot/third_party/QCustomPlot/documentation/html/classQCPAbstractPlottable1D__inherit__graph.png -------------------------------------------------------------------------------- /sub_examples/qt_using_qeventloop_badly/plugins/plot/third_party/QCustomPlot/documentation/html/classQCPAbstractPlottable__inherit__graph.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gccore/Examples/9ea92c2e3f79cbde941113436a7294e3dbc4ff75/sub_examples/qt_using_qeventloop_badly/plugins/plot/third_party/QCustomPlot/documentation/html/classQCPAbstractPlottable__inherit__graph.png -------------------------------------------------------------------------------- /sub_examples/qt_using_qeventloop_badly/plugins/plot/third_party/QCustomPlot/documentation/html/classQCPAxisRect__inherit__graph.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gccore/Examples/9ea92c2e3f79cbde941113436a7294e3dbc4ff75/sub_examples/qt_using_qeventloop_badly/plugins/plot/third_party/QCustomPlot/documentation/html/classQCPAxisRect__inherit__graph.png -------------------------------------------------------------------------------- /sub_examples/qt_using_qeventloop_badly/plugins/plot/third_party/QCustomPlot/documentation/html/classQCPAxisTickerDateTime__inherit__graph.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gccore/Examples/9ea92c2e3f79cbde941113436a7294e3dbc4ff75/sub_examples/qt_using_qeventloop_badly/plugins/plot/third_party/QCustomPlot/documentation/html/classQCPAxisTickerDateTime__inherit__graph.png -------------------------------------------------------------------------------- /sub_examples/qt_using_qeventloop_badly/plugins/plot/third_party/QCustomPlot/documentation/html/classQCPAxisTickerFixed__inherit__graph.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gccore/Examples/9ea92c2e3f79cbde941113436a7294e3dbc4ff75/sub_examples/qt_using_qeventloop_badly/plugins/plot/third_party/QCustomPlot/documentation/html/classQCPAxisTickerFixed__inherit__graph.png -------------------------------------------------------------------------------- /sub_examples/qt_using_qeventloop_badly/plugins/plot/third_party/QCustomPlot/documentation/html/classQCPAxisTickerLog__inherit__graph.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gccore/Examples/9ea92c2e3f79cbde941113436a7294e3dbc4ff75/sub_examples/qt_using_qeventloop_badly/plugins/plot/third_party/QCustomPlot/documentation/html/classQCPAxisTickerLog__inherit__graph.png -------------------------------------------------------------------------------- /sub_examples/qt_using_qeventloop_badly/plugins/plot/third_party/QCustomPlot/documentation/html/classQCPAxisTickerPi__inherit__graph.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gccore/Examples/9ea92c2e3f79cbde941113436a7294e3dbc4ff75/sub_examples/qt_using_qeventloop_badly/plugins/plot/third_party/QCustomPlot/documentation/html/classQCPAxisTickerPi__inherit__graph.png -------------------------------------------------------------------------------- /sub_examples/qt_using_qeventloop_badly/plugins/plot/third_party/QCustomPlot/documentation/html/classQCPAxisTickerText__inherit__graph.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gccore/Examples/9ea92c2e3f79cbde941113436a7294e3dbc4ff75/sub_examples/qt_using_qeventloop_badly/plugins/plot/third_party/QCustomPlot/documentation/html/classQCPAxisTickerText__inherit__graph.png -------------------------------------------------------------------------------- /sub_examples/qt_using_qeventloop_badly/plugins/plot/third_party/QCustomPlot/documentation/html/classQCPAxisTickerTime__inherit__graph.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gccore/Examples/9ea92c2e3f79cbde941113436a7294e3dbc4ff75/sub_examples/qt_using_qeventloop_badly/plugins/plot/third_party/QCustomPlot/documentation/html/classQCPAxisTickerTime__inherit__graph.png -------------------------------------------------------------------------------- /sub_examples/qt_using_qeventloop_badly/plugins/plot/third_party/QCustomPlot/documentation/html/classQCPAxisTicker__inherit__graph.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gccore/Examples/9ea92c2e3f79cbde941113436a7294e3dbc4ff75/sub_examples/qt_using_qeventloop_badly/plugins/plot/third_party/QCustomPlot/documentation/html/classQCPAxisTicker__inherit__graph.png -------------------------------------------------------------------------------- /sub_examples/qt_using_qeventloop_badly/plugins/plot/third_party/QCustomPlot/documentation/html/classQCPAxis__inherit__graph.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gccore/Examples/9ea92c2e3f79cbde941113436a7294e3dbc4ff75/sub_examples/qt_using_qeventloop_badly/plugins/plot/third_party/QCustomPlot/documentation/html/classQCPAxis__inherit__graph.png -------------------------------------------------------------------------------- /sub_examples/qt_using_qeventloop_badly/plugins/plot/third_party/QCustomPlot/documentation/html/classQCPBars__inherit__graph.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gccore/Examples/9ea92c2e3f79cbde941113436a7294e3dbc4ff75/sub_examples/qt_using_qeventloop_badly/plugins/plot/third_party/QCustomPlot/documentation/html/classQCPBars__inherit__graph.png -------------------------------------------------------------------------------- /sub_examples/qt_using_qeventloop_badly/plugins/plot/third_party/QCustomPlot/documentation/html/classQCPColorMap__inherit__graph.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gccore/Examples/9ea92c2e3f79cbde941113436a7294e3dbc4ff75/sub_examples/qt_using_qeventloop_badly/plugins/plot/third_party/QCustomPlot/documentation/html/classQCPColorMap__inherit__graph.png -------------------------------------------------------------------------------- /sub_examples/qt_using_qeventloop_badly/plugins/plot/third_party/QCustomPlot/documentation/html/classQCPColorScale__inherit__graph.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gccore/Examples/9ea92c2e3f79cbde941113436a7294e3dbc4ff75/sub_examples/qt_using_qeventloop_badly/plugins/plot/third_party/QCustomPlot/documentation/html/classQCPColorScale__inherit__graph.png -------------------------------------------------------------------------------- /sub_examples/qt_using_qeventloop_badly/plugins/plot/third_party/QCustomPlot/documentation/html/classQCPCurve__inherit__graph.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gccore/Examples/9ea92c2e3f79cbde941113436a7294e3dbc4ff75/sub_examples/qt_using_qeventloop_badly/plugins/plot/third_party/QCustomPlot/documentation/html/classQCPCurve__inherit__graph.png -------------------------------------------------------------------------------- /sub_examples/qt_using_qeventloop_badly/plugins/plot/third_party/QCustomPlot/documentation/html/classQCPErrorBars__inherit__graph.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gccore/Examples/9ea92c2e3f79cbde941113436a7294e3dbc4ff75/sub_examples/qt_using_qeventloop_badly/plugins/plot/third_party/QCustomPlot/documentation/html/classQCPErrorBars__inherit__graph.png -------------------------------------------------------------------------------- /sub_examples/qt_using_qeventloop_badly/plugins/plot/third_party/QCustomPlot/documentation/html/classQCPFinancial__inherit__graph.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gccore/Examples/9ea92c2e3f79cbde941113436a7294e3dbc4ff75/sub_examples/qt_using_qeventloop_badly/plugins/plot/third_party/QCustomPlot/documentation/html/classQCPFinancial__inherit__graph.png -------------------------------------------------------------------------------- /sub_examples/qt_using_qeventloop_badly/plugins/plot/third_party/QCustomPlot/documentation/html/classQCPGraph__inherit__graph.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gccore/Examples/9ea92c2e3f79cbde941113436a7294e3dbc4ff75/sub_examples/qt_using_qeventloop_badly/plugins/plot/third_party/QCustomPlot/documentation/html/classQCPGraph__inherit__graph.png -------------------------------------------------------------------------------- /sub_examples/qt_using_qeventloop_badly/plugins/plot/third_party/QCustomPlot/documentation/html/classQCPGrid__inherit__graph.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gccore/Examples/9ea92c2e3f79cbde941113436a7294e3dbc4ff75/sub_examples/qt_using_qeventloop_badly/plugins/plot/third_party/QCustomPlot/documentation/html/classQCPGrid__inherit__graph.png -------------------------------------------------------------------------------- /sub_examples/qt_using_qeventloop_badly/plugins/plot/third_party/QCustomPlot/documentation/html/classQCPItemAnchor__inherit__graph.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gccore/Examples/9ea92c2e3f79cbde941113436a7294e3dbc4ff75/sub_examples/qt_using_qeventloop_badly/plugins/plot/third_party/QCustomPlot/documentation/html/classQCPItemAnchor__inherit__graph.png -------------------------------------------------------------------------------- /sub_examples/qt_using_qeventloop_badly/plugins/plot/third_party/QCustomPlot/documentation/html/classQCPItemBracket__inherit__graph.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gccore/Examples/9ea92c2e3f79cbde941113436a7294e3dbc4ff75/sub_examples/qt_using_qeventloop_badly/plugins/plot/third_party/QCustomPlot/documentation/html/classQCPItemBracket__inherit__graph.png -------------------------------------------------------------------------------- /sub_examples/qt_using_qeventloop_badly/plugins/plot/third_party/QCustomPlot/documentation/html/classQCPItemCurve__inherit__graph.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gccore/Examples/9ea92c2e3f79cbde941113436a7294e3dbc4ff75/sub_examples/qt_using_qeventloop_badly/plugins/plot/third_party/QCustomPlot/documentation/html/classQCPItemCurve__inherit__graph.png -------------------------------------------------------------------------------- /sub_examples/qt_using_qeventloop_badly/plugins/plot/third_party/QCustomPlot/documentation/html/classQCPItemEllipse__inherit__graph.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gccore/Examples/9ea92c2e3f79cbde941113436a7294e3dbc4ff75/sub_examples/qt_using_qeventloop_badly/plugins/plot/third_party/QCustomPlot/documentation/html/classQCPItemEllipse__inherit__graph.png -------------------------------------------------------------------------------- /sub_examples/qt_using_qeventloop_badly/plugins/plot/third_party/QCustomPlot/documentation/html/classQCPItemLine__inherit__graph.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gccore/Examples/9ea92c2e3f79cbde941113436a7294e3dbc4ff75/sub_examples/qt_using_qeventloop_badly/plugins/plot/third_party/QCustomPlot/documentation/html/classQCPItemLine__inherit__graph.png -------------------------------------------------------------------------------- /sub_examples/qt_using_qeventloop_badly/plugins/plot/third_party/QCustomPlot/documentation/html/classQCPItemPixmap__inherit__graph.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gccore/Examples/9ea92c2e3f79cbde941113436a7294e3dbc4ff75/sub_examples/qt_using_qeventloop_badly/plugins/plot/third_party/QCustomPlot/documentation/html/classQCPItemPixmap__inherit__graph.png -------------------------------------------------------------------------------- /sub_examples/qt_using_qeventloop_badly/plugins/plot/third_party/QCustomPlot/documentation/html/classQCPItemPosition__inherit__graph.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gccore/Examples/9ea92c2e3f79cbde941113436a7294e3dbc4ff75/sub_examples/qt_using_qeventloop_badly/plugins/plot/third_party/QCustomPlot/documentation/html/classQCPItemPosition__inherit__graph.png -------------------------------------------------------------------------------- /sub_examples/qt_using_qeventloop_badly/plugins/plot/third_party/QCustomPlot/documentation/html/classQCPItemRect__inherit__graph.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gccore/Examples/9ea92c2e3f79cbde941113436a7294e3dbc4ff75/sub_examples/qt_using_qeventloop_badly/plugins/plot/third_party/QCustomPlot/documentation/html/classQCPItemRect__inherit__graph.png -------------------------------------------------------------------------------- /sub_examples/qt_using_qeventloop_badly/plugins/plot/third_party/QCustomPlot/documentation/html/classQCPItemStraightLine__inherit__graph.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gccore/Examples/9ea92c2e3f79cbde941113436a7294e3dbc4ff75/sub_examples/qt_using_qeventloop_badly/plugins/plot/third_party/QCustomPlot/documentation/html/classQCPItemStraightLine__inherit__graph.png -------------------------------------------------------------------------------- /sub_examples/qt_using_qeventloop_badly/plugins/plot/third_party/QCustomPlot/documentation/html/classQCPItemText__inherit__graph.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gccore/Examples/9ea92c2e3f79cbde941113436a7294e3dbc4ff75/sub_examples/qt_using_qeventloop_badly/plugins/plot/third_party/QCustomPlot/documentation/html/classQCPItemText__inherit__graph.png -------------------------------------------------------------------------------- /sub_examples/qt_using_qeventloop_badly/plugins/plot/third_party/QCustomPlot/documentation/html/classQCPItemTracer__inherit__graph.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gccore/Examples/9ea92c2e3f79cbde941113436a7294e3dbc4ff75/sub_examples/qt_using_qeventloop_badly/plugins/plot/third_party/QCustomPlot/documentation/html/classQCPItemTracer__inherit__graph.png -------------------------------------------------------------------------------- /sub_examples/qt_using_qeventloop_badly/plugins/plot/third_party/QCustomPlot/documentation/html/classQCPLayerable__inherit__graph.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gccore/Examples/9ea92c2e3f79cbde941113436a7294e3dbc4ff75/sub_examples/qt_using_qeventloop_badly/plugins/plot/third_party/QCustomPlot/documentation/html/classQCPLayerable__inherit__graph.png -------------------------------------------------------------------------------- /sub_examples/qt_using_qeventloop_badly/plugins/plot/third_party/QCustomPlot/documentation/html/classQCPLayoutElement__inherit__graph.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gccore/Examples/9ea92c2e3f79cbde941113436a7294e3dbc4ff75/sub_examples/qt_using_qeventloop_badly/plugins/plot/third_party/QCustomPlot/documentation/html/classQCPLayoutElement__inherit__graph.png -------------------------------------------------------------------------------- /sub_examples/qt_using_qeventloop_badly/plugins/plot/third_party/QCustomPlot/documentation/html/classQCPLayoutGrid__inherit__graph.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gccore/Examples/9ea92c2e3f79cbde941113436a7294e3dbc4ff75/sub_examples/qt_using_qeventloop_badly/plugins/plot/third_party/QCustomPlot/documentation/html/classQCPLayoutGrid__inherit__graph.png -------------------------------------------------------------------------------- /sub_examples/qt_using_qeventloop_badly/plugins/plot/third_party/QCustomPlot/documentation/html/classQCPLayoutInset__inherit__graph.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gccore/Examples/9ea92c2e3f79cbde941113436a7294e3dbc4ff75/sub_examples/qt_using_qeventloop_badly/plugins/plot/third_party/QCustomPlot/documentation/html/classQCPLayoutInset__inherit__graph.png -------------------------------------------------------------------------------- /sub_examples/qt_using_qeventloop_badly/plugins/plot/third_party/QCustomPlot/documentation/html/classQCPLayout__inherit__graph.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gccore/Examples/9ea92c2e3f79cbde941113436a7294e3dbc4ff75/sub_examples/qt_using_qeventloop_badly/plugins/plot/third_party/QCustomPlot/documentation/html/classQCPLayout__inherit__graph.png -------------------------------------------------------------------------------- /sub_examples/qt_using_qeventloop_badly/plugins/plot/third_party/QCustomPlot/documentation/html/classQCPLegend__inherit__graph.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gccore/Examples/9ea92c2e3f79cbde941113436a7294e3dbc4ff75/sub_examples/qt_using_qeventloop_badly/plugins/plot/third_party/QCustomPlot/documentation/html/classQCPLegend__inherit__graph.png -------------------------------------------------------------------------------- /sub_examples/qt_using_qeventloop_badly/plugins/plot/third_party/QCustomPlot/documentation/html/classQCPPaintBufferGlFbo__inherit__graph.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gccore/Examples/9ea92c2e3f79cbde941113436a7294e3dbc4ff75/sub_examples/qt_using_qeventloop_badly/plugins/plot/third_party/QCustomPlot/documentation/html/classQCPPaintBufferGlFbo__inherit__graph.png -------------------------------------------------------------------------------- /sub_examples/qt_using_qeventloop_badly/plugins/plot/third_party/QCustomPlot/documentation/html/classQCPPaintBufferGlPbuffer__inherit__graph.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gccore/Examples/9ea92c2e3f79cbde941113436a7294e3dbc4ff75/sub_examples/qt_using_qeventloop_badly/plugins/plot/third_party/QCustomPlot/documentation/html/classQCPPaintBufferGlPbuffer__inherit__graph.png -------------------------------------------------------------------------------- /sub_examples/qt_using_qeventloop_badly/plugins/plot/third_party/QCustomPlot/documentation/html/classQCPPaintBufferPixmap__inherit__graph.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gccore/Examples/9ea92c2e3f79cbde941113436a7294e3dbc4ff75/sub_examples/qt_using_qeventloop_badly/plugins/plot/third_party/QCustomPlot/documentation/html/classQCPPaintBufferPixmap__inherit__graph.png -------------------------------------------------------------------------------- /sub_examples/qt_using_qeventloop_badly/plugins/plot/third_party/QCustomPlot/documentation/html/classQCPPlottableInterface1D__inherit__graph.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gccore/Examples/9ea92c2e3f79cbde941113436a7294e3dbc4ff75/sub_examples/qt_using_qeventloop_badly/plugins/plot/third_party/QCustomPlot/documentation/html/classQCPPlottableInterface1D__inherit__graph.png -------------------------------------------------------------------------------- /sub_examples/qt_using_qeventloop_badly/plugins/plot/third_party/QCustomPlot/documentation/html/classQCPPlottableLegendItem__inherit__graph.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gccore/Examples/9ea92c2e3f79cbde941113436a7294e3dbc4ff75/sub_examples/qt_using_qeventloop_badly/plugins/plot/third_party/QCustomPlot/documentation/html/classQCPPlottableLegendItem__inherit__graph.png -------------------------------------------------------------------------------- /sub_examples/qt_using_qeventloop_badly/plugins/plot/third_party/QCustomPlot/documentation/html/classQCPPolarAxisAngular__inherit__graph.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gccore/Examples/9ea92c2e3f79cbde941113436a7294e3dbc4ff75/sub_examples/qt_using_qeventloop_badly/plugins/plot/third_party/QCustomPlot/documentation/html/classQCPPolarAxisAngular__inherit__graph.png -------------------------------------------------------------------------------- /sub_examples/qt_using_qeventloop_badly/plugins/plot/third_party/QCustomPlot/documentation/html/classQCPPolarAxisRadial__inherit__graph.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gccore/Examples/9ea92c2e3f79cbde941113436a7294e3dbc4ff75/sub_examples/qt_using_qeventloop_badly/plugins/plot/third_party/QCustomPlot/documentation/html/classQCPPolarAxisRadial__inherit__graph.png -------------------------------------------------------------------------------- /sub_examples/qt_using_qeventloop_badly/plugins/plot/third_party/QCustomPlot/documentation/html/classQCPPolarGraph__inherit__graph.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gccore/Examples/9ea92c2e3f79cbde941113436a7294e3dbc4ff75/sub_examples/qt_using_qeventloop_badly/plugins/plot/third_party/QCustomPlot/documentation/html/classQCPPolarGraph__inherit__graph.png -------------------------------------------------------------------------------- /sub_examples/qt_using_qeventloop_badly/plugins/plot/third_party/QCustomPlot/documentation/html/classQCPPolarGrid__inherit__graph.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gccore/Examples/9ea92c2e3f79cbde941113436a7294e3dbc4ff75/sub_examples/qt_using_qeventloop_badly/plugins/plot/third_party/QCustomPlot/documentation/html/classQCPPolarGrid__inherit__graph.png -------------------------------------------------------------------------------- /sub_examples/qt_using_qeventloop_badly/plugins/plot/third_party/QCustomPlot/documentation/html/classQCPPolarLegendItem__inherit__graph.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gccore/Examples/9ea92c2e3f79cbde941113436a7294e3dbc4ff75/sub_examples/qt_using_qeventloop_badly/plugins/plot/third_party/QCustomPlot/documentation/html/classQCPPolarLegendItem__inherit__graph.png -------------------------------------------------------------------------------- /sub_examples/qt_using_qeventloop_badly/plugins/plot/third_party/QCustomPlot/documentation/html/classQCPSelectionDecoratorBracket__inherit__graph.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gccore/Examples/9ea92c2e3f79cbde941113436a7294e3dbc4ff75/sub_examples/qt_using_qeventloop_badly/plugins/plot/third_party/QCustomPlot/documentation/html/classQCPSelectionDecoratorBracket__inherit__graph.png -------------------------------------------------------------------------------- /sub_examples/qt_using_qeventloop_badly/plugins/plot/third_party/QCustomPlot/documentation/html/classQCPSelectionDecorator__inherit__graph.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gccore/Examples/9ea92c2e3f79cbde941113436a7294e3dbc4ff75/sub_examples/qt_using_qeventloop_badly/plugins/plot/third_party/QCustomPlot/documentation/html/classQCPSelectionDecorator__inherit__graph.png -------------------------------------------------------------------------------- /sub_examples/qt_using_qeventloop_badly/plugins/plot/third_party/QCustomPlot/documentation/html/classQCPSelectionRect__inherit__graph.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gccore/Examples/9ea92c2e3f79cbde941113436a7294e3dbc4ff75/sub_examples/qt_using_qeventloop_badly/plugins/plot/third_party/QCustomPlot/documentation/html/classQCPSelectionRect__inherit__graph.png -------------------------------------------------------------------------------- /sub_examples/qt_using_qeventloop_badly/plugins/plot/third_party/QCustomPlot/documentation/html/classQCPStatisticalBox__inherit__graph.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gccore/Examples/9ea92c2e3f79cbde941113436a7294e3dbc4ff75/sub_examples/qt_using_qeventloop_badly/plugins/plot/third_party/QCustomPlot/documentation/html/classQCPStatisticalBox__inherit__graph.png -------------------------------------------------------------------------------- /sub_examples/qt_using_qeventloop_badly/plugins/plot/third_party/QCustomPlot/documentation/html/classQCPTextElement__inherit__graph.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gccore/Examples/9ea92c2e3f79cbde941113436a7294e3dbc4ff75/sub_examples/qt_using_qeventloop_badly/plugins/plot/third_party/QCustomPlot/documentation/html/classQCPTextElement__inherit__graph.png -------------------------------------------------------------------------------- /sub_examples/qt_using_qeventloop_badly/plugins/plot/third_party/QCustomPlot/documentation/html/closed.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gccore/Examples/9ea92c2e3f79cbde941113436a7294e3dbc4ff75/sub_examples/qt_using_qeventloop_badly/plugins/plot/third_party/QCustomPlot/documentation/html/closed.png -------------------------------------------------------------------------------- /sub_examples/qt_using_qeventloop_badly/plugins/plot/third_party/QCustomPlot/documentation/html/doc.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gccore/Examples/9ea92c2e3f79cbde941113436a7294e3dbc4ff75/sub_examples/qt_using_qeventloop_badly/plugins/plot/third_party/QCustomPlot/documentation/html/doc.png -------------------------------------------------------------------------------- /sub_examples/qt_using_qeventloop_badly/plugins/plot/third_party/QCustomPlot/documentation/html/doxygen.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gccore/Examples/9ea92c2e3f79cbde941113436a7294e3dbc4ff75/sub_examples/qt_using_qeventloop_badly/plugins/plot/third_party/QCustomPlot/documentation/html/doxygen.png -------------------------------------------------------------------------------- /sub_examples/qt_using_qeventloop_badly/plugins/plot/third_party/QCustomPlot/documentation/html/folderclosed.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gccore/Examples/9ea92c2e3f79cbde941113436a7294e3dbc4ff75/sub_examples/qt_using_qeventloop_badly/plugins/plot/third_party/QCustomPlot/documentation/html/folderclosed.png -------------------------------------------------------------------------------- /sub_examples/qt_using_qeventloop_badly/plugins/plot/third_party/QCustomPlot/documentation/html/folderopen.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gccore/Examples/9ea92c2e3f79cbde941113436a7294e3dbc4ff75/sub_examples/qt_using_qeventloop_badly/plugins/plot/third_party/QCustomPlot/documentation/html/folderopen.png -------------------------------------------------------------------------------- /sub_examples/qt_using_qeventloop_badly/plugins/plot/third_party/QCustomPlot/documentation/html/inherit_graph_0.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gccore/Examples/9ea92c2e3f79cbde941113436a7294e3dbc4ff75/sub_examples/qt_using_qeventloop_badly/plugins/plot/third_party/QCustomPlot/documentation/html/inherit_graph_0.png -------------------------------------------------------------------------------- /sub_examples/qt_using_qeventloop_badly/plugins/plot/third_party/QCustomPlot/documentation/html/inherit_graph_1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gccore/Examples/9ea92c2e3f79cbde941113436a7294e3dbc4ff75/sub_examples/qt_using_qeventloop_badly/plugins/plot/third_party/QCustomPlot/documentation/html/inherit_graph_1.png -------------------------------------------------------------------------------- /sub_examples/qt_using_qeventloop_badly/plugins/plot/third_party/QCustomPlot/documentation/html/inherit_graph_10.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gccore/Examples/9ea92c2e3f79cbde941113436a7294e3dbc4ff75/sub_examples/qt_using_qeventloop_badly/plugins/plot/third_party/QCustomPlot/documentation/html/inherit_graph_10.png -------------------------------------------------------------------------------- /sub_examples/qt_using_qeventloop_badly/plugins/plot/third_party/QCustomPlot/documentation/html/inherit_graph_11.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gccore/Examples/9ea92c2e3f79cbde941113436a7294e3dbc4ff75/sub_examples/qt_using_qeventloop_badly/plugins/plot/third_party/QCustomPlot/documentation/html/inherit_graph_11.png -------------------------------------------------------------------------------- /sub_examples/qt_using_qeventloop_badly/plugins/plot/third_party/QCustomPlot/documentation/html/inherit_graph_12.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gccore/Examples/9ea92c2e3f79cbde941113436a7294e3dbc4ff75/sub_examples/qt_using_qeventloop_badly/plugins/plot/third_party/QCustomPlot/documentation/html/inherit_graph_12.png -------------------------------------------------------------------------------- /sub_examples/qt_using_qeventloop_badly/plugins/plot/third_party/QCustomPlot/documentation/html/inherit_graph_13.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gccore/Examples/9ea92c2e3f79cbde941113436a7294e3dbc4ff75/sub_examples/qt_using_qeventloop_badly/plugins/plot/third_party/QCustomPlot/documentation/html/inherit_graph_13.png -------------------------------------------------------------------------------- /sub_examples/qt_using_qeventloop_badly/plugins/plot/third_party/QCustomPlot/documentation/html/inherit_graph_14.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gccore/Examples/9ea92c2e3f79cbde941113436a7294e3dbc4ff75/sub_examples/qt_using_qeventloop_badly/plugins/plot/third_party/QCustomPlot/documentation/html/inherit_graph_14.png -------------------------------------------------------------------------------- /sub_examples/qt_using_qeventloop_badly/plugins/plot/third_party/QCustomPlot/documentation/html/inherit_graph_15.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gccore/Examples/9ea92c2e3f79cbde941113436a7294e3dbc4ff75/sub_examples/qt_using_qeventloop_badly/plugins/plot/third_party/QCustomPlot/documentation/html/inherit_graph_15.png -------------------------------------------------------------------------------- /sub_examples/qt_using_qeventloop_badly/plugins/plot/third_party/QCustomPlot/documentation/html/inherit_graph_16.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gccore/Examples/9ea92c2e3f79cbde941113436a7294e3dbc4ff75/sub_examples/qt_using_qeventloop_badly/plugins/plot/third_party/QCustomPlot/documentation/html/inherit_graph_16.png -------------------------------------------------------------------------------- /sub_examples/qt_using_qeventloop_badly/plugins/plot/third_party/QCustomPlot/documentation/html/inherit_graph_17.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gccore/Examples/9ea92c2e3f79cbde941113436a7294e3dbc4ff75/sub_examples/qt_using_qeventloop_badly/plugins/plot/third_party/QCustomPlot/documentation/html/inherit_graph_17.png -------------------------------------------------------------------------------- /sub_examples/qt_using_qeventloop_badly/plugins/plot/third_party/QCustomPlot/documentation/html/inherit_graph_18.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gccore/Examples/9ea92c2e3f79cbde941113436a7294e3dbc4ff75/sub_examples/qt_using_qeventloop_badly/plugins/plot/third_party/QCustomPlot/documentation/html/inherit_graph_18.png -------------------------------------------------------------------------------- /sub_examples/qt_using_qeventloop_badly/plugins/plot/third_party/QCustomPlot/documentation/html/inherit_graph_19.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gccore/Examples/9ea92c2e3f79cbde941113436a7294e3dbc4ff75/sub_examples/qt_using_qeventloop_badly/plugins/plot/third_party/QCustomPlot/documentation/html/inherit_graph_19.png -------------------------------------------------------------------------------- /sub_examples/qt_using_qeventloop_badly/plugins/plot/third_party/QCustomPlot/documentation/html/inherit_graph_2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gccore/Examples/9ea92c2e3f79cbde941113436a7294e3dbc4ff75/sub_examples/qt_using_qeventloop_badly/plugins/plot/third_party/QCustomPlot/documentation/html/inherit_graph_2.png -------------------------------------------------------------------------------- /sub_examples/qt_using_qeventloop_badly/plugins/plot/third_party/QCustomPlot/documentation/html/inherit_graph_20.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gccore/Examples/9ea92c2e3f79cbde941113436a7294e3dbc4ff75/sub_examples/qt_using_qeventloop_badly/plugins/plot/third_party/QCustomPlot/documentation/html/inherit_graph_20.png -------------------------------------------------------------------------------- /sub_examples/qt_using_qeventloop_badly/plugins/plot/third_party/QCustomPlot/documentation/html/inherit_graph_21.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gccore/Examples/9ea92c2e3f79cbde941113436a7294e3dbc4ff75/sub_examples/qt_using_qeventloop_badly/plugins/plot/third_party/QCustomPlot/documentation/html/inherit_graph_21.png -------------------------------------------------------------------------------- /sub_examples/qt_using_qeventloop_badly/plugins/plot/third_party/QCustomPlot/documentation/html/inherit_graph_22.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gccore/Examples/9ea92c2e3f79cbde941113436a7294e3dbc4ff75/sub_examples/qt_using_qeventloop_badly/plugins/plot/third_party/QCustomPlot/documentation/html/inherit_graph_22.png -------------------------------------------------------------------------------- /sub_examples/qt_using_qeventloop_badly/plugins/plot/third_party/QCustomPlot/documentation/html/inherit_graph_23.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gccore/Examples/9ea92c2e3f79cbde941113436a7294e3dbc4ff75/sub_examples/qt_using_qeventloop_badly/plugins/plot/third_party/QCustomPlot/documentation/html/inherit_graph_23.png -------------------------------------------------------------------------------- /sub_examples/qt_using_qeventloop_badly/plugins/plot/third_party/QCustomPlot/documentation/html/inherit_graph_24.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gccore/Examples/9ea92c2e3f79cbde941113436a7294e3dbc4ff75/sub_examples/qt_using_qeventloop_badly/plugins/plot/third_party/QCustomPlot/documentation/html/inherit_graph_24.png -------------------------------------------------------------------------------- /sub_examples/qt_using_qeventloop_badly/plugins/plot/third_party/QCustomPlot/documentation/html/inherit_graph_3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gccore/Examples/9ea92c2e3f79cbde941113436a7294e3dbc4ff75/sub_examples/qt_using_qeventloop_badly/plugins/plot/third_party/QCustomPlot/documentation/html/inherit_graph_3.png -------------------------------------------------------------------------------- /sub_examples/qt_using_qeventloop_badly/plugins/plot/third_party/QCustomPlot/documentation/html/inherit_graph_4.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gccore/Examples/9ea92c2e3f79cbde941113436a7294e3dbc4ff75/sub_examples/qt_using_qeventloop_badly/plugins/plot/third_party/QCustomPlot/documentation/html/inherit_graph_4.png -------------------------------------------------------------------------------- /sub_examples/qt_using_qeventloop_badly/plugins/plot/third_party/QCustomPlot/documentation/html/inherit_graph_5.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gccore/Examples/9ea92c2e3f79cbde941113436a7294e3dbc4ff75/sub_examples/qt_using_qeventloop_badly/plugins/plot/third_party/QCustomPlot/documentation/html/inherit_graph_5.png -------------------------------------------------------------------------------- /sub_examples/qt_using_qeventloop_badly/plugins/plot/third_party/QCustomPlot/documentation/html/inherit_graph_6.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gccore/Examples/9ea92c2e3f79cbde941113436a7294e3dbc4ff75/sub_examples/qt_using_qeventloop_badly/plugins/plot/third_party/QCustomPlot/documentation/html/inherit_graph_6.png -------------------------------------------------------------------------------- /sub_examples/qt_using_qeventloop_badly/plugins/plot/third_party/QCustomPlot/documentation/html/inherit_graph_7.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gccore/Examples/9ea92c2e3f79cbde941113436a7294e3dbc4ff75/sub_examples/qt_using_qeventloop_badly/plugins/plot/third_party/QCustomPlot/documentation/html/inherit_graph_7.png -------------------------------------------------------------------------------- /sub_examples/qt_using_qeventloop_badly/plugins/plot/third_party/QCustomPlot/documentation/html/inherit_graph_8.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gccore/Examples/9ea92c2e3f79cbde941113436a7294e3dbc4ff75/sub_examples/qt_using_qeventloop_badly/plugins/plot/third_party/QCustomPlot/documentation/html/inherit_graph_8.png -------------------------------------------------------------------------------- /sub_examples/qt_using_qeventloop_badly/plugins/plot/third_party/QCustomPlot/documentation/html/inherit_graph_9.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gccore/Examples/9ea92c2e3f79cbde941113436a7294e3dbc4ff75/sub_examples/qt_using_qeventloop_badly/plugins/plot/third_party/QCustomPlot/documentation/html/inherit_graph_9.png -------------------------------------------------------------------------------- /sub_examples/qt_using_qeventloop_badly/plugins/plot/third_party/QCustomPlot/documentation/html/layoutsystem-addinglegendtitle.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gccore/Examples/9ea92c2e3f79cbde941113436a7294e3dbc4ff75/sub_examples/qt_using_qeventloop_badly/plugins/plot/third_party/QCustomPlot/documentation/html/layoutsystem-addinglegendtitle.png -------------------------------------------------------------------------------- /sub_examples/qt_using_qeventloop_badly/plugins/plot/third_party/QCustomPlot/documentation/html/layoutsystem-addingplottitle.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gccore/Examples/9ea92c2e3f79cbde941113436a7294e3dbc4ff75/sub_examples/qt_using_qeventloop_badly/plugins/plot/third_party/QCustomPlot/documentation/html/layoutsystem-addingplottitle.png -------------------------------------------------------------------------------- /sub_examples/qt_using_qeventloop_badly/plugins/plot/third_party/QCustomPlot/documentation/html/layoutsystem-movinglegend.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gccore/Examples/9ea92c2e3f79cbde941113436a7294e3dbc4ff75/sub_examples/qt_using_qeventloop_badly/plugins/plot/third_party/QCustomPlot/documentation/html/layoutsystem-movinglegend.png -------------------------------------------------------------------------------- /sub_examples/qt_using_qeventloop_badly/plugins/plot/third_party/QCustomPlot/documentation/html/layoutsystem-multipleaxisrects.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gccore/Examples/9ea92c2e3f79cbde941113436a7294e3dbc4ff75/sub_examples/qt_using_qeventloop_badly/plugins/plot/third_party/QCustomPlot/documentation/html/layoutsystem-multipleaxisrects.png -------------------------------------------------------------------------------- /sub_examples/qt_using_qeventloop_badly/plugins/plot/third_party/QCustomPlot/documentation/html/nav_f.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gccore/Examples/9ea92c2e3f79cbde941113436a7294e3dbc4ff75/sub_examples/qt_using_qeventloop_badly/plugins/plot/third_party/QCustomPlot/documentation/html/nav_f.png -------------------------------------------------------------------------------- /sub_examples/qt_using_qeventloop_badly/plugins/plot/third_party/QCustomPlot/documentation/html/nav_g.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gccore/Examples/9ea92c2e3f79cbde941113436a7294e3dbc4ff75/sub_examples/qt_using_qeventloop_badly/plugins/plot/third_party/QCustomPlot/documentation/html/nav_g.png -------------------------------------------------------------------------------- /sub_examples/qt_using_qeventloop_badly/plugins/plot/third_party/QCustomPlot/documentation/html/nav_h.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gccore/Examples/9ea92c2e3f79cbde941113436a7294e3dbc4ff75/sub_examples/qt_using_qeventloop_badly/plugins/plot/third_party/QCustomPlot/documentation/html/nav_h.png -------------------------------------------------------------------------------- /sub_examples/qt_using_qeventloop_badly/plugins/plot/third_party/QCustomPlot/documentation/html/open.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gccore/Examples/9ea92c2e3f79cbde941113436a7294e3dbc4ff75/sub_examples/qt_using_qeventloop_badly/plugins/plot/third_party/QCustomPlot/documentation/html/open.png -------------------------------------------------------------------------------- /sub_examples/qt_using_qeventloop_badly/plugins/plot/third_party/QCustomPlot/documentation/html/qcp-doc-logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gccore/Examples/9ea92c2e3f79cbde941113436a7294e3dbc4ff75/sub_examples/qt_using_qeventloop_badly/plugins/plot/third_party/QCustomPlot/documentation/html/qcp-doc-logo.png -------------------------------------------------------------------------------- /sub_examples/qt_using_qeventloop_badly/plugins/plot/third_party/QCustomPlot/documentation/html/selectiontype-datarange.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gccore/Examples/9ea92c2e3f79cbde941113436a7294e3dbc4ff75/sub_examples/qt_using_qeventloop_badly/plugins/plot/third_party/QCustomPlot/documentation/html/selectiontype-datarange.png -------------------------------------------------------------------------------- /sub_examples/qt_using_qeventloop_badly/plugins/plot/third_party/QCustomPlot/documentation/html/selectiontype-multipledataranges.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gccore/Examples/9ea92c2e3f79cbde941113436a7294e3dbc4ff75/sub_examples/qt_using_qeventloop_badly/plugins/plot/third_party/QCustomPlot/documentation/html/selectiontype-multipledataranges.png -------------------------------------------------------------------------------- /sub_examples/qt_using_qeventloop_badly/plugins/plot/third_party/QCustomPlot/documentation/html/selectiontype-none.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gccore/Examples/9ea92c2e3f79cbde941113436a7294e3dbc4ff75/sub_examples/qt_using_qeventloop_badly/plugins/plot/third_party/QCustomPlot/documentation/html/selectiontype-none.png -------------------------------------------------------------------------------- /sub_examples/qt_using_qeventloop_badly/plugins/plot/third_party/QCustomPlot/documentation/html/selectiontype-singledata.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gccore/Examples/9ea92c2e3f79cbde941113436a7294e3dbc4ff75/sub_examples/qt_using_qeventloop_badly/plugins/plot/third_party/QCustomPlot/documentation/html/selectiontype-singledata.png -------------------------------------------------------------------------------- /sub_examples/qt_using_qeventloop_badly/plugins/plot/third_party/QCustomPlot/documentation/html/selectiontype-whole.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gccore/Examples/9ea92c2e3f79cbde941113436a7294e3dbc4ff75/sub_examples/qt_using_qeventloop_badly/plugins/plot/third_party/QCustomPlot/documentation/html/selectiontype-whole.png -------------------------------------------------------------------------------- /sub_examples/qt_using_qeventloop_badly/plugins/plot/third_party/QCustomPlot/documentation/html/splitbar.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gccore/Examples/9ea92c2e3f79cbde941113436a7294e3dbc4ff75/sub_examples/qt_using_qeventloop_badly/plugins/plot/third_party/QCustomPlot/documentation/html/splitbar.png -------------------------------------------------------------------------------- /sub_examples/qt_using_qeventloop_badly/plugins/plot/third_party/QCustomPlot/documentation/html/ssCircle.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gccore/Examples/9ea92c2e3f79cbde941113436a7294e3dbc4ff75/sub_examples/qt_using_qeventloop_badly/plugins/plot/third_party/QCustomPlot/documentation/html/ssCircle.png -------------------------------------------------------------------------------- /sub_examples/qt_using_qeventloop_badly/plugins/plot/third_party/QCustomPlot/documentation/html/ssCross.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gccore/Examples/9ea92c2e3f79cbde941113436a7294e3dbc4ff75/sub_examples/qt_using_qeventloop_badly/plugins/plot/third_party/QCustomPlot/documentation/html/ssCross.png -------------------------------------------------------------------------------- /sub_examples/qt_using_qeventloop_badly/plugins/plot/third_party/QCustomPlot/documentation/html/ssCrossCircle.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gccore/Examples/9ea92c2e3f79cbde941113436a7294e3dbc4ff75/sub_examples/qt_using_qeventloop_badly/plugins/plot/third_party/QCustomPlot/documentation/html/ssCrossCircle.png -------------------------------------------------------------------------------- /sub_examples/qt_using_qeventloop_badly/plugins/plot/third_party/QCustomPlot/documentation/html/ssCrossSquare.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gccore/Examples/9ea92c2e3f79cbde941113436a7294e3dbc4ff75/sub_examples/qt_using_qeventloop_badly/plugins/plot/third_party/QCustomPlot/documentation/html/ssCrossSquare.png -------------------------------------------------------------------------------- /sub_examples/qt_using_qeventloop_badly/plugins/plot/third_party/QCustomPlot/documentation/html/ssDiamond.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gccore/Examples/9ea92c2e3f79cbde941113436a7294e3dbc4ff75/sub_examples/qt_using_qeventloop_badly/plugins/plot/third_party/QCustomPlot/documentation/html/ssDiamond.png -------------------------------------------------------------------------------- /sub_examples/qt_using_qeventloop_badly/plugins/plot/third_party/QCustomPlot/documentation/html/ssDisc.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gccore/Examples/9ea92c2e3f79cbde941113436a7294e3dbc4ff75/sub_examples/qt_using_qeventloop_badly/plugins/plot/third_party/QCustomPlot/documentation/html/ssDisc.png -------------------------------------------------------------------------------- /sub_examples/qt_using_qeventloop_badly/plugins/plot/third_party/QCustomPlot/documentation/html/ssDot.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gccore/Examples/9ea92c2e3f79cbde941113436a7294e3dbc4ff75/sub_examples/qt_using_qeventloop_badly/plugins/plot/third_party/QCustomPlot/documentation/html/ssDot.png -------------------------------------------------------------------------------- /sub_examples/qt_using_qeventloop_badly/plugins/plot/third_party/QCustomPlot/documentation/html/ssPeace.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gccore/Examples/9ea92c2e3f79cbde941113436a7294e3dbc4ff75/sub_examples/qt_using_qeventloop_badly/plugins/plot/third_party/QCustomPlot/documentation/html/ssPeace.png -------------------------------------------------------------------------------- /sub_examples/qt_using_qeventloop_badly/plugins/plot/third_party/QCustomPlot/documentation/html/ssPlus.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gccore/Examples/9ea92c2e3f79cbde941113436a7294e3dbc4ff75/sub_examples/qt_using_qeventloop_badly/plugins/plot/third_party/QCustomPlot/documentation/html/ssPlus.png -------------------------------------------------------------------------------- /sub_examples/qt_using_qeventloop_badly/plugins/plot/third_party/QCustomPlot/documentation/html/ssPlusCircle.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gccore/Examples/9ea92c2e3f79cbde941113436a7294e3dbc4ff75/sub_examples/qt_using_qeventloop_badly/plugins/plot/third_party/QCustomPlot/documentation/html/ssPlusCircle.png -------------------------------------------------------------------------------- /sub_examples/qt_using_qeventloop_badly/plugins/plot/third_party/QCustomPlot/documentation/html/ssPlusSquare.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gccore/Examples/9ea92c2e3f79cbde941113436a7294e3dbc4ff75/sub_examples/qt_using_qeventloop_badly/plugins/plot/third_party/QCustomPlot/documentation/html/ssPlusSquare.png -------------------------------------------------------------------------------- /sub_examples/qt_using_qeventloop_badly/plugins/plot/third_party/QCustomPlot/documentation/html/ssSquare.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gccore/Examples/9ea92c2e3f79cbde941113436a7294e3dbc4ff75/sub_examples/qt_using_qeventloop_badly/plugins/plot/third_party/QCustomPlot/documentation/html/ssSquare.png -------------------------------------------------------------------------------- /sub_examples/qt_using_qeventloop_badly/plugins/plot/third_party/QCustomPlot/documentation/html/ssStar.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gccore/Examples/9ea92c2e3f79cbde941113436a7294e3dbc4ff75/sub_examples/qt_using_qeventloop_badly/plugins/plot/third_party/QCustomPlot/documentation/html/ssStar.png -------------------------------------------------------------------------------- /sub_examples/qt_using_qeventloop_badly/plugins/plot/third_party/QCustomPlot/documentation/html/ssTriangle.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gccore/Examples/9ea92c2e3f79cbde941113436a7294e3dbc4ff75/sub_examples/qt_using_qeventloop_badly/plugins/plot/third_party/QCustomPlot/documentation/html/ssTriangle.png -------------------------------------------------------------------------------- /sub_examples/qt_using_qeventloop_badly/plugins/plot/third_party/QCustomPlot/documentation/html/ssTriangleInverted.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gccore/Examples/9ea92c2e3f79cbde941113436a7294e3dbc4ff75/sub_examples/qt_using_qeventloop_badly/plugins/plot/third_party/QCustomPlot/documentation/html/ssTriangleInverted.png -------------------------------------------------------------------------------- /sub_examples/qt_using_qeventloop_badly/plugins/plot/third_party/QCustomPlot/documentation/html/sync_off.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gccore/Examples/9ea92c2e3f79cbde941113436a7294e3dbc4ff75/sub_examples/qt_using_qeventloop_badly/plugins/plot/third_party/QCustomPlot/documentation/html/sync_off.png -------------------------------------------------------------------------------- /sub_examples/qt_using_qeventloop_badly/plugins/plot/third_party/QCustomPlot/documentation/html/sync_on.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gccore/Examples/9ea92c2e3f79cbde941113436a7294e3dbc4ff75/sub_examples/qt_using_qeventloop_badly/plugins/plot/third_party/QCustomPlot/documentation/html/sync_on.png -------------------------------------------------------------------------------- /sub_examples/qt_using_qeventloop_badly/plugins/plot/third_party/QCustomPlot/documentation/html/tab_a.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gccore/Examples/9ea92c2e3f79cbde941113436a7294e3dbc4ff75/sub_examples/qt_using_qeventloop_badly/plugins/plot/third_party/QCustomPlot/documentation/html/tab_a.png -------------------------------------------------------------------------------- /sub_examples/qt_using_qeventloop_badly/plugins/plot/third_party/QCustomPlot/documentation/html/tab_b.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gccore/Examples/9ea92c2e3f79cbde941113436a7294e3dbc4ff75/sub_examples/qt_using_qeventloop_badly/plugins/plot/third_party/QCustomPlot/documentation/html/tab_b.png -------------------------------------------------------------------------------- /sub_examples/qt_using_qeventloop_badly/plugins/plot/third_party/QCustomPlot/documentation/html/tab_h.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gccore/Examples/9ea92c2e3f79cbde941113436a7294e3dbc4ff75/sub_examples/qt_using_qeventloop_badly/plugins/plot/third_party/QCustomPlot/documentation/html/tab_h.png -------------------------------------------------------------------------------- /sub_examples/qt_using_qeventloop_badly/plugins/plot/third_party/QCustomPlot/documentation/html/tab_s.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gccore/Examples/9ea92c2e3f79cbde941113436a7294e3dbc4ff75/sub_examples/qt_using_qeventloop_badly/plugins/plot/third_party/QCustomPlot/documentation/html/tab_s.png -------------------------------------------------------------------------------- /sub_examples/qt_using_qeventloop_badly/plugins/plot/third_party/QCustomPlot/documentation/qcustomplot.qch: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gccore/Examples/9ea92c2e3f79cbde941113436a7294e3dbc4ff75/sub_examples/qt_using_qeventloop_badly/plugins/plot/third_party/QCustomPlot/documentation/qcustomplot.qch -------------------------------------------------------------------------------- /sub_examples/qt_using_qeventloop_badly/plugins/plot/third_party/QCustomPlot/examples/axis-tags/axis-tags-example.pro: -------------------------------------------------------------------------------- 1 | QT += core gui 2 | 3 | greaterThan(QT_MAJOR_VERSION, 4): QT += widgets printsupport 4 | 5 | greaterThan(QT_MAJOR_VERSION, 4): CONFIG += c++11 6 | lessThan(QT_MAJOR_VERSION, 5): QMAKE_CXXFLAGS += -std=c++11 7 | 8 | TARGET = axis-tags-example 9 | TEMPLATE = app 10 | 11 | INCLUDEPATH += ../../ 12 | SOURCES += \ 13 | main.cpp \ 14 | mainwindow.cpp \ 15 | ../../qcustomplot.cpp \ 16 | axistag.cpp 17 | 18 | HEADERS += \ 19 | mainwindow.h \ 20 | ../../qcustomplot.h \ 21 | axistag.h 22 | 23 | FORMS += \ 24 | mainwindow.ui 25 | -------------------------------------------------------------------------------- /sub_examples/qt_using_qeventloop_badly/plugins/plot/third_party/QCustomPlot/examples/axis-tags/main.cpp: -------------------------------------------------------------------------------- 1 | #include "mainwindow.h" 2 | #include 3 | 4 | int main(int argc, char *argv[]) 5 | { 6 | QApplication a(argc, argv); 7 | MainWindow w; 8 | w.show(); 9 | 10 | return a.exec(); 11 | } 12 | -------------------------------------------------------------------------------- /sub_examples/qt_using_qeventloop_badly/plugins/plot/third_party/QCustomPlot/examples/axis-tags/mainwindow.ui: -------------------------------------------------------------------------------- 1 | 2 | 3 | MainWindow 4 | 5 | 6 | 7 | 0 8 | 0 9 | 400 10 | 300 11 | 12 | 13 | 14 | Axis Tags Example 15 | 16 | 17 | 18 | 19 | 20 | 0 21 | 0 22 | 400 23 | 22 24 | 25 | 26 | 27 | 28 | 29 | TopToolBarArea 30 | 31 | 32 | false 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | -------------------------------------------------------------------------------- /sub_examples/qt_using_qeventloop_badly/plugins/plot/third_party/QCustomPlot/examples/interactions/interaction-example.pro: -------------------------------------------------------------------------------- 1 | #------------------------------------------------- 2 | # 3 | # Project created by QtCreator 2012-03-04T23:24:55 4 | # 5 | #------------------------------------------------- 6 | 7 | QT += core gui 8 | greaterThan(QT_MAJOR_VERSION, 4): QT += widgets printsupport 9 | 10 | greaterThan(QT_MAJOR_VERSION, 4): CONFIG += c++11 11 | lessThan(QT_MAJOR_VERSION, 5): QMAKE_CXXFLAGS += -std=c++11 12 | 13 | TARGET = interaction-example 14 | TEMPLATE = app 15 | 16 | SOURCES += main.cpp\ 17 | mainwindow.cpp \ 18 | ../../qcustomplot.cpp 19 | 20 | HEADERS += mainwindow.h \ 21 | ../../qcustomplot.h 22 | 23 | FORMS += mainwindow.ui 24 | 25 | -------------------------------------------------------------------------------- /sub_examples/qt_using_qeventloop_badly/plugins/plot/third_party/QCustomPlot/examples/interactions/main.cpp: -------------------------------------------------------------------------------- 1 | #include 2 | #include "mainwindow.h" 3 | 4 | int main(int argc, char *argv[]) 5 | { 6 | QApplication a(argc, argv); 7 | MainWindow w; 8 | w.show(); 9 | 10 | return a.exec(); 11 | } 12 | -------------------------------------------------------------------------------- /sub_examples/qt_using_qeventloop_badly/plugins/plot/third_party/QCustomPlot/examples/interactions/mainwindow.h: -------------------------------------------------------------------------------- 1 | #ifndef MAINWINDOW_H 2 | #define MAINWINDOW_H 3 | 4 | #include 5 | #include 6 | #include "../../qcustomplot.h" 7 | 8 | namespace Ui { 9 | class MainWindow; 10 | } 11 | 12 | class MainWindow : public QMainWindow 13 | { 14 | Q_OBJECT 15 | 16 | public: 17 | explicit MainWindow(QWidget *parent = 0); 18 | ~MainWindow(); 19 | 20 | private slots: 21 | void titleDoubleClick(QMouseEvent *event); 22 | void axisLabelDoubleClick(QCPAxis* axis, QCPAxis::SelectablePart part); 23 | void legendDoubleClick(QCPLegend* legend, QCPAbstractLegendItem* item); 24 | void selectionChanged(); 25 | void mousePress(); 26 | void mouseWheel(); 27 | void addRandomGraph(); 28 | void removeSelectedGraph(); 29 | void removeAllGraphs(); 30 | void contextMenuRequest(QPoint pos); 31 | void moveLegend(); 32 | void graphClicked(QCPAbstractPlottable *plottable, int dataIndex); 33 | 34 | private: 35 | Ui::MainWindow *ui; 36 | }; 37 | 38 | #endif // MAINWINDOW_H 39 | -------------------------------------------------------------------------------- /sub_examples/qt_using_qeventloop_badly/plugins/plot/third_party/QCustomPlot/examples/plots/balboa.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gccore/Examples/9ea92c2e3f79cbde941113436a7294e3dbc4ff75/sub_examples/qt_using_qeventloop_badly/plugins/plot/third_party/QCustomPlot/examples/plots/balboa.jpg -------------------------------------------------------------------------------- /sub_examples/qt_using_qeventloop_badly/plugins/plot/third_party/QCustomPlot/examples/plots/mainwindow.ui: -------------------------------------------------------------------------------- 1 | 2 | 3 | MainWindow 4 | 5 | 6 | 7 | 0 8 | 0 9 | 548 10 | 420 11 | 12 | 13 | 14 | QCustomPlot plot examples 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | QCustomPlot 29 | QWidget 30 |
../../qcustomplot.h
31 | 1 32 |
33 |
34 | 35 | 36 |
37 | -------------------------------------------------------------------------------- /sub_examples/qt_using_qeventloop_badly/plugins/plot/third_party/QCustomPlot/examples/plots/plot-examples.pro: -------------------------------------------------------------------------------- 1 | # 2 | # QCustomPlot Plot Examples 3 | # 4 | 5 | QT += core gui 6 | greaterThan(QT_MAJOR_VERSION, 4): QT += widgets printsupport 7 | 8 | greaterThan(QT_MAJOR_VERSION, 4): CONFIG += c++11 9 | lessThan(QT_MAJOR_VERSION, 5): QMAKE_CXXFLAGS += -std=c++11 10 | 11 | TARGET = plot-examples 12 | TEMPLATE = app 13 | 14 | SOURCES += main.cpp\ 15 | mainwindow.cpp \ 16 | ../../qcustomplot.cpp 17 | 18 | HEADERS += mainwindow.h \ 19 | ../../qcustomplot.h 20 | 21 | FORMS += mainwindow.ui 22 | 23 | -------------------------------------------------------------------------------- /sub_examples/qt_using_qeventloop_badly/plugins/plot/third_party/QCustomPlot/examples/plots/solarpanels.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gccore/Examples/9ea92c2e3f79cbde941113436a7294e3dbc4ff75/sub_examples/qt_using_qeventloop_badly/plugins/plot/third_party/QCustomPlot/examples/plots/solarpanels.jpg -------------------------------------------------------------------------------- /sub_examples/qt_using_qeventloop_badly/plugins/plot/third_party/QCustomPlot/examples/plots/sun.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gccore/Examples/9ea92c2e3f79cbde941113436a7294e3dbc4ff75/sub_examples/qt_using_qeventloop_badly/plugins/plot/third_party/QCustomPlot/examples/plots/sun.png -------------------------------------------------------------------------------- /sub_examples/qt_using_qeventloop_badly/plugins/plot/third_party/QCustomPlot/examples/scrollbar-axis-range-control/main.cpp: -------------------------------------------------------------------------------- 1 | #include "mainwindow.h" 2 | #include 3 | 4 | int main(int argc, char *argv[]) 5 | { 6 | QApplication a(argc, argv); 7 | MainWindow w; 8 | w.show(); 9 | 10 | return a.exec(); 11 | } 12 | -------------------------------------------------------------------------------- /sub_examples/qt_using_qeventloop_badly/plugins/plot/third_party/QCustomPlot/examples/scrollbar-axis-range-control/scrollbar-axis-range-control.pro: -------------------------------------------------------------------------------- 1 | #------------------------------------------------- 2 | # 3 | # Project created by QtCreator 2013-07-25T20:43:22 4 | # 5 | #------------------------------------------------- 6 | 7 | QT += core gui 8 | 9 | greaterThan(QT_MAJOR_VERSION, 4): QT += widgets printsupport 10 | 11 | greaterThan(QT_MAJOR_VERSION, 4): CONFIG += c++11 12 | lessThan(QT_MAJOR_VERSION, 5): QMAKE_CXXFLAGS += -std=c++11 13 | 14 | TARGET = scrollbar-axis-range-control 15 | TEMPLATE = app 16 | 17 | 18 | SOURCES += main.cpp\ 19 | mainwindow.cpp \ 20 | ../../qcustomplot.cpp 21 | 22 | HEADERS += mainwindow.h \ 23 | ../../qcustomplot.h 24 | 25 | FORMS += mainwindow.ui 26 | -------------------------------------------------------------------------------- /sub_examples/qt_using_qeventloop_badly/plugins/plot/third_party/QCustomPlot/examples/text-document-integration/main.cpp: -------------------------------------------------------------------------------- 1 | #include "mainwindow.h" 2 | #include 3 | 4 | int main(int argc, char *argv[]) 5 | { 6 | QApplication a(argc, argv); 7 | MainWindow w; 8 | w.show(); 9 | 10 | return a.exec(); 11 | } 12 | -------------------------------------------------------------------------------- /sub_examples/qt_using_qeventloop_badly/plugins/plot/third_party/QCustomPlot/examples/text-document-integration/text-document-integration.pro: -------------------------------------------------------------------------------- 1 | #------------------------------------------------- 2 | # 3 | # Project created by QtCreator 2013-07-06T18:51:44 4 | # 5 | #------------------------------------------------- 6 | 7 | QT += core gui 8 | 9 | greaterThan(QT_MAJOR_VERSION, 4): QT += widgets printsupport 10 | 11 | greaterThan(QT_MAJOR_VERSION, 4): CONFIG += c++11 12 | lessThan(QT_MAJOR_VERSION, 5): QMAKE_CXXFLAGS += -std=c++11 13 | 14 | TARGET = text-document-integration 15 | TEMPLATE = app 16 | 17 | 18 | SOURCES += main.cpp\ 19 | mainwindow.cpp \ 20 | qcpdocumentobject.cpp \ 21 | ../../qcustomplot.cpp 22 | 23 | HEADERS += mainwindow.h \ 24 | qcpdocumentobject.h \ 25 | ../../qcustomplot.h 26 | 27 | FORMS += mainwindow.ui 28 | -------------------------------------------------------------------------------- /sub_examples/qt_using_qeventloop_badly/plugins/plot_sin/include/plot_sin/meta.json: -------------------------------------------------------------------------------- 1 | { 2 | "Keys": [ "plot_sin-v0.0.1" ] 3 | } 4 | -------------------------------------------------------------------------------- /sub_examples/qt_using_qeventloop_badly/plugins/plot_sin/include/plot_sin/plot_sin_plugin.h: -------------------------------------------------------------------------------- 1 | #ifndef CORE_PLUGINS_PLOT_SIN_PLUGIN_H 2 | #define CORE_PLUGINS_PLOT_SIN_PLUGIN_H 3 | 4 | #include "core_interface/core_interface.h" 5 | #include "core_common_things/result.h" 6 | 7 | #include 8 | #include 9 | #include 10 | #include 11 | #include 12 | 13 | namespace core::plugins::plot_sin { 14 | class PlotSin final : public interface::Plugin { 15 | Q_OBJECT 16 | Q_PLUGIN_METADATA(IID CORE_PLUGINS_INTERFACE FILE "meta.json") 17 | Q_INTERFACES(core::plugins::interface::Plugin) 18 | 19 | public: 20 | QPointer init_plugin() override; 21 | QString get_plugin_name() const override; 22 | 23 | private: 24 | Q_SLOT void on_recived_plugin(Result const& plugin) override; 25 | Q_SIGNAL void on_value_updated(QPointF const& value); 26 | 27 | QPointer widget_; 28 | QPointer thread_; 29 | }; 30 | } // namespace core::plugins::plot_sin 31 | 32 | #endif // CORE_PLUGINS_PLOT_SIN_PLUGIN_H 33 | -------------------------------------------------------------------------------- /sub_examples/qtablewidget_selection/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | cmake_minimum_required(VERSION 3.5) 2 | 3 | get_filename_component(PROJECT_SELECTED_NAME ${CMAKE_CURRENT_SOURCE_DIR} NAME) 4 | string(REPLACE " " "_" PROJECT_SELECTED_NAME ${PROJECT_SELECTED_NAME}) 5 | project(${PROJECT_SELECTED_NAME} LANGUAGES CXX) 6 | 7 | set(CMAKE_AUTOUIC ON) 8 | set(CMAKE_AUTOMOC ON) 9 | set(CMAKE_AUTORCC ON) 10 | 11 | set(CMAKE_CXX_STANDARD 17) 12 | set(CMAKE_CXX_STANDARD_REQUIRED ON) 13 | 14 | find_package(QT NAMES Qt6 Qt5 COMPONENTS Widgets Core REQUIRED) 15 | find_package(Qt${QT_VERSION_MAJOR} COMPONENTS Widgets Core REQUIRED) 16 | 17 | file(GLOB HEADER_ONLY_FILES ${CMAKE_CURRENT_SOURCE_DIR}/source/*.hpp) 18 | file(GLOB SOURCE_FILES ${CMAKE_CURRENT_SOURCE_DIR}/source/*.cpp) 19 | file(GLOB HEADER_FILES ${CMAKE_CURRENT_SOURCE_DIR}/source/*.h) 20 | file(GLOB RESOURCE_FILES ${CMAKE_CURRENT_SOURCE_DIR}/source/*.qrc) 21 | 22 | add_executable(${PROJECT_NAME} 23 | ${HEADER_FILE_ONLY} 24 | ${RESOURCE_FILES} 25 | ${SOURCE_FILES} 26 | ${HEADER_FILES} 27 | ) 28 | target_link_libraries(${PROJECT_NAME} PRIVATE 29 | Qt${QT_MAJOR_VERSION}::Core 30 | Qt${QT_MAJOR_VERSION}::Widgets 31 | ) 32 | -------------------------------------------------------------------------------- /sub_examples/qtreeview_item_creation/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | cmake_minimum_required(VERSION 3.5) 2 | 3 | get_filename_component(PROJECT_SELECTED_NAME ${CMAKE_CURRENT_SOURCE_DIR} NAME) 4 | string(REPLACE " " "_" PROJECT_SELECTED_NAME ${PROJECT_SELECTED_NAME}) 5 | project(${PROJECT_SELECTED_NAME} LANGUAGES CXX) 6 | 7 | set(CMAKE_CXX_STANDARD 17) 8 | set(CMAKE_CXX_STANDARD_REQUIRED ON) 9 | 10 | find_package(QT NAMES Qt6 Qt5 COMPONENTS Widgets Core REQUIRED) 11 | find_package(Qt${QT_VERSION_MAJOR} COMPONENTS Widgets Core REQUIRED) 12 | 13 | file(GLOB HEADER_ONLY_FILES ${CMAKE_CURRENT_SOURCE_DIR}/source/*.hpp) 14 | file(GLOB SOURCE_FILES ${CMAKE_CURRENT_SOURCE_DIR}/source/*.cpp) 15 | file(GLOB HEADER_FILES ${CMAKE_CURRENT_SOURCE_DIR}/source/*.h) 16 | 17 | add_executable(${PROJECT_NAME} 18 | ${HEADER_FILE_ONLY} 19 | ${SOURCE_FILES} 20 | ${HEADER_FILES} 21 | ) 22 | target_link_libraries(${PROJECT_NAME} PRIVATE 23 | Qt${QT_VERSION_MAJOR}::Widgets 24 | Qt${QT_VERSION_MAJOR}::Core 25 | ) 26 | -------------------------------------------------------------------------------- /sub_examples/read_input_with_timeout/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | cmake_minimum_required(VERSION 3.5) 2 | 3 | get_filename_component(PROJECT_SELECTED_NAME ${CMAKE_CURRENT_SOURCE_DIR} NAME) 4 | string(REPLACE " " "_" PROJECT_SELECTED_NAME ${PROJECT_SELECTED_NAME}) 5 | project(${PROJECT_SELECTED_NAME} LANGUAGES C) 6 | 7 | set(CMAKE_CXX_STANDARD 17) 8 | set(CMAKE_CXX_STANDARD_REQUIRED ON) 9 | 10 | file(GLOB SOURCE_FILES ${CMAKE_CURRENT_SOURCE_DIR}/source/*.c) 11 | file(GLOB HEADER_FILES ${CMAKE_CURRENT_SOURCE_DIR}/source/*.h) 12 | 13 | add_executable(${PROJECT_NAME} 14 | ${SOURCE_FILES} 15 | ${HEADER_FILES} 16 | ) 17 | target_link_libraries(${PROJECT_NAME} PRIVATE 18 | pthread 19 | ) 20 | -------------------------------------------------------------------------------- /sub_examples/read_input_with_timeout_cpp/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | cmake_minimum_required(VERSION 3.5) 2 | 3 | get_filename_component(PROJECT_SELECTED_NAME ${CMAKE_CURRENT_SOURCE_DIR} NAME) 4 | string(REPLACE " " "_" PROJECT_SELECTED_NAME ${PROJECT_SELECTED_NAME}) 5 | project(${PROJECT_SELECTED_NAME} LANGUAGES CXX) 6 | 7 | set(CMAKE_CXX_STANDARD 17) 8 | set(CMAKE_CXX_STANDARD_REQUIRED ON) 9 | 10 | file(GLOB SOURCE_FILES ${CMAKE_CURRENT_SOURCE_DIR}/source/*.cpp) 11 | file(GLOB HEADER_FILES ${CMAKE_CURRENT_SOURCE_DIR}/source/*.h) 12 | 13 | add_executable(${PROJECT_NAME} 14 | ${SOURCE_FILES} 15 | ${HEADER_FILES} 16 | ) 17 | target_link_libraries(${PROJECT_NAME} PRIVATE 18 | pthread 19 | ) 20 | -------------------------------------------------------------------------------- /sub_examples/rectangle_perimeter/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | cmake_minimum_required(VERSION 3.5) 2 | 3 | get_filename_component(PROJECT_SELECTED_NAME ${CMAKE_CURRENT_SOURCE_DIR} NAME) 4 | string(REPLACE " " "_" PROJECT_SELECTED_NAME ${PROJECT_SELECTED_NAME}) 5 | project(${PROJECT_SELECTED_NAME} LANGUAGES CXX) 6 | 7 | set(CMAKE_CXX_STANDARD 17) 8 | set(CMAKE_CXX_STANDARD_REQUIRED ON) 9 | 10 | file(GLOB HEADER_ONLY_FILES ${CMAKE_CURRENT_SOURCE_DIR}/source/*.hpp) 11 | file(GLOB SOURCE_FILES ${CMAKE_CURRENT_SOURCE_DIR}/source/*.cpp) 12 | file(GLOB HEADER_FILES ${CMAKE_CURRENT_SOURCE_DIR}/source/*.h) 13 | 14 | add_executable(${PROJECT_NAME} 15 | ${HEADER_FILE_ONLY} 16 | ${SOURCE_FILES} 17 | ${HEADER_FILES} 18 | ) 19 | -------------------------------------------------------------------------------- /sub_examples/rock_paper_scissors/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | cmake_minimum_required(VERSION 3.5) 2 | 3 | get_filename_component(PROJECT_SELECTED_NAME ${CMAKE_CURRENT_SOURCE_DIR} NAME) 4 | string(REPLACE " " "_" PROJECT_SELECTED_NAME ${PROJECT_SELECTED_NAME}) 5 | project(${PROJECT_SELECTED_NAME} LANGUAGES CXX) 6 | 7 | set(CMAKE_CXX_STANDARD 17) 8 | set(CMAKE_CXX_STANDARD_REQUIRED ON) 9 | 10 | file(GLOB HEADER_ONLY_FILES ${CMAKE_CURRENT_SOURCE_DIR}/source/*.hpp) 11 | file(GLOB SOURCE_FILES ${CMAKE_CURRENT_SOURCE_DIR}/source/*.cpp) 12 | file(GLOB HEADER_FILES ${CMAKE_CURRENT_SOURCE_DIR}/source/*.h) 13 | 14 | add_executable(${PROJECT_NAME} 15 | ${HEADER_FILE_ONLY} 16 | ${SOURCE_FILES} 17 | ${HEADER_FILES} 18 | ) 19 | -------------------------------------------------------------------------------- /sub_examples/rpc_function_register/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | cmake_minimum_required(VERSION 3.5) 2 | 3 | get_filename_component(PROJECT_SELECTED_NAME ${CMAKE_CURRENT_SOURCE_DIR} NAME) 4 | string(REPLACE " " "_" PROJECT_SELECTED_NAME ${PROJECT_SELECTED_NAME}) 5 | project(${PROJECT_SELECTED_NAME} LANGUAGES CXX) 6 | 7 | set(CMAKE_CXX_STANDARD 17) 8 | set(CMAKE_CXX_STANDARD_REQUIRED ON) 9 | 10 | find_package(QT NAMES Qt6 Qt5 COMPONENTS Widgets Core REQUIRED) 11 | find_package(Qt${QT_VERSION_MAJOR} COMPONENTS Widgets Core REQUIRED) 12 | 13 | file(GLOB HEADER_ONLY_FILES ${CMAKE_CURRENT_SOURCE_DIR}/source/*.hpp) 14 | file(GLOB SOURCE_FILES ${CMAKE_CURRENT_SOURCE_DIR}/source/*.cpp) 15 | file(GLOB HEADER_FILES ${CMAKE_CURRENT_SOURCE_DIR}/source/*.h) 16 | 17 | add_executable(${PROJECT_NAME} 18 | ${HEADER_FILE_ONLY} 19 | ${SOURCE_FILES} 20 | ${HEADER_FILES} 21 | ) 22 | target_link_libraries(${PROJECT_NAME} PRIVATE 23 | Qt${QT_VERSION_MAJOR}::Widgets 24 | Qt${QT_VERSION_MAJOR}::Core 25 | ) 26 | 27 | -------------------------------------------------------------------------------- /sub_examples/runpath_problem/A/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | cmake_minimum_required(VERSION 3.5) 2 | 3 | get_filename_component(PROJECT_SELECTED_NAME ${CMAKE_CURRENT_SOURCE_DIR} NAME) 4 | string(REPLACE " " "_" PROJECT_SELECTED_NAME ${PROJECT_SELECTED_NAME}) 5 | project(${PROJECT_SELECTED_NAME} LANGUAGES CXX) 6 | 7 | set(CMAKE_CXX_STANDARD 17) 8 | set(CMAKE_CXX_STANDARD_REQUIRED ON) 9 | 10 | find_package(QT NAMES Qt6 Qt5 COMPONENTS Widgets Core REQUIRED) 11 | find_package(Qt${QT_VERSION_MAJOR} COMPONENTS Widgets Core REQUIRED) 12 | 13 | file(GLOB HEADER_ONLY_FILES ${CMAKE_CURRENT_SOURCE_DIR}/source/*.hpp) 14 | file(GLOB SOURCE_FILES ${CMAKE_CURRENT_SOURCE_DIR}/source/*.cpp) 15 | file(GLOB HEADER_FILES ${CMAKE_CURRENT_SOURCE_DIR}/source/*.h) 16 | 17 | add_library(${PROJECT_NAME} SHARED 18 | ${HEADER_FILE_ONLY} 19 | ${SOURCE_FILES} 20 | ${HEADER_FILES} 21 | ) 22 | add_library(plugin::${PROJECT_NAME} ALIAS ${PROJECT_NAME}) 23 | target_link_libraries(${PROJECT_NAME} PUBLIC 24 | Qt${QT_VERSION_MAJOR}::Widgets 25 | Qt${QT_VERSION_MAJOR}::Core 26 | ) 27 | -------------------------------------------------------------------------------- /sub_examples/runpath_problem/B/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | cmake_minimum_required(VERSION 3.5) 2 | 3 | get_filename_component(PROJECT_SELECTED_NAME ${CMAKE_CURRENT_SOURCE_DIR} NAME) 4 | string(REPLACE " " "_" PROJECT_SELECTED_NAME ${PROJECT_SELECTED_NAME}) 5 | project(${PROJECT_SELECTED_NAME} LANGUAGES CXX) 6 | 7 | set(CMAKE_CXX_STANDARD 17) 8 | set(CMAKE_CXX_STANDARD_REQUIRED ON) 9 | 10 | find_package(QT NAMES Qt6 Qt5 COMPONENTS Widgets Core REQUIRED) 11 | find_package(Qt${QT_VERSION_MAJOR} COMPONENTS Widgets Core REQUIRED) 12 | 13 | file(GLOB HEADER_ONLY_FILES ${CMAKE_CURRENT_SOURCE_DIR}/source/*.hpp) 14 | file(GLOB SOURCE_FILES ${CMAKE_CURRENT_SOURCE_DIR}/source/*.cpp) 15 | file(GLOB HEADER_FILES ${CMAKE_CURRENT_SOURCE_DIR}/source/*.h) 16 | 17 | add_library(${PROJECT_NAME} SHARED 18 | ${HEADER_FILE_ONLY} 19 | ${SOURCE_FILES} 20 | ${HEADER_FILES} 21 | ) 22 | add_library(plugin::${PROJECT_NAME} ALIAS ${PROJECT_NAME}) 23 | target_link_libraries(${PROJECT_NAME} PUBLIC 24 | Qt${QT_VERSION_MAJOR}::Widgets 25 | Qt${QT_VERSION_MAJOR}::Core 26 | ) 27 | -------------------------------------------------------------------------------- /sub_examples/runpath_problem/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | cmake_minimum_required(VERSION 3.5) 2 | 3 | get_filename_component(PROJECT_SELECTED_NAME ${CMAKE_CURRENT_SOURCE_DIR} NAME) 4 | string(REPLACE " " "_" PROJECT_SELECTED_NAME ${PROJECT_SELECTED_NAME}) 5 | project(${PROJECT_SELECTED_NAME} LANGUAGES CXX) 6 | 7 | set(CMAKE_CXX_STANDARD 17) 8 | set(CMAKE_CXX_STANDARD_REQUIRED ON) 9 | 10 | add_subdirectory(A) 11 | add_subdirectory(B) 12 | 13 | file(GLOB HEADER_ONLY_FILES ${CMAKE_CURRENT_SOURCE_DIR}/source/*.hpp) 14 | file(GLOB SOURCE_FILES ${CMAKE_CURRENT_SOURCE_DIR}/source/*.cpp) 15 | file(GLOB HEADER_FILES ${CMAKE_CURRENT_SOURCE_DIR}/source/*.h) 16 | 17 | add_executable(${PROJECT_NAME} 18 | ${HEADER_FILE_ONLY} 19 | ${SOURCE_FILES} 20 | ${HEADER_FILES} 21 | ) 22 | target_link_libraries(${PROJECT_NAME} PUBLIC 23 | plugin::A 24 | plugin::B 25 | ) 26 | -------------------------------------------------------------------------------- /sub_examples/runpath_problem/source/main.cpp: -------------------------------------------------------------------------------- 1 | /* 2 | * This program is free software: you can redistribute it and/or modify 3 | * it under the terms of the GNU General Public License as published by 4 | * the Free Software Foundation, either version 3 of the License, or 5 | * (at your option) any later version. 6 | * 7 | * This program is distributed in the hope that it will be useful, 8 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 9 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 10 | * GNU General Public License for more details. 11 | * 12 | * You should have received a copy of the GNU General Public License 13 | * along with this program. If not, see . 14 | * 15 | * @another_ghasem 16 | * g1999ramezani@gmail.com 17 | */ 18 | 19 | #include "../A/source/main.h" 20 | #include "../B/source/main.h" 21 | 22 | #include 23 | 24 | int main(int argc, char* argv[]) { 25 | QApplication application(argc, argv); 26 | core::my_widget _1; 27 | core::my_widget_2 _2; 28 | 29 | _1.show(), _2.show(); 30 | return application.exec(); 31 | } 32 | -------------------------------------------------------------------------------- /sub_examples/runtime_dispatch_v1/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | cmake_minimum_required(VERSION 3.5) 2 | 3 | get_filename_component(PROJECT_SELECTED_NAME ${CMAKE_CURRENT_SOURCE_DIR} NAME) 4 | string(REPLACE " " "_" PROJECT_SELECTED_NAME ${PROJECT_SELECTED_NAME}) 5 | project(${PROJECT_SELECTED_NAME} LANGUAGES CXX) 6 | 7 | set(CMAKE_CXX_STANDARD 17) 8 | set(CMAKE_CXX_STANDARD_REQUIRED ON) 9 | 10 | find_package(QT NAMES Qt6 Qt5 COMPONENTS Widgets Core REQUIRED) 11 | find_package(Qt${QT_VERSION_MAJOR} COMPONENTS Widgets Core REQUIRED) 12 | 13 | file(GLOB HEADER_ONLY_FILES ${CMAKE_CURRENT_SOURCE_DIR}/source/*.hpp) 14 | file(GLOB SOURCE_FILES ${CMAKE_CURRENT_SOURCE_DIR}/source/*.cpp) 15 | file(GLOB HEADER_FILES ${CMAKE_CURRENT_SOURCE_DIR}/source/*.h) 16 | 17 | add_executable(${PROJECT_NAME} 18 | ${HEADER_FILE_ONLY} 19 | ${SOURCE_FILES} 20 | ${HEADER_FILES} 21 | ) 22 | target_link_libraries(${PROJECT_NAME} PRIVATE 23 | Qt${QT_VERSION_MAJOR}::Widgets 24 | Qt${QT_VERSION_MAJOR}::Core 25 | ) 26 | -------------------------------------------------------------------------------- /sub_examples/sdl_test/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | cmake_minimum_required(VERSION 3.5) 2 | 3 | get_filename_component(PROJECT_SELECTED_NAME ${CMAKE_CURRENT_SOURCE_DIR} NAME) 4 | string(REPLACE " " "_" PROJECT_SELECTED_NAME ${PROJECT_SELECTED_NAME}) 5 | project(${PROJECT_SELECTED_NAME} LANGUAGES CXX) 6 | 7 | file(GLOB SUB_EXAMPLES ${CMAKE_CURRENT_SOURCE_DIR}/sub_examples/*) 8 | foreach(EXAMPLE ${SUB_EXAMPLES}) 9 | get_filename_component(EXAMPLE_SELECTED_NAME ${EXAMPLE} NAME) 10 | option(example_${EXAMPLE_SELECTED_NAME} "example_${EXAMPLE_SELECTED_NAME}" ON) 11 | 12 | if (example_${EXAMPLE_SELECTED_NAME}) 13 | add_subdirectory(${EXAMPLE}) 14 | endif(example_${EXAMPLE_SELECTED_NAME}) 15 | endforeach() 16 | -------------------------------------------------------------------------------- /sub_examples/sdl_test/sub_examples/sdl_template/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | cmake_minimum_required(VERSION 3.5) 2 | 3 | get_filename_component(PROJECT_SELECTED_NAME ${CMAKE_CURRENT_SOURCE_DIR} NAME) 4 | string(REPLACE " " "_" PROJECT_SELECTED_NAME ${PROJECT_SELECTED_NAME}) 5 | project(${PROJECT_SELECTED_NAME} LANGUAGES CXX) 6 | 7 | find_package(SDL2 REQUIRED) 8 | 9 | file(GLOB HEADER_ONLY_FILES source/*.hpp) 10 | file(GLOB SOURCE_FILES source/*.cpp) 11 | file(GLOB HEADER_FILES source/*.h) 12 | file(GLOB UTILITY_FILES utils/*.*) 13 | 14 | add_executable(${PROJECT_NAME} 15 | ${HEADER_ONLY_FILES} 16 | ${SOURCE_FILES} 17 | ${HEADER_FILES} 18 | ${UTILITY_FILES} 19 | ) 20 | target_link_libraries(${PROJECT_NAME} PRIVATE 21 | ${SDL2_LIBRARIES} 22 | SDL2_image 23 | pthread 24 | stdc++fs 25 | ) 26 | target_include_directories(${PROJECT_NAME} PRIVATE 27 | utils 28 | ) 29 | target_compile_definitions(${PROJECT_NAME} 30 | PUBLIC PROJECT_BINARY_PATH="${CMAKE_CURRENT_BINARY_DIR}") 31 | file(COPY res DESTINATION ${CMAKE_CURRENT_BINARY_DIR}) 32 | -------------------------------------------------------------------------------- /sub_examples/sdl_test/sub_examples/sdl_template/res/alpha100.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gccore/Examples/9ea92c2e3f79cbde941113436a7294e3dbc4ff75/sub_examples/sdl_test/sub_examples/sdl_template/res/alpha100.png -------------------------------------------------------------------------------- /sub_examples/sdl_test/sub_examples/sdl_template/res/background.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gccore/Examples/9ea92c2e3f79cbde941113436a7294e3dbc4ff75/sub_examples/sdl_test/sub_examples/sdl_template/res/background.bmp -------------------------------------------------------------------------------- /sub_examples/sdl_test/sub_examples/sdl_template/res/color_module.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gccore/Examples/9ea92c2e3f79cbde941113436a7294e3dbc4ff75/sub_examples/sdl_test/sub_examples/sdl_template/res/color_module.png -------------------------------------------------------------------------------- /sub_examples/sdl_test/sub_examples/sdl_template/res/down.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gccore/Examples/9ea92c2e3f79cbde941113436a7294e3dbc4ff75/sub_examples/sdl_test/sub_examples/sdl_template/res/down.png -------------------------------------------------------------------------------- /sub_examples/sdl_test/sub_examples/sdl_template/res/foo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gccore/Examples/9ea92c2e3f79cbde941113436a7294e3dbc4ff75/sub_examples/sdl_test/sub_examples/sdl_template/res/foo.png -------------------------------------------------------------------------------- /sub_examples/sdl_test/sub_examples/sdl_template/res/left.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gccore/Examples/9ea92c2e3f79cbde941113436a7294e3dbc4ff75/sub_examples/sdl_test/sub_examples/sdl_template/res/left.png -------------------------------------------------------------------------------- /sub_examples/sdl_test/sub_examples/sdl_template/res/right.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gccore/Examples/9ea92c2e3f79cbde941113436a7294e3dbc4ff75/sub_examples/sdl_test/sub_examples/sdl_template/res/right.png -------------------------------------------------------------------------------- /sub_examples/sdl_test/sub_examples/sdl_template/res/sprites.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gccore/Examples/9ea92c2e3f79cbde941113436a7294e3dbc4ff75/sub_examples/sdl_test/sub_examples/sdl_template/res/sprites.png -------------------------------------------------------------------------------- /sub_examples/sdl_test/sub_examples/sdl_template/res/up.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gccore/Examples/9ea92c2e3f79cbde941113436a7294e3dbc4ff75/sub_examples/sdl_test/sub_examples/sdl_template/res/up.png -------------------------------------------------------------------------------- /sub_examples/sdl_test/sub_examples/sdl_template/source/gc_image.h: -------------------------------------------------------------------------------- 1 | #ifndef GC_SDL_BASICS_GC_IMAGE_H 2 | #define GC_SDL_BASICS_GC_IMAGE_H 3 | 4 | #include 5 | #include 6 | 7 | #include 8 | #include 9 | 10 | #include "gc_types.h" 11 | 12 | namespace core 13 | { 14 | class gc_screen; 15 | 16 | class gc_image 17 | { 18 | private: 19 | gc_screen* m_screen; 20 | SDL_Surface* m_surface; 21 | SDL_Surface* m_image_sur; 22 | std::string m_path; 23 | 24 | public: 25 | gc_image(); 26 | gc_image(gc_screen* screen); 27 | gc_image(gc_screen* screen, std::string const& path); 28 | ~gc_image(); 29 | 30 | gc_image& load(std::string const& path); 31 | gc_image& load(); 32 | 33 | void render(); 34 | void render(int const width, int const heigth); 35 | 36 | private: 37 | void deallocate(); 38 | void deallocate_previous_image(); 39 | void set_path(std::string const& path); 40 | void load_by_prefix(); 41 | image_ptr_t load_bmp(); 42 | image_ptr_t load_png(); 43 | void convert_surface(image_ptr_t&& image); 44 | 45 | static std::string error(); 46 | static std::string p_error(); 47 | }; 48 | } // namespace core 49 | 50 | #endif // GC_SDL_BASICS_GC_IMAGE_H 51 | -------------------------------------------------------------------------------- /sub_examples/sdl_test/sub_examples/sdl_template/source/gc_renderer.cpp: -------------------------------------------------------------------------------- 1 | #include "gc_renderer.h" 2 | 3 | #include 4 | 5 | #include "gc_screen.h" 6 | #include "gc_defs.h" 7 | #include "Logger.h" 8 | 9 | namespace core 10 | { 11 | gc_renderer::gc_renderer(gc_screen& window) 12 | : m_screen(window) 13 | , m_renderer(SDL_CreateRenderer(m_screen.window(), -1, 14 | SDL_RENDERER_ACCELERATED | SDL_RENDERER_PRESENTVSYNC)) 15 | { 16 | CHECK_NULL(m_renderer, "Couldn't Create Renderer: " + error()); 17 | } 18 | 19 | gc_renderer::~gc_renderer() 20 | { 21 | SDL_DestroyRenderer(m_renderer); 22 | } 23 | 24 | void gc_renderer::clear() 25 | { 26 | SDL_RenderClear(m_renderer); 27 | } 28 | 29 | void gc_renderer::update() 30 | { 31 | SDL_RenderPresent(m_renderer); 32 | } 33 | 34 | SDL_Renderer* gc_renderer::renderer() const 35 | { 36 | return m_renderer; 37 | } 38 | 39 | gc_screen& gc_renderer::screen() const 40 | { 41 | return m_screen; 42 | } 43 | 44 | std::string gc_renderer::error() 45 | { 46 | return SDL_GetError(); 47 | } 48 | } // namespace core 49 | -------------------------------------------------------------------------------- /sub_examples/sdl_test/sub_examples/sdl_template/source/gc_renderer.h: -------------------------------------------------------------------------------- 1 | #ifndef GC_SDL_BASICS_RENDERER_H 2 | #define GC_SDL_BASICS_RENDERER_H 3 | 4 | #include 5 | 6 | #include 7 | 8 | namespace core 9 | { 10 | class gc_screen; 11 | 12 | class gc_renderer 13 | { 14 | private: 15 | gc_screen& m_screen; 16 | SDL_Renderer* m_renderer; 17 | 18 | public: 19 | gc_renderer(gc_screen& window); 20 | ~gc_renderer(); 21 | 22 | void clear(); 23 | void update(); 24 | 25 | SDL_Renderer* renderer() const; 26 | gc_screen& screen() const; 27 | 28 | private: 29 | static std::string error(); 30 | }; 31 | } // namespace core 32 | 33 | #endif // GC_SDL_BASICS_RENDERER_H 34 | -------------------------------------------------------------------------------- /sub_examples/sdl_test/sub_examples/sdl_template/source/gc_screen.h: -------------------------------------------------------------------------------- 1 | #ifndef GC_SDL_BASICS_SCREEN_H 2 | #define GC_SDL_BASICS_SCREEN_H 3 | 4 | #include 5 | #include 6 | 7 | #include 8 | 9 | #include "gc_defs.h" 10 | 11 | namespace core 12 | { 13 | class gc_screen 14 | { 15 | private: 16 | std::string m_caption; 17 | std::size_t m_width; 18 | std::size_t m_height; 19 | SDL_Window* m_window; 20 | 21 | public: 22 | gc_screen(std::string const& caption, core::size_t const size); 23 | gc_screen(std::string const& caption); 24 | ~gc_screen(); 25 | 26 | void set_caption(std::string const& caption); 27 | std::string caption() const; 28 | 29 | SDL_Window* window() const; 30 | 31 | void update() const; 32 | 33 | private: 34 | static std::string error(); 35 | }; 36 | } // namespace core 37 | 38 | #endif // GC_SDL_BASICS_SCREEN_H 39 | -------------------------------------------------------------------------------- /sub_examples/sdl_test/sub_examples/sdl_template/source/gc_types.h: -------------------------------------------------------------------------------- 1 | #ifndef GC_SDL_BASICS_GC_TYPES_H 2 | #define GC_SDL_BASICS_GC_TYPES_H 3 | 4 | #include 5 | 6 | #include 7 | 8 | namespace core 9 | { 10 | struct surface_deleter_t final 11 | { 12 | inline void operator()(SDL_Surface* ptr) const 13 | { 14 | SDL_FreeSurface(ptr); 15 | } 16 | }; 17 | using image_ptr_t = std::unique_ptr; 18 | } // namespace core 19 | 20 | #endif // GC_SDL_BASICS_GC_TYPES_H 21 | -------------------------------------------------------------------------------- /sub_examples/sdl_test/sub_examples/sdl_template/source/gc_util.cpp: -------------------------------------------------------------------------------- 1 | #include "gc_util.h" 2 | 3 | namespace core::util 4 | { 5 | std::string from_res(std::string const& path) 6 | { 7 | return def::res + ("/" + path); 8 | } 9 | } // namespace core::util 10 | -------------------------------------------------------------------------------- /sub_examples/sdl_test/sub_examples/sdl_template/source/gc_util.h: -------------------------------------------------------------------------------- 1 | #ifndef GC_SDL_BASICS_GC_UTIL_H 2 | #define GC_SDL_BASICS_GC_UTIL_H 3 | 4 | #include 5 | 6 | #include "gc_defs.h" 7 | 8 | namespace core::util 9 | { 10 | std::string from_res(std::string const& path); 11 | } // namespace core::util 12 | 13 | #endif // GC_SDL_BASICS_GC_UTIL_H 14 | -------------------------------------------------------------------------------- /sub_examples/sdl_test/sub_examples/sdl_template/source/main.cpp: -------------------------------------------------------------------------------- 1 | /* 2 | * This program is free software: you can redistribute it and/or modify 3 | * it under the terms of the GNU General Public License as published by 4 | * the Free Software Foundation, either version 3 of the License, or 5 | * (at your option) any later version. 6 | * 7 | * This program is distributed in the hope that it will be useful, 8 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 9 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 10 | * GNU General Public License for more details. 11 | * 12 | * You should have received a copy of the GNU General Public License 13 | * along with this program. If not, see . 14 | * 15 | * @another_ghasem 16 | * g1999ramezani@gmail.com 17 | */ 18 | 19 | #include 20 | 21 | #include "gc_renderer.h" 22 | #include "gc_screen.h" 23 | #include "gc_game.h" 24 | 25 | int main() 26 | { 27 | core::gc_screen screen("SDL Basics"); 28 | core::gc_renderer renderer(screen); 29 | core::gc_game game(renderer); 30 | game.execute(); 31 | 32 | return EXIT_SUCCESS; 33 | } 34 | -------------------------------------------------------------------------------- /sub_examples/sdl_test/sub_examples/sdl_template/utils/NonCopyable.h: -------------------------------------------------------------------------------- 1 | /** 2 | * 3 | * @file NonCopyable.h 4 | * @author An Tao 5 | * 6 | * Public header file in trantor lib. 7 | * 8 | * Copyright 2018, An Tao. All rights reserved. 9 | * Use of this source code is governed by a BSD-style license 10 | * that can be found in the License file. 11 | * 12 | * 13 | */ 14 | 15 | #pragma once 16 | 17 | namespace trantor 18 | { 19 | /** 20 | * @brief This class represents a non-copyable object. 21 | * 22 | */ 23 | class NonCopyable 24 | { 25 | protected: 26 | NonCopyable() 27 | { 28 | } 29 | ~NonCopyable() 30 | { 31 | } 32 | NonCopyable(const NonCopyable&) = delete; 33 | NonCopyable& operator=(const NonCopyable&) = delete; 34 | // some uncopyable classes maybe support move constructor.... 35 | NonCopyable(NonCopyable&&) noexcept(true) = default; 36 | NonCopyable& operator=(NonCopyable&&) noexcept(true) = default; 37 | }; 38 | 39 | } // namespace trantor 40 | -------------------------------------------------------------------------------- /sub_examples/serialize_deserialize/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | cmake_minimum_required(VERSION 3.5) 2 | 3 | get_filename_component(PROJECT_SELECTED_NAME ${CMAKE_CURRENT_SOURCE_DIR} NAME) 4 | string(REPLACE " " "_" PROJECT_SELECTED_NAME ${PROJECT_SELECTED_NAME}) 5 | project(${PROJECT_SELECTED_NAME} LANGUAGES CXX) 6 | 7 | set(CMAKE_CXX_STANDARD 17) 8 | set(CMAKE_CXX_STANDARD_REQUIRED ON) 9 | 10 | file(GLOB HEADER_ONLY_FILES ${CMAKE_CURRENT_SOURCE_DIR}/source/*.hpp) 11 | file(GLOB SOURCE_FILES ${CMAKE_CURRENT_SOURCE_DIR}/source/*.cpp) 12 | file(GLOB HEADER_FILES ${CMAKE_CURRENT_SOURCE_DIR}/source/*.h) 13 | 14 | add_executable(${PROJECT_NAME} 15 | ${HEADER_FILE_ONLY} 16 | ${SOURCE_FILES} 17 | ${HEADER_FILES} 18 | ) 19 | -------------------------------------------------------------------------------- /sub_examples/serialize_deserialize_simple/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | cmake_minimum_required(VERSION 3.5) 2 | 3 | get_filename_component(PROJECT_SELECTED_NAME ${CMAKE_CURRENT_SOURCE_DIR} NAME) 4 | string(REPLACE " " "_" PROJECT_SELECTED_NAME ${PROJECT_SELECTED_NAME}) 5 | project(${PROJECT_SELECTED_NAME} LANGUAGES CXX) 6 | 7 | set(CMAKE_CXX_STANDARD 17) 8 | set(CMAKE_CXX_STANDARD_REQUIRED ON) 9 | 10 | 11 | file(GLOB HEADER_ONLY_FILES ${CMAKE_CURRENT_SOURCE_DIR}/source/*.hpp) 12 | file(GLOB SOURCE_FILES ${CMAKE_CURRENT_SOURCE_DIR}/source/*.cpp) 13 | file(GLOB HEADER_FILES ${CMAKE_CURRENT_SOURCE_DIR}/source/*.h) 14 | 15 | add_executable(${PROJECT_NAME} 16 | ${HEADER_FILE_ONLY} 17 | ${SOURCE_FILES} 18 | ${HEADER_FILES} 19 | ) 20 | set_target_properties(${PROJECT_NAME} 21 | PROPERTIES 22 | CXX_STANDARD 17 23 | CXX_STANDARD_REQUIRED on 24 | ) 25 | target_link_libraries(${PROJECT_NAME} 26 | PRIVATE 27 | stdc++fs 28 | ) 29 | -------------------------------------------------------------------------------- /sub_examples/shift_operator/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | cmake_minimum_required(VERSION 3.5) 2 | 3 | get_filename_component(PROJECT_SELECTED_NAME ${CMAKE_CURRENT_SOURCE_DIR} NAME) 4 | string(REPLACE " " "_" PROJECT_SELECTED_NAME ${PROJECT_SELECTED_NAME}) 5 | project(${PROJECT_SELECTED_NAME} LANGUAGES CXX) 6 | 7 | set(CMAKE_CXX_STANDARD 17) 8 | set(CMAKE_CXX_STANDARD_REQUIRED ON) 9 | 10 | 11 | file(GLOB HEADER_ONLY_FILES ${CMAKE_CURRENT_SOURCE_DIR}/source/*.hpp) 12 | file(GLOB SOURCE_FILES ${CMAKE_CURRENT_SOURCE_DIR}/source/*.cpp) 13 | file(GLOB HEADER_FILES ${CMAKE_CURRENT_SOURCE_DIR}/source/*.h) 14 | 15 | add_executable(${PROJECT_NAME} 16 | ${HEADER_FILE_ONLY} 17 | ${SOURCE_FILES} 18 | ${HEADER_FILES} 19 | ) 20 | -------------------------------------------------------------------------------- /sub_examples/shuffle_selection/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | cmake_minimum_required(VERSION 3.5) 2 | 3 | get_filename_component(PROJECT_SELECTED_NAME ${CMAKE_CURRENT_SOURCE_DIR} NAME) 4 | string(REPLACE " " "_" PROJECT_SELECTED_NAME ${PROJECT_SELECTED_NAME}) 5 | project(${PROJECT_SELECTED_NAME} LANGUAGES CXX) 6 | 7 | set(CMAKE_CXX_STANDARD 17) 8 | set(CMAKE_CXX_STANDARD_REQUIRED ON) 9 | 10 | file(GLOB HEADER_ONLY_FILES ${CMAKE_CURRENT_SOURCE_DIR}/source/*.hpp) 11 | file(GLOB SOURCE_FILES ${CMAKE_CURRENT_SOURCE_DIR}/source/*.cpp) 12 | file(GLOB HEADER_FILES ${CMAKE_CURRENT_SOURCE_DIR}/source/*.h) 13 | 14 | add_executable(${PROJECT_NAME} 15 | ${HEADER_FILE_ONLY} 16 | ${SOURCE_FILES} 17 | ${HEADER_FILES} 18 | ) 19 | -------------------------------------------------------------------------------- /sub_examples/simple_formula_string_parsing/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | cmake_minimum_required(VERSION 3.5) 2 | 3 | get_filename_component(PROJECT_SELECTED_NAME ${CMAKE_CURRENT_SOURCE_DIR} NAME) 4 | string(REPLACE " " "_" PROJECT_SELECTED_NAME ${PROJECT_SELECTED_NAME}) 5 | project(${PROJECT_SELECTED_NAME} LANGUAGES CXX) 6 | 7 | set(CMAKE_CXX_STANDARD 17) 8 | set(CMAKE_CXX_STANDARD_REQUIRED ON) 9 | 10 | file(GLOB HEADER_ONLY_FILES ${CMAKE_CURRENT_SOURCE_DIR}/source/*.hpp) 11 | file(GLOB SOURCE_FILES ${CMAKE_CURRENT_SOURCE_DIR}/source/*.cpp) 12 | file(GLOB HEADER_FILES ${CMAKE_CURRENT_SOURCE_DIR}/source/*.h) 13 | 14 | add_executable(${PROJECT_NAME} 15 | ${HEADER_FILE_ONLY} 16 | ${SOURCE_FILES} 17 | ${HEADER_FILES} 18 | ) 19 | -------------------------------------------------------------------------------- /sub_examples/simple_json_workaround/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | cmake_minimum_required(VERSION 3.5) 2 | 3 | get_filename_component(PROJECT_SELECTED_NAME ${CMAKE_CURRENT_SOURCE_DIR} NAME) 4 | string(REPLACE " " "_" PROJECT_SELECTED_NAME ${PROJECT_SELECTED_NAME}) 5 | project(${PROJECT_SELECTED_NAME} LANGUAGES CXX) 6 | 7 | set(CMAKE_CXX_STANDARD 17) 8 | set(CMAKE_CXX_STANDARD_REQUIRED ON) 9 | 10 | 11 | file(GLOB HEADER_ONLY_FILES ${CMAKE_CURRENT_SOURCE_DIR}/source/*.hpp) 12 | file(GLOB SOURCE_FILES ${CMAKE_CURRENT_SOURCE_DIR}/source/*.cpp) 13 | file(GLOB HEADER_FILES ${CMAKE_CURRENT_SOURCE_DIR}/source/*.h) 14 | 15 | add_executable(${PROJECT_NAME} 16 | ${HEADER_FILE_ONLY} 17 | ${SOURCE_FILES} 18 | ${HEADER_FILES} 19 | ) 20 | target_link_libraries(${PROJECT_NAME} 21 | PRIVATE 22 | stdc++fs 23 | ) 24 | -------------------------------------------------------------------------------- /sub_examples/simple_map_dictionary/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | cmake_minimum_required(VERSION 3.5) 2 | 3 | get_filename_component(PROJECT_SELECTED_NAME ${CMAKE_CURRENT_SOURCE_DIR} NAME) 4 | string(REPLACE " " "_" PROJECT_SELECTED_NAME ${PROJECT_SELECTED_NAME}) 5 | project(${PROJECT_SELECTED_NAME} LANGUAGES CXX) 6 | 7 | set(CMAKE_CXX_STANDARD 17) 8 | set(CMAKE_CXX_STANDARD_REQUIRED ON) 9 | 10 | file(GLOB HEADER_ONLY_FILES ${CMAKE_CURRENT_SOURCE_DIR}/source/*.hpp) 11 | file(GLOB SOURCE_FILES ${CMAKE_CURRENT_SOURCE_DIR}/source/*.cpp) 12 | file(GLOB HEADER_FILES ${CMAKE_CURRENT_SOURCE_DIR}/source/*.h) 13 | 14 | add_executable(${PROJECT_NAME} 15 | ${HEADER_FILE_ONLY} 16 | ${SOURCE_FILES} 17 | ${HEADER_FILES} 18 | ) 19 | -------------------------------------------------------------------------------- /sub_examples/string_generator/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | cmake_minimum_required(VERSION 3.5) 2 | 3 | get_filename_component(PROJECT_SELECTED_NAME ${CMAKE_CURRENT_SOURCE_DIR} NAME) 4 | string(REPLACE " " "_" PROJECT_SELECTED_NAME ${PROJECT_SELECTED_NAME}) 5 | project(${PROJECT_SELECTED_NAME} LANGUAGES CXX) 6 | 7 | set(CMAKE_CXX_STANDARD 17) 8 | set(CMAKE_CXX_STANDARD_REQUIRED ON) 9 | 10 | file(GLOB HEADER_ONLY_FILES ${CMAKE_CURRENT_SOURCE_DIR}/source/*.hpp) 11 | file(GLOB SOURCE_FILES ${CMAKE_CURRENT_SOURCE_DIR}/source/*.cpp) 12 | file(GLOB HEADER_FILES ${CMAKE_CURRENT_SOURCE_DIR}/source/*.h) 13 | 14 | add_executable(${PROJECT_NAME} 15 | ${HEADER_FILE_ONLY} 16 | ${SOURCE_FILES} 17 | ${HEADER_FILES} 18 | ) 19 | -------------------------------------------------------------------------------- /sub_examples/sudoku_position_finder/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | cmake_minimum_required(VERSION 3.5) 2 | 3 | get_filename_component(PROJECT_SELECTED_NAME ${CMAKE_CURRENT_SOURCE_DIR} NAME) 4 | string(REPLACE " " "_" PROJECT_SELECTED_NAME ${PROJECT_SELECTED_NAME}) 5 | project(${PROJECT_SELECTED_NAME} LANGUAGES CXX) 6 | 7 | set(CMAKE_CXX_STANDARD 17) 8 | set(CMAKE_CXX_STANDARD_REQUIRED ON) 9 | 10 | file(GLOB HEADER_ONLY_FILES ${CMAKE_CURRENT_SOURCE_DIR}/source/*.hpp) 11 | file(GLOB SOURCE_FILES ${CMAKE_CURRENT_SOURCE_DIR}/source/*.cpp) 12 | file(GLOB HEADER_FILES ${CMAKE_CURRENT_SOURCE_DIR}/source/*.h) 13 | 14 | add_executable(${PROJECT_NAME} 15 | ${HEADER_FILE_ONLY} 16 | ${SOURCE_FILES} 17 | ${HEADER_FILES} 18 | ) 19 | -------------------------------------------------------------------------------- /sub_examples/template_1/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | cmake_minimum_required(VERSION 3.5) 2 | 3 | get_filename_component(PROJECT_SELECTED_NAME ${CMAKE_CURRENT_SOURCE_DIR} NAME) 4 | string(REPLACE " " "_" PROJECT_SELECTED_NAME ${PROJECT_SELECTED_NAME}) 5 | project(${PROJECT_SELECTED_NAME} LANGUAGES CXX) 6 | 7 | set(CMAKE_CXX_STANDARD 17) 8 | set(CMAKE_CXX_STANDARD_REQUIRED ON) 9 | 10 | file(GLOB HEADER_ONLY_FILES ${CMAKE_CURRENT_SOURCE_DIR}/source/*.hpp) 11 | file(GLOB SOURCE_FILES ${CMAKE_CURRENT_SOURCE_DIR}/source/*.cpp) 12 | file(GLOB HEADER_FILES ${CMAKE_CURRENT_SOURCE_DIR}/source/*.h) 13 | 14 | add_executable(${PROJECT_NAME} 15 | ${HEADER_FILE_ONLY} 16 | ${SOURCE_FILES} 17 | ${HEADER_FILES} 18 | ) 19 | -------------------------------------------------------------------------------- /sub_examples/the_external_polymorphism/C++-EP.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gccore/Examples/9ea92c2e3f79cbde941113436a7294e3dbc4ff75/sub_examples/the_external_polymorphism/C++-EP.pdf -------------------------------------------------------------------------------- /sub_examples/the_external_polymorphism/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | cmake_minimum_required(VERSION 3.5) 2 | 3 | get_filename_component(PROJECT_SELECTED_NAME ${CMAKE_CURRENT_SOURCE_DIR} NAME) 4 | string(REPLACE " " "_" PROJECT_SELECTED_NAME ${PROJECT_SELECTED_NAME}) 5 | project(${PROJECT_SELECTED_NAME} LANGUAGES CXX) 6 | 7 | file(GLOB SOURCE_FILES ${CMAKE_CURRENT_SOURCE_DIR}/source/*.cc) 8 | file(GLOB HEADER_FILES ${CMAKE_CURRENT_SOURCE_DIR}/source/*.hh) 9 | 10 | add_executable(${PROJECT_NAME} 11 | ${SOURCE_FILES} 12 | ${HEADER_FILES} 13 | ) 14 | set_target_properties(${PROJECT_NAME} 15 | PROPERTIES 16 | CXX_STANDARD 17 17 | CXX_STANDARD_REQUIRED on 18 | ) 19 | -------------------------------------------------------------------------------- /sub_examples/the_external_polymorphism/Type-Erasure-The-Implementation-Details-Klaus-Iglberger-CppCon-2022.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gccore/Examples/9ea92c2e3f79cbde941113436a7294e3dbc4ff75/sub_examples/the_external_polymorphism/Type-Erasure-The-Implementation-Details-Klaus-Iglberger-CppCon-2022.pdf -------------------------------------------------------------------------------- /sub_examples/the_external_polymorphism_benchmark/C++-EP.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gccore/Examples/9ea92c2e3f79cbde941113436a7294e3dbc4ff75/sub_examples/the_external_polymorphism_benchmark/C++-EP.pdf -------------------------------------------------------------------------------- /sub_examples/the_external_polymorphism_benchmark/Type-Erasure-The-Implementation-Details-Klaus-Iglberger-CppCon-2022.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gccore/Examples/9ea92c2e3f79cbde941113436a7294e3dbc4ff75/sub_examples/the_external_polymorphism_benchmark/Type-Erasure-The-Implementation-Details-Klaus-Iglberger-CppCon-2022.pdf -------------------------------------------------------------------------------- /sub_examples/the_external_polymorphism_benchmark/external_polymorphism/print.cc: -------------------------------------------------------------------------------- 1 | #include "print.hh" 2 | // 3 | 4 | void PrintImpl::print() const { asm volatile("" : : "r,m"(0) : "memory"); } 5 | -------------------------------------------------------------------------------- /sub_examples/the_external_polymorphism_benchmark/external_polymorphism/print.hh: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | class PrintImpl { 4 | public: 5 | void print() const; 6 | }; 7 | -------------------------------------------------------------------------------- /sub_examples/the_external_polymorphism_benchmark/external_polymorphism/print_concept.hh: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include 4 | 5 | class PrintConcept final { 6 | public: 7 | template 8 | PrintConcept(Object object) 9 | : inner_concept_bridge_( 10 | std::make_unique>(object)) {} 11 | 12 | void print() const { inner_concept_bridge_->print(); } 13 | 14 | private: 15 | struct InnerConcept { 16 | virtual ~InnerConcept() = default; 17 | virtual void print() const = 0; 18 | }; 19 | template 20 | struct InnerConceptAdapter final : InnerConcept { 21 | InnerConceptAdapter(Type object) : this_(object) {} 22 | void print() const override { this_.print(); } 23 | Type this_; 24 | }; 25 | 26 | std::unique_ptr inner_concept_bridge_; 27 | }; 28 | -------------------------------------------------------------------------------- /sub_examples/the_external_polymorphism_benchmark/ghasem_polymorphism/main.cc: -------------------------------------------------------------------------------- 1 | /* 2 | * This program is free software: you can redistribute it and/or modify 3 | * it under the terms of the GNU General Public License as published by 4 | * the Free Software Foundation, either version 3 of the License, or 5 | * (at your option) any later version. 6 | * 7 | * This program is distributed in the hope that it will be useful, 8 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 9 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 10 | * GNU General Public License for more details. 11 | * 12 | * You should have received a copy of the GNU General Public License 13 | * along with this program. If not, see . 14 | * 15 | * @gccore 16 | * g1999ramezani@gmail.com 17 | */ 18 | 19 | #include 20 | // 21 | #include 22 | 23 | namespace { 24 | void BenchmarkFunctionCall(benchmark::State &state) { 25 | PrintInterface impl; 26 | while (state.KeepRunning()) { 27 | impl.print(); 28 | benchmark::DoNotOptimize(impl); 29 | } 30 | } 31 | } // namespace 32 | 33 | BENCHMARK(BenchmarkFunctionCall); 34 | BENCHMARK_MAIN(); 35 | -------------------------------------------------------------------------------- /sub_examples/the_external_polymorphism_benchmark/ghasem_polymorphism/print_impl.cc: -------------------------------------------------------------------------------- 1 | #include 2 | 3 | void PrintInterface::print() const { asm volatile("" : : "r,m"(0) : "memory"); } 4 | -------------------------------------------------------------------------------- /sub_examples/the_external_polymorphism_benchmark/ghasem_polymorphism/print_interface.hh: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | class PrintInterface { 4 | public: 5 | void print() const; 6 | }; 7 | -------------------------------------------------------------------------------- /sub_examples/vector_to_number_i/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | cmake_minimum_required(VERSION 3.5) 2 | 3 | get_filename_component(PROJECT_SELECTED_NAME ${CMAKE_CURRENT_SOURCE_DIR} NAME) 4 | string(REPLACE " " "_" PROJECT_SELECTED_NAME ${PROJECT_SELECTED_NAME}) 5 | project(${PROJECT_SELECTED_NAME} LANGUAGES CXX) 6 | 7 | set(CMAKE_CXX_STANDARD 17) 8 | set(CMAKE_CXX_STANDARD_REQUIRED ON) 9 | 10 | 11 | file(GLOB HEADER_ONLY_FILES ${CMAKE_CURRENT_SOURCE_DIR}/source/*.hpp) 12 | file(GLOB SOURCE_FILES ${CMAKE_CURRENT_SOURCE_DIR}/source/*.cpp) 13 | file(GLOB HEADER_FILES ${CMAKE_CURRENT_SOURCE_DIR}/source/*.h) 14 | 15 | add_executable(${PROJECT_NAME} 16 | ${HEADER_FILE_ONLY} 17 | ${SOURCE_FILES} 18 | ${HEADER_FILES} 19 | ) 20 | target_link_directories(${PROJECT_NAME} PUBLIC 21 | third-party/gmp-6.2.1/lib 22 | ) 23 | target_link_libraries(${PROJECT_NAME} PUBLIC 24 | # ${CMAKE_CURRENT_SOURCE_DIR}/third-party/gmp-6.2.1/lib/libgmp.so 25 | gmp 26 | ) 27 | target_include_directories(${PROJECT_NAME} PUBLIC 28 | third-party/gmp-6.2.1/include 29 | ) 30 | -------------------------------------------------------------------------------- /sub_examples/vector_to_number_i/third-party/gmp-6.2.1/lib/libgmp.la: -------------------------------------------------------------------------------- 1 | # libgmp.la - a libtool library file 2 | # Generated by libtool (GNU libtool) 2.4.6 3 | # 4 | # Please DO NOT delete this file! 5 | # It is necessary for linking the library. 6 | 7 | # The name that we can dlopen(3). 8 | dlname='libgmp.so.10' 9 | 10 | # Names of this library. 11 | library_names='libgmp.so.10.4.1 libgmp.so.10 libgmp.so' 12 | 13 | # The name of the static archive. 14 | old_library='libgmp.a' 15 | 16 | # Linker flags that cannot go in dependency_libs. 17 | inherited_linker_flags='' 18 | 19 | # Libraries that this one depends upon. 20 | dependency_libs='' 21 | 22 | # Names of additional weak libraries provided by this library 23 | weak_library_names='' 24 | 25 | # Version information for libgmp. 26 | current=14 27 | age=4 28 | revision=1 29 | 30 | # Is this an already installed library? 31 | installed=yes 32 | 33 | # Should we warn about portability when linking against -modules? 34 | shouldnotlink=no 35 | 36 | # Files to dlopen/dlpreopen 37 | dlopen='' 38 | dlpreopen='' 39 | 40 | # Directory that this library needs to be installed in: 41 | libdir='/home/ghasem/Downloads/gmp-6.2.1/install/lib' 42 | -------------------------------------------------------------------------------- /sub_examples/vector_to_number_i/third-party/gmp-6.2.1/lib/pkgconfig/gmp.pc: -------------------------------------------------------------------------------- 1 | prefix=/home/ghasem/Downloads/gmp-6.2.1/install 2 | exec_prefix=${prefix} 3 | includedir=${prefix}/include 4 | libdir=${exec_prefix}/lib 5 | 6 | Name: GNU MP 7 | Description: GNU Multiple Precision Arithmetic Library 8 | URL: https://gmplib.org 9 | Version: 6.2.1 10 | Cflags: -I${includedir} 11 | Libs: -L${libdir} -lgmp 12 | -------------------------------------------------------------------------------- /sub_examples/vector_to_number_i/third-party/gmp-6.2.1/share/info/dir: -------------------------------------------------------------------------------- 1 | This is the file .../info/dir, which contains the 2 | topmost node of the Info hierarchy, called (dir)Top. 3 | The first time you invoke Info you start off looking at this node. 4 |  5 | File: dir, Node: Top This is the top of the INFO tree 6 | 7 | This (the Directory node) gives a menu of major topics. 8 | Typing "q" exits, "H" lists all Info commands, "d" returns here, 9 | "h" gives a primer for first-timers, 10 | "mEmacs" visits the Emacs manual, etc. 11 | 12 | In Emacs, you can click mouse button 2 on a menu item or cross reference 13 | to select it. 14 | 15 | * Menu: 16 | 17 | GNU libraries 18 | * gmp: (gmp). GNU Multiple Precision Arithmetic Library. 19 | -------------------------------------------------------------------------------- /sub_examples/vector_to_number_i/third-party/gmp-6.2.1/share/info/gmp.info-1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gccore/Examples/9ea92c2e3f79cbde941113436a7294e3dbc4ff75/sub_examples/vector_to_number_i/third-party/gmp-6.2.1/share/info/gmp.info-1 -------------------------------------------------------------------------------- /sub_examples/vector_to_number_i/third-party/gmp-6.2.1/share/info/gmp.info-2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gccore/Examples/9ea92c2e3f79cbde941113436a7294e3dbc4ff75/sub_examples/vector_to_number_i/third-party/gmp-6.2.1/share/info/gmp.info-2 -------------------------------------------------------------------------------- /sub_examples/wake_on_lan/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | cmake_minimum_required(VERSION 3.5) 2 | 3 | get_filename_component(PROJECT_SELECTED_NAME ${CMAKE_CURRENT_SOURCE_DIR} NAME) 4 | string(REPLACE " " "_" PROJECT_SELECTED_NAME ${PROJECT_SELECTED_NAME}) 5 | project(${PROJECT_SELECTED_NAME} LANGUAGES CXX) 6 | 7 | set(CMAKE_CXX_STANDARD 17) 8 | set(CMAKE_CXX_STANDARD_REQUIRED ON) 9 | 10 | find_package(QT NAMES Qt6 Qt5 COMPONENTS Core Network REQUIRED) 11 | find_package(Qt${QT_VERSION_MAJOR} COMPONENTS Core Network REQUIRED) 12 | 13 | file(GLOB HEADER_ONLY_FILES ${CMAKE_CURRENT_SOURCE_DIR}/source/*.hpp) 14 | file(GLOB SOURCE_FILES ${CMAKE_CURRENT_SOURCE_DIR}/source/*.cpp) 15 | file(GLOB HEADER_FILES ${CMAKE_CURRENT_SOURCE_DIR}/source/*.h) 16 | 17 | add_executable(${PROJECT_NAME} 18 | ${HEADER_FILE_ONLY} 19 | ${SOURCE_FILES} 20 | ${HEADER_FILES} 21 | ) 22 | target_link_libraries(${PROJECT_NAME} PRIVATE 23 | Qt${QT_VERSION_MAJOR}::Network 24 | Qt${QT_VERSION_MAJOR}::Core 25 | pthread 26 | ) 27 | -------------------------------------------------------------------------------- /sub_examples/widgets_global_data/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | cmake_minimum_required(VERSION 3.5) 2 | 3 | get_filename_component(PROJECT_SELECTED_NAME ${CMAKE_CURRENT_SOURCE_DIR} NAME) 4 | string(REPLACE " " "_" PROJECT_SELECTED_NAME ${PROJECT_SELECTED_NAME}) 5 | project(${PROJECT_SELECTED_NAME} LANGUAGES CXX) 6 | 7 | set(CMAKE_CXX_STANDARD 17) 8 | set(CMAKE_CXX_STANDARD_REQUIRED ON) 9 | 10 | find_package(QT NAMES Qt6 Qt5 COMPONENTS Widgets Core REQUIRED) 11 | find_package(Qt${QT_VERSION_MAJOR} COMPONENTS Widgets Core REQUIRED) 12 | 13 | file(GLOB HEADER_ONLY_FILES ${CMAKE_CURRENT_SOURCE_DIR}/source/*.hpp) 14 | file(GLOB SOURCE_FILES ${CMAKE_CURRENT_SOURCE_DIR}/source/*.cpp) 15 | file(GLOB HEADER_FILES ${CMAKE_CURRENT_SOURCE_DIR}/source/*.h) 16 | 17 | add_executable(${PROJECT_NAME} 18 | ${HEADER_FILE_ONLY} 19 | ${SOURCE_FILES} 20 | ${HEADER_FILES} 21 | ) 22 | target_link_libraries(${PROJECT_NAME} PRIVATE 23 | Qt${QT_VERSION_MAJOR}::Widgets 24 | Qt${QT_VERSION_MAJOR}::Core 25 | ) 26 | -------------------------------------------------------------------------------- /sub_examples/widgets_in_qlistwidget/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | cmake_minimum_required(VERSION 3.5) 2 | 3 | get_filename_component(PROJECT_SELECTED_NAME ${CMAKE_CURRENT_SOURCE_DIR} NAME) 4 | string(REPLACE " " "_" PROJECT_SELECTED_NAME ${PROJECT_SELECTED_NAME}) 5 | project(${PROJECT_SELECTED_NAME} LANGUAGES CXX) 6 | 7 | set(CMAKE_AUTOUIC ON) 8 | set(CMAKE_AUTOMOC ON) 9 | set(CMAKE_AUTORCC ON) 10 | 11 | set(CMAKE_CXX_STANDARD 17) 12 | set(CMAKE_CXX_STANDARD_REQUIRED ON) 13 | 14 | find_package(QT NAMES Qt6 Qt5 COMPONENTS Gui Widgets Core REQUIRED) 15 | find_package(Qt${QT_VERSION_MAJOR} COMPONENTS Gui Widgets Core REQUIRED) 16 | 17 | 18 | file(GLOB HEADER_ONLY_FILES ${CMAKE_CURRENT_SOURCE_DIR}/source/*.hpp) 19 | file(GLOB SOURCE_FILES ${CMAKE_CURRENT_SOURCE_DIR}/source/*.cpp) 20 | file(GLOB HEADER_FILES ${CMAKE_CURRENT_SOURCE_DIR}/source/*.h) 21 | 22 | add_executable(${PROJECT_NAME} 23 | ${HEADER_FILE_ONLY} 24 | ${SOURCE_FILES} 25 | ${HEADER_FILES} 26 | ) 27 | target_link_libraries(${PROJECT_NAME} PRIVATE 28 | Qt${QT_VERSION_MAJOR}::Widgets 29 | Qt${QT_VERSION_MAJOR}::Core 30 | Qt${QT_VERSION_MAJOR}::Gui 31 | ) 32 | --------------------------------------------------------------------------------