refactor: process picker themed styling, context menu, auto-select

Extract shared init into initUi(). Apply dark theme styling from global
palette to table, header, filter, and buttons. Add right-click context
menu with Copy PID/Name/Path. Auto-select last attached process on open.
Remove duplicate attach->accept() connection from .ui (handled in code).
This commit is contained in:
IChooseYou
2026-03-02 08:24:39 -07:00
committed by IChooseYou
parent 5a0a4d1802
commit ba1c2f8e5a
3 changed files with 124 additions and 52 deletions

View File

@@ -35,9 +35,11 @@ private slots:
void filterProcesses(const QString& text);
private:
void initUi();
void enumerateProcesses();
void populateTable(const QList<ProcessInfo>& processes);
void applyFilter();
void selectPreferredProcess();
Ui::ProcessPicker *ui;
uint32_t m_selectedPid = 0;