Evgenij LegotskojFeb. 9, 2022, 6:11 a.m.

DjangoDjango - Tutorial 056. How to convert image to WEBP format when saving to ImageField

ImageField, Django, WEBPField, webp, Python

WEBP is an image compression format that was introduced by Google in 2010. Its main advantage is its low size without visible loss of quality compared to formats such as JPEG or PNG. Therefore, it is quite logical to use …

Evgenij LegotskojFeb. 8, 2022, 6:55 a.m.

DjangoDjango - Tutorial 055. How to write auto populate field functionality

field, Django, python, auto, Python

For a long time I wanted to write an article on how to write auto populate field functionality for a Django project. This is a very useful feature that allows you to change the content of other model fields in …

Evgenij LegotskojFeb. 7, 2022, 8:52 a.m.

QtQt/C++ Tutorial 092. Creating translations for external text sources

Qt 6, Qt, Qt 5, QtLinguist, translation

Today we will discuss a rather interesting option for adding translation to a Qt/C++ application. Namely, adding translations for texts from external sources when you display texts from databases, an external API, or just some other files.

Such a situation …

Said PyDec. 26, 2021, 12:22 p.m.

Python 3Python: How to Test Internet Speed

speedtest

Probably, you have used the speedtest website before, but did you know that speedtest has a python library.
In this tutorial, We will learn to use the speedtest library to test your internet Speed. We'll also learn how to use …

Ruslan PolupanNov. 24, 2021, 3:39 a.m.

QtInstalling the QIBASE (Firebird) Qt 6.2.1 driver on openSUSE Tumbleweed

Qt 6, IBASE, FireBird, SQL

Another reinstallation. I decided to install Qt 6 already.


The firebird components are installed as follows

Add to .bashrc

# custom PATH Qt 6
export PATH="$PATH:~/Qt/6.2.1/gcc_64/bin"

check if cmake is installed

and then as in the documentation https://doc-snapshots.qt.io/qt6-dev/sql-driver.html , only …

Andrei YankovichMay 24, 2021, 10:10 a.m.

QtRelease of the C++/Qt and QML application deployment utility CQtDeployer v1.5.0

deploy, cqtdeployer, QML, Qt, deb

Release of the C++/Qt and QML application deployment utility CQtDeployer v1.5.0

Logo


This is the first major update in 2021. CQtDeployer 1.5 contains many useful improvements. The biggest improvements are the addition of the ability to package deb packages, and the …

BlinCTMarch 7, 2021, 8:04 a.m.

QtHow to display debug Qt symbols if you are using CLion instead of QtCreator

I welcome everyone.
As everyone has known for a long time, Qt has already steadily switched to CMake, replacing QMake.
And this means that you and I can use other IDEs to work with this framework.
CLion works great with …

Evgenij LegotskojDec. 31, 2020, 7:05 a.m.

EVILEGHappy New Year to all EVILEG Community !!!

Dear EVILEG users!

I congratulate you on the coming New Year!!!
I wish you happiness, health and success in programming in the new 2021!!!


As the creator of the site, I am very pleased that such a great community has …

DmitrijDec. 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 …
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 …

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

Python 35 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 …

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 …

Fornex

Let me recommend you a great European Fornex hosting.

Fornex has proven itself to be a stable host over the years.

For Django projects I recommend VPS hosting

Following the link you will receive a 5% discount on shared hosting services, dedicated servers, VPS and VPN

View Hosting
VA

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

  • Result:13points,
  • Rating points-10
M
  • Maks
  • Sept. 18, 2022, 7:04 a.m.

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

  • Result:70points,
  • Rating points1
PB

Qt - Test 001. Signals and slots

  • Result:78points,
  • Rating points2
Last comments

Qt/C++ - Lesson 035. Downloading files via HTTP with QNetworkAccessManager

Здравствуйте! Подскажите, пожалуйста, как сделать так, чтобы программа срабатыала без нажатия кнопки? Ну чисто при загрузке формы... Я так понимаю, надо что-то поменять в этой строчке con…
R5

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

Здравствуйте. Подскажите пожалуйста, как решить проблему multimedia модуль не распознается

Qt/C++ - Lesson 009. QTimer – How to work with timer?

Да, именно так. Но в коде без this написано - это ошибка в статье.
f

Qt/C++ - Lesson 009. QTimer – How to work with timer?

QTimer унаследован от QObject и ему передан this, идиома Qt предпологает что при вызове деструктора обьекта класса MyServer, обьект *timer тоже будет освобожден. Поправьте если ошибаюсь!

Qt/C++ - Lesson 009. QTimer – How to work with timer?

Потому что 7 лет назад я был бестолковее, чем сейчас.
Now discuss on the forum

Задать другой класс div-у

Добрый день. Попробуйте использовать Selenium. Это библиотека есть в виде Python модуля и она позволяет загружать страницу и манипулировать html элементами. Как я понимаю, в ней можно…
AB

Sorting the added QML elements in the ListModel

I am writing an alarm clock in QML, I am required to sort the alarms in ascending order (depending on the date or time (if there are several alarms on the same day). I've done the sorting …
ACh

Списки на QML

Вопрос решен с применением базы данных. Кому интересно, можете поюзать проект:) Отдельное спасибо Евгению за помощь)))Вход под админом Логин:1, пароль:1Вход под диспетчером Логин:22, пароль:2Вх…

Хочу переместить QMenuBar

Просто взять и заменить в пару строчек не получится. Qt предусматривает крайне ограниченный функционал по работе с обрамлением окон, к которому относится заголовок окна. Вообще это фу…

Django переводы фраз JavaScript файлов

Столкнулся с проблеммой некоторых библиотек javascript файлов. Мне нужно что бы переводы работали и в них. Выполнив инструкции из документации ничего не получаю. Помогите разобра…
About
Services
© EVILEG 2015-2022
Recommend hosting TIMEWEB