Commit Graph

8 Commits

Author SHA1 Message Date
Lennart Poettering 8a11d0f781 fix event sound generation for volume changes 2009-08-27 05:41:11 +02:00
Colin Guthrie 159609135f Add support for changing ports.
This commit adds a combo box for selecting ports.
Overall this implementation could have taken two paths:
 * Implement port selection as combo box.
 * Implement port selection as a button.

I went for the first option as is done in selecting card profiles over the
second method used for selecting devices for streams. This seems more like
how a config option should be presented as opposed to a runtime type thing.
2009-06-27 18:14:05 +01:00
Colin Guthrie 514a66e0c8 Do not disable the default button when it's set.
I reworked the way this was done so we can easily re-enable this as I think it's clearer when it's inactive
(the difference between toggled and not toggled is pretty minor).

With this abstraction we could reset the tooltip etc. too.
2009-06-17 22:44:02 +01:00
Colin Guthrie ddd7d06dde Move the setBaseVolume()/setSteps() methods to devicewidget (problem found after rebasing) 2009-06-17 08:54:13 +01:00
Colin Guthrie dea5d0a0fe Include config.h in the cc file (after rebase) 2009-06-17 08:54:13 +01:00
Colin Guthrie 4c3acd35e5 Wire up the default toggle button (replaces the old menu) 2009-06-17 08:54:12 +01:00
Colin Guthrie 7b7a12f1d2 Adapt to new UI
The actual wiring up of events and clearing out of old, unused elements is
not complete yet, so this is completely non-functional at present.
2009-06-17 08:54:10 +01:00
Colin Guthrie 644cfddf39 Create a devicewidget based on streamwidget.
This will become the base for Output and Input device tabs (as the streamwidget will have a different UI)
2009-06-17 08:54:10 +01:00