fix: restore icons/emojis to UI with improved layout

Restored all the nice icons throughout the UI:
- 📂 Cache Source, 💾 Output Location, ⚙️ Export Settings
- 🌐 EntropiaNexus.com, 📄 Available Icons, ⚠️ Important Information
- 📁 Version, 🔄 Refresh, ☑️ Include ALL, ▶️ Start Extracting
- ☑️ Select All,  Select None, 📂 Open Output Folder
- 🖼️ Format, 📐 Canvas, 📏 Size, 📤 Submit, 💡 hint,  Ready

Layout improvements:
- Smaller font (10px) for paths in Cache Source and Output Location
- Reduced padding for better fit
- All emojis restored as requested
This commit is contained in:
LemonNexus 2026-02-11 18:50:41 +00:00
parent 3943a5cdf5
commit e22a8e3378
1 changed files with 32 additions and 32 deletions

View File

@ -369,7 +369,7 @@ class IconExtractorWindow(QMainWindow):
left_layout.setSpacing(10)
# Cache folder
cache_group = QGroupBox("Cache Source")
cache_group = QGroupBox("📂 Cache Source")
cache_group.setStyleSheet("QGroupBox { font-size: 13px; font-weight: bold; }")
cache_layout = QVBoxLayout(cache_group)
cache_layout.setContentsMargins(10, 15, 10, 10)
@ -380,8 +380,8 @@ class IconExtractorWindow(QMainWindow):
self.cache_path_full = str(self.base_cache_path).replace("/", "\\")
self.cache_label = QLabel(path_display)
self.cache_label.setStyleSheet(
"font-family: Consolas; font-size: 11px; color: #aaa; "
"padding: 6px 8px; background: #252525; border-radius: 3px;"
"font-family: Consolas; font-size: 10px; color: #aaa; "
"padding: 5px 8px; background: #252525; border-radius: 3px;"
)
self.cache_label.setToolTip(self.cache_path_full)
cache_layout.addWidget(self.cache_label)
@ -390,7 +390,7 @@ class IconExtractorWindow(QMainWindow):
subfolder_layout = QHBoxLayout()
subfolder_layout.setSpacing(8)
subfolder_label = QLabel("Version:")
subfolder_label = QLabel("📁 Version:")
subfolder_label.setStyleSheet("font-size: 12px;")
subfolder_layout.addWidget(subfolder_label)
@ -400,8 +400,8 @@ class IconExtractorWindow(QMainWindow):
self.subfolder_combo.currentIndexChanged.connect(self._on_subfolder_changed)
subfolder_layout.addWidget(self.subfolder_combo, 1)
refresh_btn = QPushButton("Refresh")
refresh_btn.setMaximumWidth(70)
refresh_btn = QPushButton("🔄 Refresh")
refresh_btn.setMaximumWidth(80)
refresh_btn.setStyleSheet("font-size: 11px; padding: 4px;")
refresh_btn.clicked.connect(self._detect_subfolders)
subfolder_layout.addWidget(refresh_btn)
@ -409,7 +409,7 @@ class IconExtractorWindow(QMainWindow):
cache_layout.addLayout(subfolder_layout)
# All subfolders checkbox
self.all_subfolders_check = QCheckBox("Include ALL version folders")
self.all_subfolders_check = QCheckBox("☑️ Include ALL version folders")
self.all_subfolders_check.setStyleSheet("font-size: 12px;")
self.all_subfolders_check.setToolTip("Merge icons from all game versions")
self.all_subfolders_check.stateChanged.connect(self._on_all_subfolders_changed)
@ -418,25 +418,25 @@ class IconExtractorWindow(QMainWindow):
left_layout.addWidget(cache_group)
# Output folder
output_group = QGroupBox("Output Location")
output_group = QGroupBox("💾 Output Location")
output_group.setStyleSheet("QGroupBox { font-size: 13px; font-weight: bold; }")
output_layout = QVBoxLayout(output_group)
output_layout.setContentsMargins(10, 15, 10, 10)
output_layout.setSpacing(8)
output_info = QLabel("Saved to Documents folder (same location as chat.log)")
output_info = QLabel("📁 Icons saved to your Documents folder (same location as chat.log)")
output_info.setStyleSheet("color: #aaaaaa; font-size: 12px;")
output_layout.addWidget(output_info)
rel_path = "Documents\\Entropia Universe\\Icons\\"
self.output_label = QLabel(rel_path)
self.output_label = QLabel(f"📂 {rel_path}")
self.output_label.setStyleSheet(
"font-family: Consolas; font-size: 11px; color: #aaa; "
"padding: 6px 8px; background: #252525; border-radius: 3px;"
"font-family: Consolas; font-size: 10px; color: #aaa; "
"padding: 5px 8px; background: #252525; border-radius: 3px;"
)
output_layout.addWidget(self.output_label)
change_btn = QPushButton("Change Output Folder...")
change_btn = QPushButton("📂 Change Output Folder...")
change_btn.setStyleSheet("font-size: 11px; padding: 5px;")
change_btn.clicked.connect(self._browse_output)
output_layout.addWidget(change_btn)
@ -444,15 +444,15 @@ class IconExtractorWindow(QMainWindow):
left_layout.addWidget(output_group)
# Settings (simplified - just 320x320)
settings_group = QGroupBox("Export Settings")
settings_group = QGroupBox("⚙️ Export Settings")
settings_group.setStyleSheet("QGroupBox { font-size: 13px; font-weight: bold; }")
settings_layout = QVBoxLayout(settings_group)
settings_layout.setContentsMargins(10, 15, 10, 10)
settings_info = QLabel(
"Format: PNG with transparency\n"
"Canvas: 320x320 pixels (centered)\n"
"Size: Original icon size (no upscaling)"
"🖼️ Format: PNG with transparency\n"
"📐 Canvas: 320x320 pixels (centered)\n"
"📏 Size: Original icon size (no upscaling)"
)
settings_info.setStyleSheet("color: #aaaaaa; font-size: 12px; line-height: 1.4;")
settings_layout.addWidget(settings_info)
@ -460,16 +460,16 @@ class IconExtractorWindow(QMainWindow):
left_layout.addWidget(settings_group)
# Nexus link
nexus_group = QGroupBox("EntropiaNexus.com")
nexus_group = QGroupBox("🌐 EntropiaNexus.com")
nexus_group.setStyleSheet("QGroupBox { font-size: 13px; font-weight: bold; color: #4caf50; }")
nexus_layout = QVBoxLayout(nexus_group)
nexus_layout.setContentsMargins(10, 15, 10, 10)
nexus_info = QLabel("Submit icons to help complete the item database")
nexus_info = QLabel("📤 Submit icons to help complete the item database")
nexus_info.setStyleSheet("color: #cccccc; font-size: 12px;")
nexus_layout.addWidget(nexus_info)
nexus_btn = QPushButton("Open EntropiaNexus.com")
nexus_btn = QPushButton("🌐 Open EntropiaNexus.com")
nexus_btn.setMinimumHeight(28)
nexus_btn.setStyleSheet("font-size: 11px; padding: 5px;")
nexus_btn.clicked.connect(lambda: self._open_url(WEBSITE))
@ -478,7 +478,7 @@ class IconExtractorWindow(QMainWindow):
left_layout.addWidget(nexus_group)
# Convert button
self.convert_btn = QPushButton("Start Extracting Icons")
self.convert_btn = QPushButton("▶️ Start Extracting Icons")
self.convert_btn.setMinimumHeight(50)
self.convert_btn.setStyleSheet("""
QPushButton {
@ -502,7 +502,7 @@ class IconExtractorWindow(QMainWindow):
self.progress_bar.setVisible(False)
left_layout.addWidget(self.progress_bar)
self.status_label = QLabel("Ready")
self.status_label = QLabel("Ready")
self.status_label.setStyleSheet("color: #888; font-size: 12px; padding: 5px;")
self.status_label.setAlignment(Qt.AlignmentFlag.AlignCenter)
left_layout.addWidget(self.status_label)
@ -516,17 +516,17 @@ class IconExtractorWindow(QMainWindow):
right_layout = QVBoxLayout(right_panel)
right_layout.setContentsMargins(0, 0, 0, 0)
files_group = QGroupBox("Available Icons")
files_group = QGroupBox("📄 Available Icons")
files_group.setStyleSheet("QGroupBox { font-size: 13px; font-weight: bold; }")
files_layout = QVBoxLayout(files_group)
files_layout.setContentsMargins(10, 15, 10, 10)
files_layout.setSpacing(8)
files_info = QLabel("Double-click an icon to preview. Select icons to extract (or leave blank for all).")
files_info = QLabel("💡 Double-click an icon to preview. Select icons to extract (or leave blank for all).")
files_info.setStyleSheet("color: #aaaaaa; font-size: 12px;")
files_layout.addWidget(files_info)
self.files_count_label = QLabel("No files found")
self.files_count_label = QLabel("No files found")
self.files_count_label.setStyleSheet("font-weight: bold; font-size: 12px; padding: 3px 0;")
files_layout.addWidget(self.files_count_label)
@ -540,22 +540,22 @@ class IconExtractorWindow(QMainWindow):
sel_layout = QHBoxLayout()
sel_layout.setSpacing(8)
select_all_btn = QPushButton("Select All")
select_all_btn.setMaximumWidth(90)
select_all_btn = QPushButton("☑️ Select All")
select_all_btn.setMaximumWidth(100)
select_all_btn.setStyleSheet("font-size: 11px; padding: 4px;")
select_all_btn.clicked.connect(self.files_list.selectAll)
sel_layout.addWidget(select_all_btn)
select_none_btn = QPushButton("Select None")
select_none_btn.setMaximumWidth(90)
select_none_btn = QPushButton("Select None")
select_none_btn.setMaximumWidth(100)
select_none_btn.setStyleSheet("font-size: 11px; padding: 4px;")
select_none_btn.clicked.connect(self.files_list.clearSelection)
sel_layout.addWidget(select_none_btn)
sel_layout.addStretch()
open_folder_btn = QPushButton("Open Output Folder")
open_folder_btn.setMaximumWidth(120)
open_folder_btn = QPushButton("📂 Open Output Folder")
open_folder_btn.setMaximumWidth(140)
open_folder_btn.setStyleSheet("font-size: 11px; padding: 4px;")
open_folder_btn.clicked.connect(self._open_output_folder)
sel_layout.addWidget(open_folder_btn)
@ -569,7 +569,7 @@ class IconExtractorWindow(QMainWindow):
layout.addWidget(splitter, 1)
# Important Information (moved to bottom)
notice_group = QGroupBox("Important Information")
notice_group = QGroupBox("⚠️ Important Information")
notice_group.setStyleSheet("""
QGroupBox {
font-size: 13px;