MCPcopy Create free account

hub / github.com/aniketrajnish/MultiWindowSync-PyQt / functions

Functions41 in github.com/aniketrajnish/MultiWindowSync-PyQt

↓ 3 callersMethodloadImage
Load the Image/GIF into the window and apply the scaleFactor. Decides between QMovie and QPixmap based on the type of image.
src/ImageWindow.py:84
↓ 2 callersMethoddisplayImagePreview
Display current image in image display area and scale the image to fit the display area while maintaining aspect ratio.
src/MainWindow.py:259
↓ 2 callersMethodopenNewWindow
Opens a new image window as a child of the main window. Connects signals for image position and window closing.
src/MainWindow.py:221
↓ 2 callersMethodupdateAllSettings
Single method to update all settings from the Main Window.
src/MainWindow.py:273
↓ 2 callersMethodupdateFunction
A timer to keep track and update the image's position until the window is moved. timeStep determines how often the update function is
src/ImageWindow.py:61
↓ 1 callersMethodcenterImage
Move the image/GIF to the center of the window.
src/ImageWindow.py:105
↓ 1 callersMethodinitBottomButtons
Initialize buttons to open a new Image Window or Quit the application.
src/MainWindow.py:179
↓ 1 callersMethodinitCheckBoxes
Initilize checkboxes for Image Settings.
src/MainWindow.py:136
↓ 1 callersMethodinitComponents
Initialize all the UI components that are defined below.
src/MainWindow.py:63
↓ 1 callersMethodinitImageDisplay
Initialize area for displaying image that will be diplayed in all the Image Windows.
src/MainWindow.py:171
↓ 1 callersMethodinitLayout
The layouts that make up the window are intialized here. This includes: - Central Layout (Widget) - Left Side Layout (Control
src/MainWindow.py:43
↓ 1 callersMethodinitMenuBar
Initializes a Menu Bar with options to load an image/gif and close all the windows that are open.
src/MainWindow.py:76
↓ 1 callersMethodinitRadioBtns
Initialize radio buttons to control the refresh rate of the update function of Image Windows.
src/MainWindow.py:152
↓ 1 callersMethodinitScaleSlider
Initialize a Slider for scaling the image. The values are scaled 100 folds to enable fine control and each step for a slider is an in
src/MainWindow.py:120
↓ 1 callersMethodinitSettings
The image path is assigned to the window as well as the update function to update the image position is initialized. The settings fro
src/ImageWindow.py:46
↓ 1 callersMethodinitStatusBar
Initalize a Status Bar to message about display different operations in the bottom of the screen.
src/MainWindow.py:91
↓ 1 callersMethodinitToolBar
Initialize a Tool Bar with options to randomize the settings and open multiple windows based on the number of window specified.
src/MainWindow.py:99
↓ 1 callersMethodinitUI
The window is initialized randomly in a bounding box that's relative to the screen. The Image Label to hold the image is given the sa
src/ImageWindow.py:28
↓ 1 callersMethodinitUI
Initialize the window settings, layout and the UI components.
src/MainWindow.py:21
↓ 1 callersMethodinitWindow
The main window settings and properties are assigned here. The winow location is kept relative to the screen size and the size of the
src/MainWindow.py:29
↓ 1 callersFunctionmain
Creates the Image Window Manager that can be used to open the image windows.
src/MultiWindowTest.py:5
↓ 1 callersMethodrestartGif
Used to sync the GIF animation across all windows.
src/ImageWindow.py:146
↓ 1 callersMethodsetKeepCentered
(self, state)
src/ImageWindow.py:25
↓ 1 callersMethodsetMoveWithWindow
(self, state)
src/ImageWindow.py:22
↓ 1 callersMethodsetScale
Scale the image and its label based on the user input by using the scale slider.
src/ImageWindow.py:153
↓ 1 callersMethodupdateAllWindows
Updates image preview in the main window and loads the image in all image windows.
src/MainWindow.py:212
↓ 1 callersMethodupdateImageScale
Apply scale value from the slider to the all the image and their labels in the image window.
src/MainWindow.py:296
↓ 1 callersMethodupdateImageSettings
Apply settings from the checkboxes. Give message in the status bar about one of the bugs that we're currently facing.
src/MainWindow.py:307
↓ 1 callersMethodupdateTimeStep
Update refresh rate of Update Function in the windows based on the radio button selected.
src/MainWindow.py:281
Method__init__
The settings and window is intialized as well the path of the image to be shown is assigned.
src/ImageWindow.py:14
Method__init__
Initialize the UI of the window, assign the default path of the images, and intialize an array to store all the image windows.
src/MainWindow.py:12
MethodcloseAllImageWindows
Close all the windows and remove their reference in the Main Window.
src/MainWindow.py:349
MethodcloseEvent
Communicate to the main window that one image has been closed to remove it from the list of the imageWindows.
src/ImageWindow.py:167
MethodconfirmQuit
Quit Window. You can't see me :-]
src/MainWindow.py:367
MethodmoveEvent
Override the default move event to communicate the positon between different windows when an Image window is moved. It ensures that i
src/ImageWindow.py:71
MethodonImageMoved
Handles communication b/w windows on moving a window and updates the position of the images in other windows.
src/MainWindow.py:246
MethodopenFileDialog
Opens File Explorer to choose image/GIF files. The selected image is displayed in Image Windows.
src/MainWindow.py:197
MethodopenMultipleWindows
Open multiple mindows specified in the toolbar.
src/MainWindow.py:338
MethodrandomizeSettings
Randomize all the Main Window Settings.
src/MainWindow.py:322
MethodremoveImageWindow
Remove closed window based on signals from the closing window.
src/MainWindow.py:360
MethodupdateImagePosition
Used to update the position of image ensuring that the image remains at a consistent position relative to the other windows. If the
src/ImageWindow.py:120