import tkinter as tk
from tkinter import messagebox
from tkinter import ttk
class AuslogicsStyleApp:
def __init__(self, root):
self.root = root
self.root.title(" Super Utilities Pro")
self.root.geometry("800x600")
# Header
self.header = tk.Frame(root, bg='blue', height=50)
self.header.pack(fill=tk.X)
self.title_label = tk.Label(self.header, text="Super Utilities Pro",
bg='blue', fg='white', font=("Arial", 24))
self.title_label.pack(pady=10)
# Create Tabs
self.tab_control = ttk.Notebook(root)
# Creating tabs
self.home_tab = ttk.Frame(self.tab_control)
self.cleanup_tab = ttk.Frame(self.tab_control)
self.performance_tab = ttk.Frame(self.tab_control)
self.privacy_tab = ttk.Frame(self.tab_control)
self.startup_tab = ttk.Frame(self.tab_control)
self.tools_tab = ttk.Frame(self.tab_control)
# Adding tabs to the tab control
self.tab_control.add(self.home_tab, text='Home')
self.tab_control.add(self.cleanup_tab, text='System Cleanup')
self.tab_control.add(self.performance_tab, text='Performance Optimization')
self.tab_control.add(self.privacy_tab, text='Privacy Protection')
self.tab_control.add(self.startup_tab, text='Startup Management')
self.tab_control.add(self.tools_tab, text='Tools')
self.tab_control.pack(expand=1, fill='both')
# Populate tabs
self.populate_home_tab()
self.populate_cleanup_tab()
self.populate_performance_tab()
self.populate_privacy_tab()
self.populate_startup_tab()
self.populate_tools_tab()
def populate_home_tab(self):
label = tk.Label(self.home_tab, text="Welcome to the Super Utilities Pro!",
font=("Arial", 18))
label.pack(pady=20)
scan_button = tk.Button(self.home_tab, text="Start Scan",
command=self.scan_system)
scan_button.pack(pady=10)
def populate_cleanup_tab(self):
label = tk.Label(self.cleanup_tab, text="System Cleanup Options",
font=("Arial", 18))
label.pack(pady=20)
cleanup_button = tk.Button(self.cleanup_tab, text="Clean Up Junk Files",
command=self.cleanup_files)
cleanup_button.pack(pady=10)
def populate_performance_tab(self):
label = tk.Label(self.performance_tab, text="Performance Optimization",
font=("Arial", 18))
label.pack(pady=20)
optimize_button = tk.Button(self.performance_tab, text="Optimize
Performance",
command=self.optimize_performance)
optimize_button.pack(pady=10)
def populate_privacy_tab(self):
label = tk.Label(self.privacy_tab, text="Privacy Protection",
font=("Arial", 18))
label.pack(pady=20)
privacy_button = tk.Button(self.privacy_tab, text="Clear Browser History",
command=self.clear_browser_history)
privacy_button.pack(pady=10)
def populate_startup_tab(self):
label = tk.Label(self.startup_tab, text="Startup Management",
font=("Arial", 18))
label.pack(pady=20)
manage_button = tk.Button(self.startup_tab, text="Manage Startup Programs",
command=self.manage_startup)
manage_button.pack(pady=10)
def populate_tools_tab(self):
label = tk.Label(self.tools_tab, text="Additional Tools", font=("Arial",
18))
label.pack(pady=20)
tools_button = tk.Button(self.tools_tab, text="Open Disk Analyzer",
command=self.open_disk_analyzer)
tools_button.pack(pady=10)
# Simulated functionality for buttons
def scan_system(self):
messagebox.showinfo("Scan", "Scanning your system...")
def cleanup_files(self):
messagebox.showinfo("Cleanup", "Cleaning up junk files...")
def optimize_performance(self):
messagebox.showinfo("Optimization", "Optimizing performance...")
def clear_browser_history(self):
messagebox.showinfo("Privacy", "Clearing browser history...")
def manage_startup(self):
messagebox.showinfo("Startup Management", "Managing startup programs...")
def open_disk_analyzer(self):
messagebox.showinfo("Tools", "Opening Disk Analyzer...")
if __name__ == "__main__":
root = tk.Tk()
app = AuslogicsStyleApp(root)
root.mainloop() # Start the main loop