분류 전체보기414 Handling Events with Signals and Slots Support for Signals and Slots : https://www.riverbankcomputing.com/static/Docs/PyQt5/signals_slots.html Using Qt Designer : https://www.riverbankcomputing.com/static/Docs/PyQt5/designer.html 신호 및 슬롯 기본 사항 object1.signalName.connect(object2.slotName) 슬롯 은 신호를 수신하고 이에 응답하여 작동할 수 있는 객체 메서드입니다. 이벤트에 대한 애플리케이션의 응답을 구성하기 위해 신호를 슬롯에 연결합니다. 신호는 이벤트 유형에 대한 응답으로 방출될 수 있는 개체의 특수 속성입니다. 이벤트는 사용자 작업, 시간 제한 또.. 2023. 3. 8. Building Forms with QtWidgets 2 Building Forms with QtWidgets One of the first steps in application development is prototyping your app's GUI. With a wide range of ready-to-use widgets, PyQt makes this very easy. Best of all, we can move our prototype code directly into an actual application when we're done. In this chapter, we're going to get familiar with basic form design over the following topics: Creating ba.. 2023. 3. 8. Deep Dive into PyQt 1 Section 1: Deep Dive into PyQt In this section, you will explore the core features of PyQt. By the end of this section, you should be comfortable with the basic design workflow and coding idioms involved in writing PyQt applications and feel confident in your ability to construct simple PyQt interfaces. The following chapters are in this section: Chapter 1, Getting Started with PyQt Chapter 2,.. 2023. 3. 8. Understanding Layouts In this chapter, we will focus on the following topics: Using Horizontal Layout Using Vertical Layout Using Grid Layout Using Form Layout Understanding layouts As the name suggest, layouts are used for arranging widgets in the desired format. On arranging certain widgets in a layout, certain size and alignment constraints are applied to the widgets automatically. For example, on increasing the s.. 2023. 3. 1. Running Python Scripts on Android and iOS In this chapter, you will learn to run Python scripts on Android devices as well as on iOS. You will learn about the following topics: Copying scripts from PC to Android devices Prompting for a username and displaying a welcome message Understanding different buttons in a Dialog box Performing single selection from a list Performing multiple selections from a list Displaying a Date Picker dialog.. 2023. 2. 28. Using Google Maps In this chapter, you will learn to use Google Maps in Python applications and explore the different advantages provided by Google. You will learn to do the following tasks: Find out details of a location or landmark Get complete information from latitude and longitude values Find out the distance between a two locations Display a location on Google Maps Introduction The Google Maps API is a set .. 2023. 2. 28. Implementing Animation In this chapter, you will learn how to apply motion to a given graphic image, hence implementing animation. Animations play a major role in explaining the practical workings of any machine, process, or system. In this chapter, we will be covering the following topics: Displaying a 2D graphical picture Making a ball move down on the click of a button Making a bouncing ball Making a ball animate a.. 2023. 2. 28. Using Graphics In every application, graphics play a major role in making it more user-friendly. Graphics make concepts easier to understand. In this chapter, we will be covering the following topics: Displaying mouse coordinates Displaying coordinates where the mouse button is clicked and released Displaying a point where the mouse button is clicked Drawing a line between two mouse clicks Drawing lines of dif.. 2023. 2. 28. Database Handling Database handling plays a major role in any application as data needs to be stored for future use. You need to store customer information, user information, product information, order information, and so on. In this chapter, you will learn every task that is related to database handling: Creating a database Creating a database table Inserting rows in the specified database table Displaying rows .. 2023. 2. 28. 이전 1 ··· 35 36 37 38 39 40 41 ··· 46 다음