ccrma / miniAudicle

miniAudicle: integrated development + performance environment for the ChucK programming language
https://chuck.stanford.edu/
GNU General Public License v2.0
65 stars 9 forks source link

add chugins probe to preferences; add Clear to console monitor #66

Closed gewang closed 1 year ago

gewang commented 1 year ago

in Preferences->chugins tab, add 'chugins probe' button, which prints to ConsoleMonitor and also switches focus to ConsoleMonitor; added 'Clear' to ConsoleMonitor

gewang commented 1 year ago

FYI amazingly no ComboBoxes were involved, but did do some potentially sus things connecting signals to slots across prefs to console (to switch focus to console, since that is where the chugins probe output is currently going); also subclasses QPlainTextEdit to override the context menu to add a "Clear" (had to promote the QPlainTextEdit in the ui file)

gewang commented 1 year ago

gggg thank you! adding this to device browser could work with a new tab and maybe with properly formatted and collapsable entries (like the audio device browser); presently, the preference chugin tabs seems to make sense, as probe will take into account what is current in the list widget. Perhaps we can could eventually probe from both places; but yes these would be yaks for another day... standby for merge