Original | PYQT5 | programming experience | pit climbing | sharing | 4|python advanced operation: multiple controls use the same function entry

         When we program PYQT5, when the interface design is completed, we usually need to correspond the control to the corresponding function events in the code one by one. If there are few controls, it may be nothing. However, with the gradual increase of requirements and functions of subsequent softwa ...

Posted by mwl707 on Mon, 22 Nov 2021 18:49:10 -0800

day13 package and file operations

Principle of import module 1. Introduction principle When the code is executed to the import module, the system will automatically enter the specified module and execute all the codes in the module; If the same module is imported multiple times in the same program, the corresponding code will be executed only once. # import test # import tes ...

Posted by twooton on Wed, 27 Oct 2021 05:05:45 -0700

android volume adjustment

Volume adjustment is divided into three parts: master volume (hardware volume, control sound card), stream volume (stream volume) and track volume(app volume). app volume formula: app_mix = master_volume * stream_volume * track_volume; Where master_volume,stream_volume and track_volume is a percentage, and 1 indicates that the volume is adju ...

Posted by penkomitev on Thu, 14 Oct 2021 22:26:55 -0700

Linux Application Development: SQLite database cross compilation deployment and Application

1, Database introduction 1.1 introduction to database Database is a data set that is stored together in a certain way, can be shared with multiple users, has as little redundancy as possible, and is independent of the application. It can be regarded as an electronic filing cabinet - the place where electronic files are stored. Users can add, ...

Posted by iconicCreator on Sat, 09 Oct 2021 10:38:24 -0700

Display process from Android Activity creation to View

preface Series of articles: Display process from Android Activity creation to View Android four components communication core When we click the desktop icon to start the App, and the App is displayed, what has happened? Understanding this part will deepen our impression of the relationship and difference among Activity, Window and View, ...

Posted by thepeccavi on Mon, 04 Oct 2021 12:33:10 -0700

Establishment of Android development environment and production of simple HelloWorld program

1. Download Android Studio Official website: http://www.android-studio.org 2. Right click to run the downloaded installer as an administrator, select the installation path, and go all the way to Next. 3. Error message when opening for the first time: unable to access Android SDK add on list Reason: after the Android SDK is started, it will det ...

Posted by Rhysyngsun on Thu, 23 Sep 2021 06:42:55 -0700

Android learning notes: UI controls and layout

1. Common properties of view class: android:id sets the identifier of the control android:layout_width sets the layout width of the subcomponent android:layout_height sets the layout height of the subcomponent android:background sets the background color of the control android:onClick sets the click event binding listener for the control androi ...

Posted by dagee on Thu, 02 Sep 2021 15:06:42 -0700

python configuration virtual environment, multi version management

When developing Python applications, the system has only one version of Python 3 installed: 3.x. All third-party packages will be installed by pip in the site packages directory of Python 3. If we want to develop multiple applications at the same time, these applications will share the same python, w ...

Posted by dross613 on Sat, 27 Jun 2020 01:13:39 -0700

Day 59: Web Development Django model

by Aurora Today, I'd like to introduce the model part of Django framework. The model is a simple and clear description of real data. It contains the necessary fields and behaviors for stored data. Django follows the DRY Principle. Its goal is that you only need to define the data model, and then you don't need to care about other miscellaneous ...

Posted by gb75 on Sun, 31 May 2020 23:09:39 -0700

python sqlite tool class dynamic parameters

I've been working on sqlite and python recently After referring to the tutorials on the Internet Combined with the previous java jdbc database tool classes, write the following python connection sqlite tool classes The main reason for this is to keep a java like Object args dynamic parameter writing method is compati ...

Posted by JonathanS on Tue, 05 May 2020 17:23:14 -0700