Evgenij LegotskojApril 26, 2020, 3:08 p.m.

DjangoDjango - Tutorial 052. Redefining a User Model

Model, QuerySet, Python, django

There are various options for working with a user model for creating a user profile and adding some specific information, for example, a profile photo. One way is to add a profile model with the OneToOneField field for the user. …

mafulechkaApril 23, 2020, 4:56 a.m.

QtCMake versionless targets (Qt 5.15)

Qt, command, target, cmake

The Qt developers are working on porting Qt 6 to CMake as their internal build system. While Qt 6 is still a few months away, you can already see some of the benefits of this work in Qt 5.15. Christian …

Said PyApril 23, 2020, 2:50 a.m.

DjangoWorking with Django model ChoiceField

models, Django

Today we going to explore how to work with model ChoiceField in Django.
To better understand, let's see the following examples.


#models.py

#Django Models ChoiceField    
class Profile(models.Model):
    # Country Choices
    CHOICES = (
        ('US', 'United States'),
        ('FR', 'France'),
        ('CN', 'China'), …
Evgenij LegotskojApril 22, 2020, 5:15 p.m.

EVILEGRefusal of advertising networks online EVILEG (Google Adsense, YAN Yandex, etc.)

EVILEG

So, perhaps the most joyful moment has come for many users of the EVILEG website. Namely, disabling advertising networks on the site.
Perhaps you would like to know the reasons for such an interesting behavior of the site owner, who, …

mafulechkaApril 14, 2020, 7:21 a.m.

QtQt Design Studio 1.5 Beta Released

Design Studio, Qt, release

Qt developers are happy to announce the beta version of Qt Design Studio 1.5

Qt Design Studio is a user interface design and development tool that allows designers and developers to rapidly prototype and develop complex user interfaces. Both designers …

Said PyApril 13, 2020, 9:10 a.m.

Python 3How to check list is empty in python

python3

Hello guys, today we going to learn how to check if a list is empty


#empty list
list_1 = []

#checking if list is empty by using len()
if not llist_1:
    print('yes! the list is empty.')

#output 
#yes! the list …
DK
Dzhon KofiApril 13, 2020, 8:38 a.m.

Career and business in IT fieldPath to Programmers (C ++)

стать программистом с нуля, C++, Qt, карьера в IT

Hello. I am with you. I liked boxing and long-distance running, and I only thought about sports, but I trained as a sailor. I worked in aviation and became a C++ programmer at 29. I'll tell you how it happened. …

mafulechkaApril 12, 2020, 4:58 a.m.

QtNew features in CMake 3.17

cmake

On March 20, Kitware released CMake 3.17.
Below are some changes that should improve the life of a Qt developer using CMake.


Ninja Multi-Config Generator

This generator is similar to the Ninja generator but can be used to create multiple …

mafulechkaApril 3, 2020, 4:40 a.m.

QtWhat's New in QML in Qt 5.15

property, Qt, QML, required

While big changes are expected in Qt 6.0, QML has already received some new language features in 5.15. Read on to learn about required properties, built-in components, and nullish coalescing.


Required Properties

Sometimes you have components that require some property …

mafulechkaMarch 26, 2020, 5:18 a.m.

QtQML Type Registration in Qt 5.15

qmlRegisterType, QMetaType, qmlRegisterSingletonType, Qt, QML, QML_ELEMENT

Qt 5.15 provides a much improved way to represent C++ types for QML. Now you can specify the name and version of your module in a central place, and you no longer need to specify minor versions or revisions. In …

Andrei YankovichMarch 24, 2020, 9:50 a.m.

SoftwareRelease of C++/Qt and QML application deployment utility CQtDeployer v1.4.0 (Binary Box)

с++, Installer, cqtdeployer, deployment, самодостаточные установщики, qml

Almost half a year later, a major update of the CQtDeployer deployment utility was released.
This update has many innovations, but the main emphasis is on creating packages.


CQtDeployer 1.4.0

Fixes

  • Fixed The help output in the console, now the …
Said PyMarch 24, 2020, 6:02 a.m.

Python 3How to Remove the last word from string in Python

string, python3

To remove the last word from string we need to follow these steps

  1. convert the string to list by using split() function
  2. remove the last item from the list
  3. convert the list to string

example

#string
string = "hello world" …
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
JS

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

  • Result:50points,
  • Rating points-4
V

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

  • Result:50points,
  • Rating points-4
DK

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

  • Result:20points,
  • Rating points-10
Popular publications in the last 90 Days
Last comments

Qt/C++ - Lesson 005. QSqlRelationalTableModel - The work with relational tables

Хочу поделится, мы сделали свой вариант QSqlRelationalTableModel и заодно к нему новое развитие QTableView, и получилась готовая таблица PblTableDlg, у которой реализованы внешние связи, комбобо…
S

Qt WinAPI - Lesson 004. QtIFW - Automation WinDeployQt and build installers with Qt Installer Framework

Hello Evgenij, regarding the online installer, I've tried many times to use web host for the created repo after repogen step. I tried using github but I found people talking it is not …
  • juvf
  • Jan. 16, 2023, 10:18 p.m.

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

PS. Почти дописал плеер на QML. Уперся в ограничения QML. Переписываю плеер на с++/qt, а графика останится в qml. Нашел то, что мне надо, а именно индикатор звука. Qt может перехватывать аудиопо…

Qt/C++ - Lesson 039. How to paint stroke in QSqlTableModel by value in the column?

В этом случае вижу только какой-нибудь костыль в стиле перебора по всем индексам в заголовке с помощью методу headerData . То есть пройтись в for цикле пока не будет совпадения н…
a
  • avt
  • Dec. 12, 2022, 9:06 a.m.

Qt/C++ - Lesson 039. How to paint stroke in QSqlTableModel by value in the column?

Спасибо за ответ. Нет, дело не в читаемости кода, в разных таблицах у меня есть столбцы с одинаковым именем, но с разными индексами. Хотел сделать решение по имени столбца для всех таблиц сразу.…
Now discuss on the forum

django rest framework лишние символы

Покажите код сериализатора вашего.

Здравствуйте помогите с qml

нужно высчитывать координаты того, что должно двигаться, полагаю, что тот маленький круг, и в случае выхода за пределы круга менять переменную типа bool на true/false, которая в свою очередь буд…
  • BlinCT
  • Jan. 30, 2023, 11:59 a.m.

Обращение к сигналу из qml который реализован в другом потоке

Хотя есть мысль что я не правильно создаю реакцию на данный сигнал. Но вроде как правильно все.
VA

Как добавить виртуальную клавиатура с Т9 в своей проект на QML.

Добрый день. Прошу помочь, пишу небольше приложение в Qt. Добвил в свой проект виртуальную клавиатуру от Qt. Но как добавить в него возможность изменения Т9 никак не могу понять.
P
About
Services
© EVILEG 2015-2022
Recommend hosting TIMEWEB