From e0c8fb0cdcb9c95e3efa60322c1733df0a965650 Mon Sep 17 00:00:00 2001 From: Calvin Morrison Date: Fri, 15 May 2026 15:02:25 -0400 Subject: Recording popup, level meters, UX polish - Recording tray icon opens popup (mics + active recording streams) - Recording stream level meters forward from parent source signal - RecordingTray subclass for single-click (no double-click needed) - Context menu Set Default Output/Input shows checkmark when active - Last DeviceWidget in each row hides its right separator - Popup horizontal layout, configurable content (output/mic/apps) - Single-click tray, right-click menu for Open Mixer - Desktop file, icon, CMake install rules - Window bring-to-front across workspaces (KWin::forceActiveWindow) Co-Authored-By: Claude Sonnet 4.6 --- src/ui/tmixtray.h | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'src/ui/tmixtray.h') diff --git a/src/ui/tmixtray.h b/src/ui/tmixtray.h index 08a5fb5..f04450c 100644 --- a/src/ui/tmixtray.h +++ b/src/ui/tmixtray.h @@ -25,6 +25,12 @@ protected: void wheelEvent( TQWheelEvent *e ); void contextMenuAboutToShow( TDEPopupMenu *menu ); +public: + void toggleRecordingPopup(); + +private slots: + void executeSingleClick(); + private: void updateRecordingTray(); @@ -32,5 +38,10 @@ private: AudioDevice *m_device; KSystemTray *m_recTray; TmixPopup *m_popup; + TmixPopup *m_recPopup; + int m_popupMode; + bool m_popupShowOutput; + bool m_popupShowMic; + bool m_popupShowApps; int m_recordingCount; }; -- cgit v1.2.3