Articles 9
Evgenii Legotckoi
Evgenii LegotckoiOct. 22, 2017, 4:54 a.m.
Qt / C ++ - Tutorial 072. An example of a vector editor on Qt 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 t…
Evgenii Legotckoi
Evgenii LegotckoiDec. 6, 2015, 9:47 a.m.
Qt/C++ - Lesson 033. Working with QGraphicsObject instead of QGraphicsItem 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…
Evgenii Legotckoi
Evgenii LegotckoiDec. 4, 2015, 12:18 p.m.
Qt/C++ - Lesson 027. Polymorphism in Qt by the example of geometric shapes in QGraphicsScene 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 …
Comments 0
Nothing found
Forum topics 6
1
16L6Aug. 2, 2020, 11:17 a.m.
QT QGraphics преобразование координат В переопределенной функции mousePressEvent(QGraphicsSceneMouseEvent event) класса QGraphicsItem (или подкласса от него) есть метод QPoint QGraphicsSceneMouseEvent::scree…
Михаиллл
МихаилллSept. 1, 2019, 11:09 a.m.
Как обращаться к объектам QGraphicsItem созданным в QGraphicsView Добрый день. С помощью такого класса создаю эллементы в QGraphicsView class MoveItem : public QObject, public QGraphicsItem{ Q_OBJECTpublic: explicit MoveItem(QObject *parent =…
Михаиллл
МихаилллJuly 20, 2019, 9:52 a.m.
Как добавлять на QGraphicsScene элементы в виде картинок Добрый день. Взял код из этой статьи. Кочу добавлять эллементы QGraphicsItem не в виде прямоугольника, а в виде картинки. Попробовал сделать так, но картинка не добавляет…
Forum posts 0
Nothing found
Test 0
Nothing found
Shared codes 0
Nothing found

Follow us in social networks