summaryrefslogtreecommitdiff
path: root/src/ui/preferencesdlg.h
diff options
context:
space:
mode:
authorCalvin Morrison <calvin@pobox.com>2026-05-15 10:10:04 -0400
committerCalvin Morrison <calvin@pobox.com>2026-05-15 10:10:04 -0400
commite776bc768cf9afca1867200e25d64d315cd72a3e (patch)
tree6745527b939c9d37147d7dc98e8664437ee433f6 /src/ui/preferencesdlg.h
parent4e602e78cdfc210ab7781668df2a88afb923258b (diff)
Full mixer implementation — tray, popup, prefs, devices tab with port indicators
Adds the complete tmix feature set built since the initial skeleton: balance knob, level meters, KLed mute button, system tray with scroll-wheel volume and recording indicator, tray popup, preferences dialog, right-click context menus, single-instance enforcement, scroll area, window geometry persistence, and Devices tab with PA card profile switcher and live port availability indicators (2-column layout, in-place updates on plug/unplug). Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Diffstat (limited to 'src/ui/preferencesdlg.h')
-rw-r--r--src/ui/preferencesdlg.h37
1 files changed, 37 insertions, 0 deletions
diff --git a/src/ui/preferencesdlg.h b/src/ui/preferencesdlg.h
new file mode 100644
index 0000000..94f5682
--- /dev/null
+++ b/src/ui/preferencesdlg.h
@@ -0,0 +1,37 @@
+#pragma once
+
+#include <kdialogbase.h>
+
+class TQCheckBox;
+class TQSpinBox;
+
+class PreferencesDlg : public KDialogBase
+{
+ TQ_OBJECT
+
+public:
+ PreferencesDlg( TQWidget *parent = 0 );
+ void load();
+
+signals:
+ void settingsChanged();
+
+protected slots:
+ void slotOk();
+ void slotApply();
+
+private:
+ void save();
+
+ TQCheckBox *m_dockInTray;
+ TQCheckBox *m_showPopup;
+ TQCheckBox *m_showRecTray;
+ TQCheckBox *m_confirmQuit;
+ TQSpinBox *m_scrollStep;
+
+ TQCheckBox *m_noTabs;
+ TQCheckBox *m_showOutput;
+ TQCheckBox *m_showInput;
+ TQCheckBox *m_showPlayback;
+ TQCheckBox *m_showRecording;
+};