Custom View incomplete to be continued
Custom View
Purple wish_ The world is as good as possible. A teenager who is committed to internship in the factory during the sophomore summer vacation wrote for the first time on February 13, 2022
What is a custom View
What is the difference between a custom View and a custom ViewGroup?
Custom views generally need to implement t ...
Added by hedgehog90 on Sun, 13 Feb 2022 08:34:48 +0200
Attribute animation of Android animation
Android system provides three kinds of animation: frame animation, gap animation and attribute animation. Here we analyze and summarize the attribute animation.
Attribute animation is more powerful than frame animation and gap animation. Frame animation and gap animation can only be applied to View and its subclasses. Attribute animation can m ...
Added by madhouse92 on Thu, 10 Feb 2022 21:32:25 +0200
Android APP complete basic tutorial (10) application resources - Basic
1 Introduction to Android application resources
Android application mainly consists of two parts: code and resources. Resources mainly refer to things related to UI, such as UI layout, strings and pictures. The separation of code and resources allows the application to organize the UI according to the actual needs at run time. In this way, the ...
Added by billf on Thu, 27 Jan 2022 13:40:59 +0200
PyQt advanced interface control and operation
through the description in the previous sections, I believe that the little partner has a more detailed understanding of the application of PyQt. It is estimated that there is no problem in completing a simple application now. Is that enough? Of course not, leaving aside the complex layout, because this part is implemented by t ...
Added by viko20 on Thu, 27 Jan 2022 06:24:03 +0200
QT learning notes: QT object, window coordinates, click the button
QT learning notes (2): QT objects, window coordinates, signals and slots
Note: QT version used for learning is Qt5 nine
I QT object
You need to know that qt after creating an object, the programmer does not need to destroy it manually. To facilitate memory management, when the parent object is destructed, all objects in the child object list ...
Added by mikewooten on Sun, 23 Jan 2022 23:56:51 +0200
Custom QFileDialog QInputDialog
1, Transformation reasons
When using qinputdialog and QFileDialog, the most commonly used are their own static functions. The advantage is that the parameters are clear and easy to call, but at the same time, the disadvantage is lack of flexibility.
Scenario 1
The current page has controls that regularly update the status, such ...
Added by baennaeck on Fri, 21 Jan 2022 10:55:00 +0200
QT from entry to soil -- file reading and writing operation
introduction File reading and writing is a function of many applications, and even some applications are developed around the processing of files in a certain format, so file reading and writing is a basic function of application development.
Qt provides two basic methods for reading and writing plain text files:
Use the IODevice read-write f ...
Added by Sirus121 on Sun, 16 Jan 2022 00:57:43 +0200
QT from entry to soil - mouse event
introduction Personally, the event mechanism is the most difficult and subtle part of Qt. There are two main types of events:
Occurs when interacting with a user. For example, press the mouse (mousepress event) and hit the keyboard (keyPressEvent).The system automatically occurs, such as timer event, etc.
When an event occurs (for example, pr ...
Added by mtwildcard on Sun, 16 Jan 2022 00:32:32 +0200
Creation of Android Window
Knowledge points
Reference link
About creating suspended windows
First, you need to get WindowManager
WindowManager manager = (WindowManager) this.getSystemService(Context.WINDOW_SERVICE);
Add parameters to the window (size, location, type...)
WindowManager.LayoutParams viewParam = new WindowManager.LayoutParams();
Then you can set ...
Added by catgurl_ashley on Tue, 11 Jan 2022 14:49:45 +0200
UI automation framework based on python2 + selenium 3 + pytest4
Environment: Python 2 7.10, selenium3.141.0, pytest4.6.6, pytest-html1.22.0, Windows-7-6.1.7601-SP1
characteristic:
Secondary encapsulation of selenium makes it more convenient to write Case.Adopt PO design idea, one page per page Py, in which the elements and operation methods are defined; In TestCase, directly call the operation method ...
Added by f1nutter on Tue, 11 Jan 2022 14:13:34 +0200