Skip to content

Commit

Permalink
DOCS: Add descriptive header to __main__.py.
Browse files Browse the repository at this point in the history
  • Loading branch information
genedan committed Jan 9, 2025
1 parent 4bf9cda commit 26c913a
Showing 1 changed file with 3 additions and 24 deletions.
27 changes: 3 additions & 24 deletions faslr/__main__.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
"""
Launches the main application. This module is the entry point for running FASLR.
"""
import logging
import os
import platform
Expand Down Expand Up @@ -117,30 +120,6 @@ def __init__(
self.analysis_pane.addTab(self.auto_tab, "Auto")
self.analysis_pane.addTab(self.xyz_tab, "XYZ")

# This styling is mostly done to add a border right beneath the tab
# self.analysis_pane.setStyleSheet(
# """
# QTabWidget::pane {
# border: 1px solid darkgrey;
# top:-1px;
# background: rgb(245, 245, 245);
# }
#
# QTabBar::tab {
# background: rgb(230, 230, 230);
# border: 1px solid darkgrey;
# padding: 5px;
# padding-left: 10px;
# height: 30px;
# }
#
# QTabBar::tab:selected {
# background: rgb(245, 245, 245);
# margin-bottom: -1px;
# }
# """
# )

# noinspection PyUnresolvedReferences
self.analysis_pane.tabCloseRequested.connect(self.remove_tab)

Expand Down

0 comments on commit 26c913a

Please sign in to comment.