Qt → Qt/C++ - Lesson 022. How to change cursor shape in Qt?
The task "to customize the cursor in the" confronts a programmer when required by the design of the program, or is being developed game software, and it becomes a matter of design and atmosphere of the game.
Customization cursor in …
Qt → Qt/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 …
Qt → How to make game using Qt - Lesson 5. Adding sound QMediaPlayer
написать игру, GameDev, QMediaPlayer, QMediaPlaylist, Qt, Qt звук
Getting to the fifth and final lesson on writing games on Qt, which will add sound using QMediaPlayer class. I propose to add the three types of sounds: Eating apples, buzzing flies that will be buzzing when moving and heartbreaking …
Qt → How 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 …
Qt → How 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, …
Qt → How to make game using Qt - Lesson 2. Animation game hero (2D)
написать игру, анимация, GameDev, Qt, QPainter
In the second lesson we'll get to the next aspect of the writing of the game - the hero Animation. In the last lesson it was considered as a control object in the graphic scene, and the main character played …
Qt → How to make game using Qt - Lesson 1. Control of object
QGraphicsScene, написать игру, WinAPI, GameDev, QGraphicsItem, getasynckeystate, Qt
With this lesson begins a series of articles on how to write a play on Qt. In the previous article it was told about the system of positioning of graphical elements QGraphicsItem in the graphic scene QGraphicsScene . It was …
Qt → Qt/C++ - Lesson 019. How to paint triangle in Qt5. Positioning shapes in QGraphicsScene
треугольник, QGraphicsItem, QPolygon, Рисование Qt, Qt5, Qt, Рисование Qt5, QPainter
Drawing interfaces, the formation of the database tables, work with the network - it's all good, but sometimes you want to just draw something, such as a triangle. And then of course, revive this place, so that they can be …
Qt → Qt/C++ - Lesson 018. QGraphicsItem – The inheritance and slots
QGraphicsItem, множественное наследование, QGraphicsItem слот, QGraphicsItem Qt, Qt, QGraphicsItem example
Let's talk a little about the inheritance from QGraphicsItem and application of signals and slots system in interaction with graphical objects on the graphic scene QGraphicsScene . The objective of this lesson is to create an application that on the …
Qt → Qt/C++ - Lesson 017. QGraphicsScene – How to work with graphics in Qt
QGraphicsScene, Qt, QGraphicsScene пример, QGraphicsScene Qt5, QGraphicsScene example
From this article we begin to explore the Qt graphic libraries, to be exact, QGraphicsScene. This class provides the functionality to manage a large number of 2D objects. QGraphicsScene set to QGraphicsView.
We describe the features that need to be …
- Last comments
- AKApril 1, 2025, 11:41 a.m.Добрый день. В данный момент работаю над проектом, где необходимо выводить звук из программы в определенное аудиоустройство (колонки, наушники, виртуальный кабель и т.д). Пишу на Qt5.12.12 поско…
- VPMarch 9, 2025, 4:14 p.m.Здравствуйте! Я устанавливал Qt6 из исходников а также Qt Creator по отдельности. Все компоненты, связанные с разработкой для Android, установлены. Кроме одного... Когда пытаюсь скомпилиров…
- ИМNov. 22, 2024, 9:51 p.m.Добрый вечер Евгений! Я сделал себе авторизацию аналогичную вашей, все работает, кроме возврата к предидущей странице. Редеректит всегда на главную, хотя в логах сервера вижу запросы на правильн…
- Now discuss on the forum
- fFeb. 15, 2025, 1:46 p.m.Подскажите, пожалуйста! Как данный класс можно дополнить, чтобы созданные объекты можно было перемещать мышкой по сцене?
- Не запускается компьютер (точнее работает блок , но сам монитор вообще жесть)В общем я ничего с интернета не скачивала в последнее время. На компе никаких левых пр…
- Вопрос решен. Узнать QModelIndex элемента на который мы перетаскиваем другой элемент, можно с помощью функции indexAt(event->position().toPoint()) представления QTreeViev вызываемой в переопр…
- Спасибо большое за помощь и простите за то что отнял время своей невнимательностью.