Last visit 1 day, 20 hours ago

Evgenij Legotskoj

EVILEG

  • 31
  • 0
Donate
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. …

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, …

Evgenij LegotskojMarch 9, 2020, 7:41 p.m.

AndroidAndroid and QML - Adding Splash Screen

manifest, Splash, Android, QML

Let me show you a small example of adding Splash Screen to an application written in Qt. In this case, the Splash Screen will be added to the application using the Android ecosystem, that is, through its manifest. Adding a …

Evgenij LegotskojJan. 31, 2020, 3:50 a.m.

DjangoDjango - Tutorial 051. How to change queryset and editing ability in ModelAdmin depending on the user

Model, UserAdmin, Django

A short note on how to fix the queryset administration form admin.ModelAdmin or UserAdmin . Actually, there is no difference, since the form UserAdmin is inherited from admin.ModelAdmin . Nevertheless, I will show UserAdmin as an example.

The task is …

Evgenij LegotskojDec. 1, 2019, 2:22 p.m.

QtQt/C++ - Tutorial 090. How to make a learning dialogue with highlighting widgets in the program

Qt, QWidget, Stylesheet, Tutorial

I suggest studying a small application in which a dialog box will be created, thanks to which the user can be trained in the functionality of your program, step by step explaining which program widget is responsible for what.

To …

Evgenij LegotskojNov. 25, 2019, 5:53 p.m.

PyQt5PyQt5 - Tutorial 009. Using QThread with MoveToThread

moveToThread, QObject, QThread, PyQt5, Qt

Based on one of the questions on the forum, I wrote an example on using QThread in PyQt5, as well as using the moveToThread method to move the class object of the inherited QObject to another thread.

In this example, …

Evgenij LegotskojNov. 25, 2019, 3:35 p.m.

QMLQML - Tutorial 038. Using the clip property to crop child objects inside Item or Rectangle

clip, ListView, OpacityMask, QML

Quite often, the same question arises on the forum regarding the problem of displaying content embedded in any QML objects.

The most common manifestation of this problem is when ListView content scrolls beyond its scope. In any case, this is …

Evgenij LegotskojNov. 22, 2019, 2:03 a.m.

DjangoDjango - Tutorial 050. Creating Dynamic Site Settings Using SingletonModel

SingletonModel, Model, Django, singleton

Let's say you create a site with CMS based on Django, which must have some kind of dynamic site settings that will be available to the user. For example, the name of the site, some specialized information, while you take …

Evgenij LegotskojNov. 9, 2019, 5:52 a.m.

PyQt5PyQt5 - Tutorial 008. Working with QTableWidget (Update tutorial 006)

PyQt5, QTableWidget

This will be a small update to the lesson on using QTableWidget in PyQt5

In the previous lesson it was shown how to display some kind of information in QTableWidget. And this lesson will also show how to make some …

Evgenij LegotskojNov. 9, 2019, 2:42 a.m.

QMLQML - Tutorial 037. Customizing Buttons in QML (Update Lesson 002)

Custom Button QML, Custom, QML

At the request of one of the users, I am updating one of the first lessons in accordance with the current status of Qt. Namely, a new lesson will be written using Qt Quick Controls 2.

Namely, we customize the …

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