Дмитрий
ДмитрийDec. 31, 2020, 5:19 a.m.

C++Generating pseudo-random numbers in Qt (QRandomGenerator)

QRandomGenerator

This note is a small addition to the article Generating pseudo-random numbers using the random STD library . The author omitted one of the useful functions of the QRandomGenerator class in it. The generator implementation is as follows:

QRandomGenerator *rg …
Read
mafulechka
mafulechkaOct. 13, 2020, 2:57 a.m.

QtAsynchronous APIs in Qt 6

QFuture, Asynchronous, QtConcurrent, Qt, QThreadPool, Qt 6

As readers may already know, Qt provides several threading constructs (threads, mutexes, wait states, etc.) as well as higher-level APIs such as QThreadPool, Qt Concurrent, and other related classes. This article will cover the higher level asynchronous APIs and the …

Read
---
---Oct. 5, 2020, 8:11 a.m.

Python5 Ways to Remove Unnecessary Characters from a String in Python

python

Remove specific characters from the string


Let's use ' str.replace '

With the help of * str.replace *, we can change some characters to others. If we just want to remove some characters, then we simply replace them with an …

Read
mafulechka
mafulechkaSept. 16, 2020, 5:31 a.m.

QtQt Design Studio - Sketch Bridge tutorial part 2

Sketch, Qt Design Studio, UI/UX, Tutorial

Welcome to the second part of the Sketch Bridge for Qt Design Studio guide. At the end of the first part, you created the first button and made it work in various states in Qt Design Studio (abbreviated as qds …

Read
mafulechka
mafulechkaSept. 2, 2020, 4:14 a.m.

QtQt Design Studio - Sketch Bridge tutorial part 1

Sketch, Qt Design Studio, UI/UX, Tutorial

Welcome to the Qt Design Studio Sketch Bridge tutorial. To follow it, you will need the commercial package Qt Design Studio 1.5 and Sketch Bridge, macOS and Sketch (developer uses 66.1).

This tutorial will show you how to make a …

Read
Evgenii Legotckoi
Evgenii LegotckoiJuly 21, 2020, 2:31 a.m.

C++Method call on nullptr

UB, nullptr, cpp

Let's take a look at a small code example when a method is called on an object that is initialized with nullptr .


Sample code

We are given the following program code.

#include <iostream>

using namespace std;

struct X
{ …
Read
Дмитрий
ДмитрийJune 28, 2020, 8:03 a.m.

QtComputer Geometry with Qt Creator

аналитическая геометрия, C++ геометрия, Qt геометрия, QVector2D, геометрия, компьютерная геометрия, QVector4D, QVector3D

By means of this article, I want to share my experience in using computer geometry, which I have accumulated in the process of working on my dissertation. Not everyone knows Qt Creator contains tools for working with geometry (in particular …

Read
---
---June 25, 2020, 2:34 p.m.

PythonWhat&#39;s new in Python 3.9

Python 3.9, Python 3

Table of contents

It is currently in beta (3.9.0b3), and in the future we will see a full release of Python 3.9. A few of the new features are just incredibly cool, and it will be awesome to see them …

Read
mafulechka
mafulechkaJune 23, 2020, 6:09 a.m.

FlutterFlutter and desktop apps

Desktop, Web, Dart, Flutter

Continuous progress in computer technology

It's no secret that the Flutter developers' mission is to target a wide range of devices including iOS, Android, Windows, Linux, macOS and websites from a single codebase, with native compilation and game-quality rendering. . …

Read
mafulechka
mafulechkaJune 18, 2020, 5:50 a.m.

QtIntroducing Flow Mode in Qt Design Studio 1.5 - Part 1

UX, Design, Qt, UI, Designer

In version 1.5 of Qt Design Studio, you can try the flow mode functionality. The first part of this multi-part article will cover the basic usage of flow mode and how to get started. At the end of the article, …

Read
---
---June 16, 2020, 6:42 a.m.

PythonPython 10 line toast notifications

Python

Introduction

We often use print to monitor the state of a script, or when we're debugging. Instead of constantly looking at the terminal window and waiting for some kind of output, we can use toast notifications as a way to …

Read
IscanderChe
IscanderCheJune 15, 2020, 6:51 a.m.

C++A simple text editor in Ultimate ++

C++, U++, Ultimate++, UPP

I learned about Ultimate++ ( https://www.ultimatepp.org/ ) quite by accident when I read in an IT RSS feed about the next update of this framework. Well, I thought, since my pen projects are on hold, why not try something new. …

Read
e
  • ehot
  • March 31, 2024, 11:29 a.m.

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

  • Result:78points,
  • Rating points2
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
Last comments
k
kmssrFeb. 8, 2024, 3:43 p.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, 7:30 a.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, 5:38 a.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. 18, 2023, 6:01 p.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
a
a_vlasovApril 14, 2024, 3:41 a.m.
Мобильное приложение на C++Qt и бэкенд к нему на Django Rest Framework Евгений, добрый день! Такой вопрос. Верно ли следующее утверждение: Любое Android-приложение, написанное на Java/Kotlin чисто теоретически (пусть и с большими трудностями) можно написать и на C+…
Павел Дорофеев
Павел ДорофеевApril 13, 2024, 11:35 p.m.
QTableWidget с 2 заголовками Вот тут есть кастомный QTableView с многорядностью проект поддерживается, обращайтесь
f
fastrexApril 4, 2024, 1:47 a.m.
Вернуть старое поведение QComboBox, не менять индекс при resetModel Добрый день! У нас много проектов в которых используется QComboBox, в версии 5.5.1, когда модель испускает сигнал resetModel, currentIndex не менялся. В версии 5.15 при resetModel происходит try…
AC
Alexandru CodreanuJan. 19, 2024, 8:57 a.m.
QML Обнулить значения SpinBox Доброго времени суток, не могу разобраться с обнулением значение SpinBox находящего в делегате. import QtQuickimport QtQuick.ControlsWindow { width: 640 height: 480 visible: tr…

Follow us in social networks