A
A
Albert2019-04-14 22:19:18
Python
Albert, 2019-04-14 22:19:18

What literature to read to create a convenient and customizable analogue of android studio in python?

There is a kivy (python) framework on which you can create cross-platform applications. But there is no normal graphical environment for it, I mean the one that is in android studio or visual studio, godot engine, etc. Where you can add a button or text from the palette (a list of UI elements - widgets are called in Kivy), change the size of the button with the mouse, etc.
There is a desire to try to implement something similar.
The main components will be:
- a tree of widgets (buttons, labels, checkboxes, etc.)
here you can select widgets for subsequent actions with them, change the order and depth of nesting, delete, etc.
- a palette of widgets (from here you can add widgets)
- application preview area (here you see the result; two modes - in normal mode, you can click on buttons, enter text, etc.; in edit mode, you can change the size of widget elements and their position, while you cannot click on buttons)
- inspector (there are a lot of sliders, knobs, checkboxes that correspond to the values ​​of the parameters of the currently selected widget).
- text editor (here you can see the final text and edit it).
There will also be an undo system, a system of shortcuts (when you can assign keyboard shortcuts to certain actions).
And perhaps even a virtual assistant bot in customization, which, for example, will collect statistics of called actions / actions, analyze them, for example, for the frequent use of certain sequences of actions and offer to create a macro from them or put an action in the form of a button or checkboxes on the toolbar or in the context menu right mouse button.
What can be read on this topic?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
V
Vladimir, 2019-04-14
@Casufi

Write plugins for any of the IDEs, for example Google PyCharm plugin development

D
Denis Zagaevsky, 2019-04-14
@zagayevskiy

This is a very large area, entire companies are engaged in this, and even then they are not doing well.
By the way, all this is button-throwing

- widget tree (buttons, labels, checkboxes, etc.)
here you can select widgets for subsequent actions with them, change the order and nesting depth, delete, etc.
- widget palette (from here you can add widgets)
- application preview area (here you see the result; two modes - in normal mode, you can click on buttons, enter text, etc; in edit mode, you can change the size of widget elements, their position, while you cannot click on buttons)
- inspector (here are a lot of sliders, twists, checkboxes, which match the parameter values ​​of the currently selected widget).

Real developers don't. Most of my colleagues (and me too) do not use this garbage.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question