Evgenii Legotckoi
Evgenii LegotckoiJuly 14, 2016, 5 a.m.

QMLGame on QML - Lesson 2. Adding traces of shots and points system

GameDev, QML, Qt, система очков

After the game arena and targets were made and added, it is time to implement the targets hit, misses and charging system and cheating points.

Scoring system will be as follows:

  • In the case of near misses, I propose to …
Read
Evgenii Legotckoi
Evgenii LegotckoiJuly 10, 2016, 3:03 a.m.

RubyUser Guide #22 - Ruby - Local variables

local variables, Ruby, ruby lesson, ruby уроки, user guide, локальные переменные, руководство пользователя

A local variable has a name starting with a lower case letter or an underscore character (_). Local variables do not, like globals and instance variables, have the value nil before initialization:

ruby> $foo
   nil
ruby> @foo
   nil
ruby> foo …
Read
Evgenii Legotckoi
Evgenii LegotckoiJuly 10, 2016, 3:01 a.m.

RubyUser Guide #21 - Ruby - Instance variables

Instance variables, Ruby, ruby lesson, ruby уроки, user guide, переменные класса, руководство пользователя

An instance variable has a name beginning with @, and its scope is confined to whatever object self refers to. Two different objects, even if they belong to the same class, are allowed to have different values for their instance …

Read
Evgenii Legotckoi
Evgenii LegotckoiJuly 2, 2016, 10:13 a.m.

QtQt/C++ - Lesson 052. Customization Qt Audio player in the style of AIMP

QSS, QStyleSheet, AIMP, кастомизация, Qt, аудио, аудио плеер

Articles in this series:

The article on the audio player in Qt we learned how to play the audio tracks and switch between them in the playlist.

How about to customize the look of the …

Read
Evgenii Legotckoi
Evgenii LegotckoiJune 30, 2016, 12:53 p.m.

QMLQML - Lesson 026. Intents with Qt for Android, part 1

QML, Qt, Android, Intent

The “ intent ” is the main facility for interprocess communication on Android. Basically, an intent is an object that is processed by the operating system and then passed to one or more of the installed applications based on its …

Read
Evgenii Legotckoi
Evgenii LegotckoiJune 29, 2016, 9:06 a.m.

QtQt/C++ - Lesson 051. QMediaPlayer – simple audio player

QStandardItemModel, QMediaPlayer, QMediaPlaylist, Qt, аудио плеер

I suggest to write a simple audio player for mp3 files using Qt/C++, which will have a playlist, the ability to start / pause / stop tracks, as well as scroll through the tracks.

For the implementation of this ideas …

Read
Evgenii Legotckoi
Evgenii LegotckoiJune 29, 2016, 2:59 a.m.

RubyUser Guide #20 - Ruby - global variables

global variables, Ruby, ruby lesson, ruby уроки, user guide, глобальные переменные, руководство пользователя

A global variable has a name beginning with $. It can be referred to from anywhere in a program. Before initialization, a global variable has the special value nil.

ruby> $foo
   nil
ruby> $foo = 5
   5
ruby> $foo
   5 …
Read
Evgenii Legotckoi
Evgenii LegotckoiJune 29, 2016, 2:57 a.m.

RubyUser Guide #19 - Ruby - variables

Ruby, ruby lesson, ruby уроки, user guide, variables, переменные, руководство пользователя

Ruby has three kinds of variables, one kind of constant and exactly two pseudo-variables. The variables and the constants have no type. While untyped variables have some drawbacks, they have many more advantages and fit well with ruby's quick and …

Read
Evgenii Legotckoi
Evgenii LegotckoiJune 29, 2016, 2:51 a.m.

RubyUser Guide #18 - Ruby - procedure objects

procedure objects, Ruby, ruby lesson, ruby уроки, user guide, процедурные объекты, руководство пользователя

It is often desirable to be able to specify responses to unexpected events. As it turns out, this is most easily done if we can pass blocks of code as arguments to other methods, which means we want to be …

Read
Evgenii Legotckoi
Evgenii LegotckoiJune 28, 2016, 3:34 a.m.

QtQt Certification

Qt, QML, Certification, Сертификация

Since 2009 it has been possible to pass the Qt certification exam and become a Certified Qt Developer or Qt Specialist. The exams and certifications have now been updated to cover the latest Qt features. In order to support quality …

Read
Evgenii Legotckoi
Evgenii LegotckoiJune 28, 2016, 2:49 a.m.

RubyUser Guide #17 - Ruby - modules

modules, Ruby, ruby lesson, ruby уроки, user guide, модули, руководство пользователя

Modules in ruby are similar to classes, except:

  • A module can have no instances.
  • A module can have no subclasses.
  • A module is defined by module ... end

Actually... the Module class of module is the superclass of the Class …

Read
Evgenii Legotckoi
Evgenii LegotckoiJune 27, 2016, 2:47 a.m.

RubyUser Guide #16 - Ruby - Singleton methods

method, Ruby, ruby lesson, ruby уроки, singleton, user guide, руководство пользователя

The behavior of an instance is determined by its class, but there may be times we know that a particular instance should have special behavior. In most languages, we must go to the trouble of defining another class, which would …

Read
г
  • ги
  • April 24, 2024, 1:51 a.m.

C++ - Test 005. Structures and Classes

  • Result:41points,
  • Rating points-8
l
  • laei
  • April 23, 2024, 7:19 p.m.

C ++ - Test 004. Pointers, Arrays and Loops

  • Result:10points,
  • Rating points-10
l
  • laei
  • April 23, 2024, 7:17 p.m.

C++ - Тест 003. Условия и циклы

  • Result:50points,
  • Rating points-4
Last comments
k
kmssrFeb. 9, 2024, 5:43 a.m.
Qt Linux - Lesson 001. Autorun Qt application under Linux как сделать автозапуск для флэтпака, который не даёт создавать файлы в ~/.config - вот это вопрос ))
Qt WinAPI - Lesson 007. Working with ICMP Ping in Qt Без строки #include <QRegularExpressionValidator> в заголовочном файле не работает валидатор.
EVA
EVADec. 25, 2023, 9:30 p.m.
Boost - static linking in CMake project under Windows Ошибка LNK1104 часто возникает, когда компоновщик не может найти или открыть файл библиотеки. В вашем случае, это файл libboost_locale-vc142-mt-gd-x64-1_74.lib из библиотеки Boost для C+…
J
JonnyJoDec. 25, 2023, 7:38 p.m.
Boost - static linking in CMake project under Windows Сделал всё по-как у вас, но выдаёт ошибку [build] LINK : fatal error LNK1104: не удается открыть файл "libboost_locale-vc142-mt-gd-x64-1_74.lib" Хоть убей, не могу понять в чём дел…
G
GvozdikDec. 19, 2023, 8:01 a.m.
Qt/C++ - Lesson 056. Connecting the Boost library in Qt for MinGW and MSVC compilers Для решения твой проблемы добавь в файл .pro строчку "LIBS += -lws2_32" она решит проблему , лично мне помогло.
Now discuss on the forum
G
GarApril 22, 2024, 3:46 p.m.
Clipboard Как скопировать окно целиком в clipb?
DA
Dr Gangil AcademicsApril 20, 2024, 5:45 p.m.
Unlock Your Aesthetic Potential: Explore MSC in Facial Aesthetics and Cosmetology in India Embark on a transformative journey with an msc in facial aesthetics and cosmetology in india . Delve into the intricate world of beauty and rejuvenation, guided by expert faculty and …
a
a_vlasovApril 14, 2024, 4:41 p.m.
Мобильное приложение на C++Qt и бэкенд к нему на Django Rest Framework Евгений, добрый день! Такой вопрос. Верно ли следующее утверждение: Любое Android-приложение, написанное на Java/Kotlin чисто теоретически (пусть и с большими трудностями) можно написать и на C+…
Павел Дорофеев
Павел ДорофеевApril 14, 2024, 12:35 p.m.
QTableWidget с 2 заголовками Вот тут есть кастомный QTableView с многорядностью проект поддерживается, обращайтесь
f
fastrexApril 4, 2024, 2:47 p.m.
Вернуть старое поведение QComboBox, не менять индекс при resetModel Добрый день! У нас много проектов в которых используется QComboBox, в версии 5.5.1, когда модель испускает сигнал resetModel, currentIndex не менялся. В версии 5.15 при resetModel происходит try…

Follow us in social networks