Evgenii Legotckoi
Evgenii LegotckoiJuly 23, 2017, 9:27 a.m.

QtQt/C++ - Tutorial 069. XOR Encryption

Qt, cmake, XOR

XOR-encryption is the application of a key through bitwise exclusive OR to the source text. The mechanism of the bitwise exclusive is the following:

X Y X⊕Y
0 0 0
0 1 1
1 0 1
1 1 0

Thus, …

Read
Evgenii Legotckoi
Evgenii LegotckoiJuly 23, 2017, 4:05 a.m.

QtQt/C++ - Tutorial 068. Hello World using the CMAKE build system in CLion

C++, Qt, cmake

Write "Hello, World !!!" On Qt in the IDE CLion using the CMAKE build system. The emphasis on the fact that the project is being developed in IDE CLion was made because to work with the project it is necessary …

Read
Дмитрий
ДмитрийJuly 10, 2017, 3:19 a.m.

QtUsing QtTextToSpeech for speech synthesis

qt читалка, qt speech, синтезатор речи, Qt, qttexttospeech

The Qt 5.8.0 library provided programmers with the ability to use a systemic speech synthesizer. A speech synthesizer is a program that converts text to speech. Speech synthesizers are an integral part of any modern operating system: Windows (version 7 …

Read
Evgenii Legotckoi
Evgenii LegotckoiJuly 8, 2017, 6:40 a.m.

C++C++ - Tutorial 007. Classes

C++, class

The availability of data that is publicly available in the structure has its advantages, providing complete freedom of action. However, we may want to hide the variables that are used in the data type to make the type behavior more …

Read
Evgenii Legotckoi
Evgenii LegotckoiJuly 8, 2017, 5:31 a.m.

C++C++ - Tutorial 006. Structures

C++, struct

Одним из первых шагов в построении новых типов данных является организация данных в структуре, объединяющая несколько различных переменных с разными типами данных. Объявления структуры с помощью ключевого слова struct .

Например, объявим структуру Vector , в котором будет храниться указатель …

Read
Дмитрий
ДмитрийJuly 6, 2017, 12:22 p.m.

QtUsing gif animation in Qt using the QMovie class

анимация, gif, gif-анимация, qmovie, qt

Everyone saw beautiful animated images on the Internet. They can be downloaded to your computer as a file with the gif extension. The question arises: can I use these images in my programs? It is possible, the Qt library answers. …

Read
Evgenii Legotckoi
Evgenii LegotckoiJuly 6, 2017, 3:40 a.m.

C++C++ - Tutorial 005. Pointers, Arrays and Loops

C++, pointer, arrays, loops

An array of elements of type char can be declared like this:

char v[6];  // array of 6 characters

Similarly, a pointer can be declared like this:

char* p; // pointer to character

In declarations, [] means ‘‘array of’’ and …

Read
Evgenii Legotckoi
Evgenii LegotckoiJuly 5, 2017, 7:14 a.m.

QMLQML - Tutorial 030. Registering a QML Type as a Singleton object

QML, singleton

In addition to C ++ classes in QML, Singleton can also use QML types, which are separate QML files.

This is also used by qmlRegisterSingletonType , but in order for this type to work as a singleton of the object, …

Read
Evgenii Legotckoi
Evgenii LegotckoiJuly 5, 2017, 6:05 a.m.

QMLQML - Tutorial 029. Registering a Singleton object to use "Static" methods in QML

qml, singleton, static

The notion of static methods that are used in QML differs somewhat from the classical one in C ++, when static methods are created in the class that can be used referring to the class name, rather than to a …

Read
Evgenii Legotckoi
Evgenii LegotckoiJuly 1, 2017, 6:03 a.m.

QMLQML - Tutorial 028. Registration of custom enum in QML

QML, enum, qmlRegisterType

In order to use enum enum enumerations in Q ++, you need to create a class inherited from QObject and register it as a QML Type before running the QML engine in the application.

To learn, create a project using …

Read
Ua

Qt - Test 001. Signals and slots

  • Result:84points,
  • Rating points4
Ua

Qt - Test 001. Signals and slots

  • Result:42points,
  • Rating points-8
ОК

Qt - Test 001. Signals and slots

  • Result:47points,
  • Rating points-6
Last comments
ИМ
Игорь МаксимовNov. 22, 2024, 11:51 a.m.
Django - Tutorial 017. Customize the login page to Django Добрый вечер Евгений! Я сделал себе авторизацию аналогичную вашей, все работает, кроме возврата к предидущей странице. Редеректит всегда на главную, хотя в логах сервера вижу запросы на правильн…
Evgenii Legotckoi
Evgenii LegotckoiOct. 31, 2024, 2:37 p.m.
Django - Lesson 064. How to write a Python Markdown extension Добрый день. Да, можно. Либо через такие же плагины, либо с постобработкой через python библиотеку Beautiful Soup
A
ALO1ZEOct. 19, 2024, 8:19 a.m.
Fb3 file reader on Qt Creator Подскажите как это запустить? Я не шарю в программировании и кодинге. Скачал и установаил Qt, но куча ошибок выдается и не запустить. А очень надо fb3 переконвертировать в html
ИМ
Игорь МаксимовOct. 5, 2024, 7:51 a.m.
Django - Lesson 064. How to write a Python Markdown extension Приветствую Евгений! У меня вопрос. Можно ли вставлять свои классы в разметку редактора markdown? Допустим имея стандартную разметку: <ul> <li></li> <li></l…
d
dblas5July 5, 2024, 11:02 a.m.
QML - Lesson 016. SQLite database and the working with it in QML Qt Здравствуйте, возникает такая проблема (я новичок): ApplicationWindow неизвестный элемент. (М300) для TextField и Button аналогично. Могу предположить, что из-за более новой верси…
Now discuss on the forum
NW
Nayo WaiJan. 30, 2025, 9:22 a.m.
не запускается компьютер!!! Не запускается компьютер (точнее работает блок , но сам монитор вообще жесть)В общем я ничего с интернета не скачивала в последнее время. На компе никаких левых пр…
n
nklyJan. 3, 2025, 2:52 a.m.
Нужно запретить перемещение только некоторых итемов, остальные перемещать можно. Вопрос решен. Узнать QModelIndex элемента на который мы перетаскиваем другой элемент, можно с помощью функции indexAt(event->position().toPoint()) представления QTreeViev вызываемой в переопр…
M
MarselAug. 16, 2023, 2:26 p.m.
OAuth2.0 через VK, получение email Спасибо большое за помощь и простите за то что отнял время своей невнимательностью.
Evgenii Legotckoi
Evgenii LegotckoiJune 24, 2024, 3:11 p.m.
добавить qlineseries в функции Я тут. Работы оень много. Отправил его в бан.
t
tonypeachey1Nov. 15, 2024, 6:04 a.m.
google domain [url=https://google.com/]domain[/url] domain [http://www.example.com link title]

Follow us in social networks