MCPcopy Create free account

hub / github.com/Apress/modern-pyqt / functions

Functions209 in github.com/Apress/modern-pyqt

Method__init__
(self)
ch08_chatbot/chatbotGUI.py:68
Method__init__
(self)
ch04_database_handling/sql_manager.py:17
Method__init__
(self, parent=None)
ch04_database_handling/Login.py:14
Method__init__
(self)
ch04_database_handling/view_database.py:26
Method__init__
(self, parent, video_file=None)
ch05_computer_vision/display_video.py:26
Method__init__
(self)
ch05_computer_vision/image_processing.py:23
Method__init__
(self)
ch05_computer_vision/display_images.py:24
Method__init__
(self, parent, video_file=None)
ch05_computer_vision/human_detection.py:24
Method__init__
(self)
ch06_visualize_3D_data/bar_3D_multiseries.py:132
Method__init__
(self)
ch06_visualize_3D_data/bar_graph_3D.py:16
Method__init__
(self, title, bg_color)
ch02_project_management/project_manager.py:110
Method__init__
(self)
ch02_project_management/project_manager.py:196
Method__init__
(self)
ch02_project_management/drag_drop_widget.py:42
Method__init__
(self)
ch02_project_management/drag_drop_widget.py:75
Method__init__
(self)
ch02_project_management/drag_drop_image.py:79
Method__init__
(self)
ch03_data_visualization/pyqt_matplotlib.py:28
Method__init__
(self)
ch03_data_visualization/simple_line_chart.py:14
Method__init__
(self)
ch03_data_visualization/combine_charts.py:35
Method__init__
(self)
ch03_data_visualization/data_visualization.py:53
Method__init__
(self)
ch09_deploy_apps/AudioRecorder/audio_recorder.py:17
Method__init__
(self)
ch01_overview/pomodoro.py:20
Method__init__
(self)
ch01_overview/user_manager.py:21
Method__init__
(self)
ch07_networking/request_html.py:17
Method__init__
(self, parent)
ch07_networking/email_app.py:16
MethodacceptUserInfo
Verify that the user's passwords match. If so, save them user's info to the json file and display the login window.
ch04_database_handling/Login.py:124
MethodaddNewUserToTable
Add information from input widgets in dialog box to a list. If a widget is empty, append None to the list. Finally, add a new row to the tabl
ch01_overview/user_manager.py:127
MethodaddTaskToTaskbar
When the user clicks plus button, the widgets for the new task will be added to the task bar. Only one task is allowed to be entered at a tim
ch01_overview/pomodoro.py:304
MethodadjustBrightness
The slot corresponding to adjusting image brightness.
ch05_computer_vision/image_processing.py:133
MethodadjustContrast
The slot corresponding to adjusting image contrast.
ch05_computer_vision/image_processing.py:128
MethodapplyImageProcessing
For the boolean variables related to the image processing techniques, if True, apply the corresponding process to the image and display the c
ch05_computer_vision/image_processing.py:152
MethodchangeAnimations
Slot for changing the animation style of the chart.
ch03_data_visualization/data_visualization.py:226
MethodchangeBarStyle
Change the visual style of the bars.
ch06_visualize_3D_data/bar_3D_multiseries.py:87
MethodchangeCameraView
Change the camera's preset (the angle from which we view the camera) by cycling through Qt's different preset camera views.
ch06_visualize_3D_data/bar_3D_multiseries.py:56
MethodchangeChartTheme
Slot for changing the theme of the chart.
ch03_data_visualization/data_visualization.py:216
MethodchangeLegend
Slot for turning off the legend, or changing its location.
ch03_data_visualization/data_visualization.py:232
MethodchangeSelectionStyle
Choose the style used to select data, by rows, columns or other options.
ch06_visualize_3D_data/bar_3D_multiseries.py:109
MethodchangeTheme
Change the theme and appearance of the graph. Update the QCheckbox widgets.
ch06_visualize_3D_data/bar_3D_multiseries.py:80
MethodchatButtonPressed
When the user begins chatting, the appearance and state of the chat_button are set, and the chatbot is created. The user can also end the cha
ch08_chatbot/chatbotGUI.py:178
MethodclearCurrentTask
Delete the current task, and reset variables and widgets related to tasks.
ch01_overview/pomodoro.py:331
MethodclearText
Clear the QTextEdit widget's text.
ch04_database_handling/sql_manager.py:129
MethodcloseEvent
Display a dialog box to confirm that the user wants to close the application while in a chat.
ch08_chatbot/chatbotGUI.py:247
MethodcloseEvent
Reimplement the closing event to ensure that the thread closes.
ch05_computer_vision/display_video.py:183
MethodcloseEvent
Reimplement the closing event to ensure that the thread closes.
ch05_computer_vision/human_detection.py:159
MethodcloseEvent
Display a message in the system tray when the main window has been closed.
ch09_deploy_apps/AudioRecorder/audio_recorder.py:165
MethodconfirmTask
If user clicks Add Task in dialog box, create new TaskWidget object and insert it into the container's layout.
ch02_project_management/project_manager.py:166
MethodconfirmTaskDescription
When user selects Save, save the info written in the text edit widget in the task_description variable.
ch02_project_management/project_manager.py:70
MethodconnectToDatabase
Check the user's information. Close the login window if a match is found, and open the SQL manager window.
ch04_database_handling/Login.py:64
MethodcreateNewTask
Set up the dialog box that allows the user to create a new task.
ch02_project_management/project_manager.py:138
MethodcreateNewUser
Set up the dialog box for the user to create a new user account.
ch04_database_handling/Login.py:89
MethodcreateNewUserDialog
Set up the dialog box that allows the user to enter new user information.
ch01_overview/user_manager.py:84
MethoddisplayPointInfo
Demonstration that series can be interacted with.
ch03_data_visualization/combine_charts.py:109
MethoddisplayTime
Calculate the time displayed in the time_label widget.
ch09_deploy_apps/AudioRecorder/audio_recorder.py:153
MethoddragEnterEvent
Accept the dragging event onto the widget.
ch02_project_management/project_manager.py:174
MethoddragEnterEvent
Accept drops when objects are dragged inside widget.
ch02_project_management/drag_drop_widget.py:57
MethoddragEnterEvent
Reimplement event handler to check the data type of item being dragged onto the widget.
ch02_project_management/drag_drop_image.py:102
MethoddropEvent
Check the source of the mouse event. If the source does not already exist in the target widget then the drop is allowed.
ch02_project_management/project_manager.py:178
MethoddropEvent
Check the source of the mouse event. If the source (widget) does not already exist in the target widget then it can be dropped.
ch02_project_management/drag_drop_widget.py:61
MethoddropEvent
Reimplement event handler to handle when an item is dropped on the target. If the mimeData is an image, then the item is accepted.
ch02_project_management/drag_drop_image.py:110
MethodedgeDetection
The slot corresponding to applying edge detection.
ch05_computer_vision/image_processing.py:145
MethodenterUserMessage
Get the text from the line edit widget and append the message to the model. Then display the chatbot's response.
ch08_chatbot/chatbotGUI.py:191
MethodimageSmoothingFilter
The slot corresponding to applying 2D Convolution for smoothing the image.
ch05_computer_vision/image_processing.py:138
MethodinputPassword
Create an instance of the PasswordDialog class and input the Gmail account password.
ch07_networking/email_app.py:114
MethodinvalidVideoFile
Display a dialog box to inform the user that an error occurred while loading the video.
ch05_computer_vision/display_video.py:178
MethodloadHTML
Send a GET request to retrieve the current web page and its data.
ch07_networking/request_html.py:75
MethodmouseMoveEvent
Reimplement how to handle the widget being dragged. Change the mouse icon when the user begins dragging the object.
ch02_project_management/project_manager.py:87
MethodmouseMoveEvent
Reimplement the event handler when the object is being dragged.
ch02_project_management/drag_drop_widget.py:30
MethodmouseMoveEvent
Reimplement the mouseMoveEvent so that the user can scroll the chart area.
ch03_data_visualization/data_visualization.py:41
MethodmousePressEvent
Reimplement what happens when the user clicks on the widget.
ch02_project_management/project_manager.py:82
MethodmousePressEvent
Reimplement the event handler when the object is clicked on.
ch02_project_management/drag_drop_widget.py:25
MethodmousePressEvent
If the mouse button is pressed, change the mouse cursor and get the coordinates of the click.
ch03_data_visualization/data_visualization.py:34
MethodmouseReleaseEvent
(self, event)
ch03_data_visualization/data_visualization.py:48
MethodopenImageFile
Open an image file and display the contents in the label widget.
ch05_computer_vision/image_processing.py:189
MethodopenImageFile
Open an image file and display the contents in the two label widgets.
ch05_computer_vision/display_images.py:82
MethodopenVideoFile
Open a video file and display the file's path in the line edit widget.
ch05_computer_vision/display_video.py:155
Methodpaint
Reimplement the delegate's paint() function. Renders the delegate using the specified QPainter (painter) and QStyleOptionViewItem (option) fo
ch08_chatbot/chatbotGUI.py:76
MethodreplyFinished
Get the reply data. Check for any errors that occurred while loading the web pages.
ch07_networking/request_html.py:88
MethodresetChartZoom
Reset the chart and the axes.
ch03_data_visualization/data_visualization.py:249
MethodresetImageAndSettings
Reset the displayed image and widgets used for image processing.
ch05_computer_vision/image_processing.py:169
MethodrotateHorizontal
(self, rotation)
ch06_visualize_3D_data/bar_3D_multiseries.py:48
MethodrotateVertical
(self, rotation)
ch06_visualize_3D_data/bar_3D_multiseries.py:52
Methodrun
This function handles training the chatbot. Once the training is complete, the training_finished signal is emitted, which allows the user to
ch08_chatbot/chatbotGUI.py:33
Methodrun
The code that we want to run in a separate thread, in this case capturing video using OpenCV, is placed in this function. run() is called
ch05_computer_vision/display_video.py:31
Methodrun
The code that we want to run in a separate thread, in this case capturing video using OpenCV, is placed in this function. run() is called
ch05_computer_vision/human_detection.py:29
MethodrunQuery
Run the query/queries entered in the QTextEdit widget.
ch04_database_handling/sql_manager.py:115
MethodsaveImageFile
Save the contents of the image_label to file.
ch05_computer_vision/image_processing.py:207
MethodsaveTableToFile
Save user information to a csv file.
ch01_overview/user_manager.py:153
MethodselectAudioPath
Open file dialog and choose the directory for saving the audio file.
ch09_deploy_apps/AudioRecorder/audio_recorder.py:114
MethodselectImageFile
Open an image file and display it on the label widget.
ch02_project_management/drag_drop_image.py:67
MethodselectMonths
Select a specific month to view.
ch06_visualize_3D_data/bar_3D_multiseries.py:123
MethodselectYears
Select a specific year to view.
ch06_visualize_3D_data/bar_3D_multiseries.py:116
MethodshowOrHideBackground
(self, state)
ch06_visualize_3D_data/bar_3D_multiseries.py:68
MethodshowOrHideGrid
(self, state)
ch06_visualize_3D_data/bar_3D_multiseries.py:71
MethodshowOrHideSeries
Show or hide the secondary series. seriesList()[1] refers to Spokane; seriesList()[2] refers to Richmond.
ch06_visualize_3D_data/bar_3D_multiseries.py:95
MethodsmoothenBars
Smoothen the edges of the items in all series.
ch06_visualize_3D_data/bar_3D_multiseries.py:74
MethodspecifyTaskInfo
Create the dialog box where the user to write more information about their current selected task.
ch02_project_management/project_manager.py:34
MethodstartCountDown
Starts the timer. If the current tab's time is 00:00, reset the time if user pushes the start button.
ch01_overview/pomodoro.py:198
MethodstartRecording
Set up the audio output file location, reset widget states. Also starts the timer and begins recording.
ch09_deploy_apps/AudioRecorder/audio_recorder.py:126
MethodstartVideo
Create and begin running the the worker thread to play the video.
ch05_computer_vision/display_video.py:127
MethodstartVideo
Create and begin running the the worker thread to play the video.
ch05_computer_vision/human_detection.py:122
MethodstopCurrentVideo
Stop the current video, process events, and clear the video_display_label.
ch05_computer_vision/display_video.py:146
← previousnext →101–200 of 209, ranked by callers