Evgenii Legotckoi
Oct. 22, 2017, 2:54 p.m.

QtQt / C ++ - Tutorial 072. An example of a vector editor on Qt

QGraphicsItem, QGraphicsScene, QGraphicsView, Vector Editor, QGraphicsObject

Quite often there are questions in one way or another related to the work of the graphic scene, with custom figures, drawing lines on the graphic scene, and even all sorts of broken lines. And then I remembered about one …

Read
Evgenii Legotckoi
April 1, 2016, 10:51 p.m.

QtQt/C++ - Lesson 045. SvgReader on the Qt. Loading data from SVG file into QGraphicsScene

Svg Reader, SVG, Qt, QGraphicsScene

In the last article I was considered an example of how to save objects in a graphical scene SVG file, and then we were able to open it in CorelDraw. Now try the same file open and restore the graphics …

Read
Evgenii Legotckoi
March 20, 2016, 10:31 p.m.

QtQt/C++ - Lesson 044. Saving objects from QGraphicsScene into SVG

SVG, Qt, CorelDraw, QGraphicsScene

Using Qt, you can save the contents of the graphic scene QGraphicsScene to SVG vector graphics files that are opened without problems after such editors as CorelDraw. I propose to write a small application that will save the contents of …

Read
Evgenii Legotckoi
Dec. 6, 2015, 8:47 p.m.

QtQt/C++ - Lesson 033. Working with QGraphicsObject instead of QGraphicsItem

QGraphicsScene, GameDev, QGraphicsItem, Qt, QGraphicsObject

My attention was drawn to the fact that for working with signals and slots instead of a class inherited from QGraphicsItem and from QObject , you can use a class inherited from QGraphicsObject . Indeed, if a little rummage in …

Read
Evgenii Legotckoi
Dec. 4, 2015, 11:18 p.m.

QtQt/C++ - Lesson 027. Polymorphism in Qt by the example of geometric shapes in QGraphicsScene

QGraphicsScene, Qt уроки, figure, QGraphicsItem, ооп, Полиморфизм, пример, Qt, square, triangle

Polymorphism is one of the paradigms of OOP (Object Oriented Programming). Polymorphism implements the ability to provide base-class properties and methods, the implementation of which is not known for future classes that inherit from this class. That is the base …

Read
Evgenii Legotckoi
Oct. 7, 2015, 9:26 p.m.

QtQt/C++ - Lesson 023. Moving QGraphicsItem on QGraphicsScene with mouse help

QGraphicsScene, Qt урок, QGraphicsItem, перетаскивание, Qt

Let's say that you make an application that will be displayed the elements of the network infrastructure on the graphic scene . The question is how to make the movement of these elements with the mouse, you have to implement …

Read
Evgenii Legotckoi
Sept. 28, 2015, 10:29 p.m.

QtGameDev on Qt - Tutorial 1. Track mouse movement in QGraphicsScene

QGraphicsScene, отслеживание, cursor, GameDev, Qt, mouse

Everyone remembers the game Crimsonland ? There had to cut stacks of monsters. To move on the playing field, we used the keys W, A, S, D, and shooting direction the mouse cursor, which was produced track. So, in itself …

Read
Evgenii Legotckoi
Sept. 24, 2015, 8:56 p.m.

QtQt/C++ - Lesson 021. The drawing mouse in Qt

QGraphicsScene, рисование QGraphicsScene, Qt урок, рисование, Рисование Qt, рисование мышью, Qt5, Qt

In this lesson, let us learn drawing with the mouse in Qt, based on the most primitive analogue Paint using QGraphicsScene . No adjustments or brush size, or palette, or special effects, and a red line, which we will draw …

Read
Evgenii Legotckoi
Sept. 22, 2015, 10:36 p.m.

QtHow to make game using Qt - Lesson 4. Enemy – meaning in the survival

QGraphicsScene, написать игру, GameDev, QGraphicsItem, Qt, QPainter

Continuing the theme of how to write a play on Qt. Once in past articles a fly was created, that eating apples, it is time to create her enemy. And the enemy flies, as is well known, the spider. Creation …

Read
Evgenii Legotckoi
Sept. 20, 2015, 10:08 p.m.

QtHow to make game using Qt - Lesson 3. Interaction with other objects

QGraphicsScene, написать игру, GameDev, QGraphicsItem, Qt, QPainter

Once the game has animated fly, which moves under the influence of the keyboard shortcuts, it is time to add meaning to the game. Add goal Fly, for example, it will eat the apples that will be counted. That is, …

Read
  • Last comments
  • AK
    April 1, 2025, 11:41 a.m.
    Добрый день. В данный момент работаю над проектом, где необходимо выводить звук из программы в определенное аудиоустройство (колонки, наушники, виртуальный кабель и т.д). Пишу на Qt5.12.12 поско…
  • Evgenii Legotckoi
    March 9, 2025, 9:02 p.m.
    К сожалению, я этого подсказать не могу, поскольку у меня нет необходимости в обходе блокировок и т.д. Поэтому я и не задавался решением этой проблемы. Ну выглядит так, что вам действитель…
  • VP
    March 9, 2025, 4:14 p.m.
    Здравствуйте! Я устанавливал Qt6 из исходников а также Qt Creator по отдельности. Все компоненты, связанные с разработкой для Android, установлены. Кроме одного... Когда пытаюсь скомпилиров…
  • ИМ
    Nov. 22, 2024, 9:51 p.m.
    Добрый вечер Евгений! Я сделал себе авторизацию аналогичную вашей, все работает, кроме возврата к предидущей странице. Редеректит всегда на главную, хотя в логах сервера вижу запросы на правильн…
  • Evgenii Legotckoi
    Oct. 31, 2024, 11:37 p.m.
    Добрый день. Да, можно. Либо через такие же плагины, либо с постобработкой через python библиотеку Beautiful Soup