Skip to content

Instantly share code, notes, and snippets.

@erap129
Created January 15, 2022 15:28
Show Gist options
  • Select an option

  • Save erap129/a573b2125700c06b6866545ef035ac4b to your computer and use it in GitHub Desktop.

Select an option

Save erap129/a573b2125700c06b6866545ef035ac4b to your computer and use it in GitHub Desktop.
image_tracer_main_window_1
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