Evgenii Legotckoi
Evgenii LegotckoiFeb. 23, 2016, 1 p.m.

XlibXUngrabKey

HotKey, linux, X11, XUngrabKey

Syntax

XUngrabKey(display, keycode, modifiers, grab_window)
      Display *     display;
      int           keycode;
      unsigned int  modifiers;
      Window        grab_window;

Arguments

display       // Specifies the connection to the X server.
keycode       // Specifies the KeyCode or AnyKey.
modifiers     // Specifies the set of keymasks or …
Read
Evgenii Legotckoi
Evgenii LegotckoiFeb. 15, 2016, 10:07 a.m.

QtQt Linux - Lesson 001. Autorun Qt application under Linux

Linux, Qt, автозапуск, autorun, Ubuntu

Let's talk about how you can add functionality in Qt application to configure startup of the application. For example, we have a settings window, and we want to make the ability to customize the dialog box Autorun application.

In contrast …

Read
Evgenii Legotckoi
Evgenii LegotckoiFeb. 2, 2016, 11:10 a.m.

QMLQML - Lesson 023. The hunt for bugs in the transmission pointer to QObject in QML

bug, Qt, pointer, JavaScriptOwnership, QML, указатель

One of the most vile and little predictable bugs are those that arise in an uncertain time. Among these include a bug that appears when the pointer is transmitted to the QObject in QML layer. The problem is that if …

Read
Evgenii Legotckoi
Evgenii LegotckoiFeb. 2, 2016, 10:37 a.m.

QtFifteen on Qt

Qt, Пятнашки, Fifteen

During the maintenance of the blog, and collect information on the subject of Qt is a continuous interaction with the readers, who are trained on the examples on this site. But at the same time any reader can also make …

Read
Evgenii Legotckoi
Evgenii LegotckoiJan. 28, 2016, 11:11 a.m.

QtQt/C++ - Lesson 043. Qt Single Application - Start only one instance of application

Qt Single Application, QSharedMemory, QSystemSemaphore, QLockFile, Qt

Permission to run only one instance of the application may be necessary to limit the problems with memory leaks, or to eliminate possible problems with the competition between two instances of an application for some resources, files, SQLite database, etc. …

Read
Evgenii Legotckoi
Evgenii LegotckoiJan. 28, 2016, 7:24 a.m.

QtQt and Direct3D 12 - First Encounter

D3D12, Direct3D, Qt, Qt Blog, QtD3D12Window

Translation of official news by Laszlo Agocs

The face of graphics APIs is changing. Qt Quick 2 was released in 2012 with Qt 5.0, and built on OpenGL and OpenGL ES 2.0. Changes and improvements have since been made - …

Read
Evgenii Legotckoi
Evgenii LegotckoiJan. 27, 2016, 10:27 a.m.

QtUsing Qt 3D to render music

Audio, QML, Qt, 3D, quick

Translation of official news by Titta Heikkala

Since the development of the Qt 3D module is in progress, we would like to provide it for review and testing of how music can be rendered using this module. The result of …

Read
Evgenii Legotckoi
Evgenii LegotckoiJan. 26, 2016, 2:59 a.m.

QtNotice to all Qt Cloud Services users

Cloud Services, Qt, Qt Cloud Services

Translation of official news

Over a year ago we launched Qt Cloud Services which includes Managed Runtime Services, Managed Application Runtime (MAR), Managed Database (MDB) and Engin.io. Since then, we have received extensive feedback and have seen amazing cloud applications …

Read
Evgenii Legotckoi
Evgenii LegotckoiJan. 23, 2016, 10:48 a.m.

QtQt/C++ - Lesson 042. PopUp notification in the Gnome style using Qt

Gnome, всплывающее уведомление, Qt, PopUp, Уведомление

Functionality of the standard notification system tray at times can be insufficient for the implementation of ambitious pans for styling applications. We therefore consider the embodiment of pop-up messages in the style of PopUp DE Gnome notification, namely, as shown …

Read
Evgenii Legotckoi
Evgenii LegotckoiJan. 18, 2016, 12:37 a.m.

QtQt Charts 2.1.0 Release

Charts, Qt, Qt Charts

Translation of official news.

We are happy to announce that the upcoming release of Qt 5.6.0 will include the Qt Charts 2.1.0 add-on. This release of Qt contains new functionality and bug fixes based on user requests.

A quick introduction …

Read
Evgenii Legotckoi
Evgenii LegotckoiJan. 8, 2016, 11:53 a.m.

QtQt WinAPI - Lesson 006. Parsing QKeySequence for RegisterHotKey in WinAPI

Qt, RegisterHotKey, горячие клавиши, HotKey, WinAPI, QKeySequence

QKeySequence very different from the sequence of hotkeys in WinAPI . QKeySequence actually is a string in which the separator hotkeys are "+" sign, as well as the sequence ", " , if several sequences. Then, as in WinAPI there …

Read
Evgenii Legotckoi
Evgenii LegotckoiJan. 4, 2016, 10:41 a.m.

QMLQML - Lesson 022. Animation click on an item in the list Material Design style

Qt, Android, анимация, material design, QML

QML does not provide animation interactions clicks Material Design Style for Android by default, but is easily adjusted with the Rectangle primitive. Animation is to one parent, Rectangle, when clicked, you need a second child Rectangle object to stretch the …

Read
B

C++ - Test 002. Constants

  • Result:16points,
  • Rating points-10
B

C++ - Test 001. The first program and data types

  • Result:46points,
  • Rating points-6
FL

C++ - Test 006. Enumerations

  • Result:80points,
  • Rating points4
Last comments
k
kmssrFeb. 9, 2024, 7: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, 11: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, 9: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, 10: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
AC
Alexandru CodreanuJan. 20, 2024, 12:57 a.m.
QML Обнулить значения SpinBox Доброго времени суток, не могу разобраться с обнулением значение SpinBox находящего в делегате. import QtQuickimport QtQuick.ControlsWindow { width: 640 height: 480 visible: tr…
BlinCT
BlinCTDec. 27, 2023, 9:57 p.m.
Растягивать Image на парент по высоте Ну и само собою дял включения scrollbar надо чтобы был Flickable. Так что выходит как то так Flickable{ id: root anchors.fill: parent clip: true property url linkFile p…
Дмитрий
ДмитрийJan. 10, 2024, 5:18 p.m.
Qt Creator загружает всю оперативную память Проблема решена. Удалось разобраться с помощью утилиты strace. Запустил ее: strace ./qtcreator Начал выводиться весь лог работы креатора. В один момент он начал считывать фай…
Evgenii Legotckoi
Evgenii LegotckoiDec. 12, 2023, 7:48 p.m.
Побуквенное сравнение двух строк Добрый день. Там случайно не высылается этот сигнал textChanged ещё и при форматировани текста? Если решиать в лоб, то можно просто отключать сигнал/слотовое соединение внутри слота и …

Follow us in social networks