summaryrefslogtreecommitdiff
path: root/src/ui/tmixtray.h
diff options
context:
space:
mode:
authorCalvin Morrison <calvin@pobox.com>2026-05-15 15:02:25 -0400
committerCalvin Morrison <calvin@pobox.com>2026-05-15 15:02:25 -0400
commite0c8fb0cdcb9c95e3efa60322c1733df0a965650 (patch)
treefac3f3dfd2b7d0c0e4e854387be91117088288af /src/ui/tmixtray.h
parente776bc768cf9afca1867200e25d64d315cd72a3e (diff)
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 <noreply@anthropic.com>
Diffstat (limited to 'src/ui/tmixtray.h')
-rw-r--r--src/ui/tmixtray.h11
1 files changed, 11 insertions, 0 deletions
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;
};