Created
January 15, 2022 15:28
-
-
Save erap129/a573b2125700c06b6866545ef035ac4b to your computer and use it in GitHub Desktop.
image_tracer_main_window_1
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| class MainWindow(QMainWindow): | |
| def __init__(self): | |
| super(MainWindow, self).__init__() | |
| self.setWindowTitle("Image Tracer") | |
| main_layout = QVBoxLayout() | |
| top_bar_layout = QHBoxLayout() | |
| image_bar_layout = QHBoxLayout() | |
| self.source_filename = None | |
| self.source_image_data = None | |
| self.result_image_data = None | |
| self.max_img_height = 400 | |
| self.max_img_width = 600 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment