mtbp3cd.gui.appfileinventory

This module provides the main GUI components for the File Inventory Tool application.

Classes:
MainWedge (QWidget): The main widget containing the sidebar and tabbed interface for navigating

between different sections of the application, including output folder selection, input folder selection, and checksum viewing.

FileInventoryApp (QMainWindow): The main window of the application, setting up the main widget

and window properties.

The GUI is built using PyQt6 and organizes the workflow into three main tabs, accessible via a sidebar:
  • “Select Output Folder”: For selecting and viewing the output folder.

  • “Select Input Folder”: For selecting and viewing the input folder.

  • “Checksums”: For viewing file checksums.

The sidebar buttons update the visible tab and highlight the selected section for user navigation.

Dependencies:
  • PyQt6

  • pandas

Usage:

Run this module as the main program to launch the File Inventory Tool GUI.

Attributes

app

Classes

MainWedge

FileInventoryApp

Module Contents

class mtbp3cd.gui.appfileinventory.MainWedge

Bases: PyQt6.QtWidgets.QWidget

style_btn_clicked = 'QPushButton { background-color: #0078d7; color: white; border: none; padding: 3px 16px;...
sidebar_button_starting
sidebar_button_folder
sidebar_button_checksum
sidebar_button_record
tab_starting
tab_folder
tab_checksum
tab_record
tabs
update_sidebar_buttons_f(clicked_button)
sidebar_button_starting_f()
sidebar_button_folder_f()
sidebar_button_checksum_f()
sidebar_button_record_f()
class mtbp3cd.gui.appfileinventory.FileInventoryApp

Bases: PyQt6.QtWidgets.QMainWindow

main_widget
mtbp3cd.gui.appfileinventory.app