Tobias Doerffel
7bea6d0e07
MainWindow: renamed class to match new style
...
Renamed mainWindow to MainWindow and engine::getMainWindow() to
engine::mainWindow(). Additionally reduced some header dependencies.
2009-08-21 12:09:39 +02:00
Tobias Doerffel
d866015dc9
PianoView: use layout for flexible widget size
...
Use a vertical box layout for PianoView and and track resize events
in order to keep scrollbar range up to date. This way PianoView's size
is not fixed anymore and the PianoView widget can be placed inside
other layouts without any restrictions.
Signed-off-by: Tobias Doerffel <tobias.doerffel@gmail.com >
2009-06-11 14:39:25 +02:00
Achim Settelmeier
7e3931e384
Automatically select config box upon change
...
Automatically select either controller or key group box in
MidiControlListener new action dialog if the user changes something
inside the group.
Signed-off-by: Tobias Doerffel <tobias.doerffel@gmail.com >
2009-06-01 22:12:05 +02:00
Tobias Doerffel
8395c9428c
Moved baseNoteModel from InstrumentTrack to MidiEventProcessor; cleanups
...
Moved baseNoteModel from InstrumentTrack class to MidiEventProcessor
class in order to make Piano class independent from InstrumentTrack
class (so it can be used by other classes as well).
Furthermore did various cleanups and coding style improvements.
2009-05-29 01:35:52 +02:00
Tobias Doerffel
6f0388be7c
PianoView/PianoRoll: fixed keycodes for OS X
...
This patch enables the usage of PC keyboard for playing instrument piano
or piano roll on OS X by evaluating nativeVirtualKey rather than
nativeScanCode.
2009-04-16 10:40:00 +02:00
Andrew Kelley
c34dffa50f
changed modifier detection from mainWindow::isCtrlPressed etc to Qt framework detection. Fixes a bunch of little glitches and enables horizontal scroll wheel.
...
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1940 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-12-16 09:52:00 +00:00
Tobias Doerffel
e609b6fcc7
set OpaquePaintEvent attribute for all widgets where suitable - makes whole GUI less sluggish :)
...
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1835 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-11-10 23:50:05 +00:00
Tobias Doerffel
6fc2eba70b
do not inline code for fetching value from controller and thus reduce header dependencies
...
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1802 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-10-25 15:16:09 +00:00
Tobias Doerffel
8b2c46c533
check for focusWidget() being NULL before checking inheritance - fixes crash for example when loading VST plugins
...
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1775 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-10-18 21:53:07 +00:00
Tobias Doerffel
c6bc92e533
do not reclaim keyboard focus if new focus widget is a QLineEdit
...
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1764 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-10-18 10:21:21 +00:00
Tobias Doerffel
0610429ea3
reclaim keyboard focus if the current focus-widget lives in the same instrument-track-window as the previously active test piano - this way running notes are not stopped when modifying a control in the same instrument-track-window ( closes #2139806 )
...
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1760 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-10-16 20:44:35 +00:00
Tobias Doerffel
fce25dc625
fixed a bunch warnings and remarks issued by Intel Compiler
...
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1722 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-10-02 11:48:59 +00:00
Tobias Doerffel
da2fcf130a
UI finetuning / recompression of some PNG-files
...
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1589 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-09-08 12:47:11 +00:00
Tobias Doerffel
884b9ca671
* improved the way, MIDI-events are internally sent and handled
...
* fixed names of various member methods of notePlayHandle class
* full MIDI velocity when pressing key on test piano
* send volume changes of a notePlayHandle as MidiKeyPressure events
* send pitch changes of instrument track as MidiPitchBend events
* added detection for running MIDI notes
* correct calculation of MIDI key - makes remotePlugins respect base note settings
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1562 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-09-06 22:04:03 +00:00
Tobias Doerffel
2216a85737
made base-note automatable via drag'n'drop
...
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1478 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-08-23 19:18:35 +00:00
Tobias Doerffel
09a1ca505f
fixed wrong keycodes again
...
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1470 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-08-22 22:44:10 +00:00
Tobias Doerffel
364b4a99c0
fixed keycodes for win32 version
...
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1467 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-08-22 21:32:35 +00:00
Tobias Doerffel
e637495489
migrated build-system to CMAKE
...
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1352 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-07-22 11:36:50 +00:00
Tobias Doerffel
9bebe4325b
* completely new automation-system with automation-tracks and automation-patterns as well as song-global automation
...
* made modelView take a QWidget-pointer argument
* trackContentObject-ctor now calls track::addTCO() directly
* optimize various loops to use iterators/const_iterators instead of a running index variable
* drag'n'drop doesn't fool around with pointers anymore - instead use unique journalling-IDs
* moved drag'n'drop handling code from knob to automatableModelView so that all controls can benefit from that
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1164 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-06-23 22:36:33 +00:00
Tobias Doerffel
66f98a3017
full context-menu for piano-basenote so it can be automated as well as controlled via controller
...
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1161 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-06-20 23:34:43 +00:00
Tobias Doerffel
15134568f1
* removed volumeKnob-class and added volumeKnob-property to knob-class instead
...
* reduced header-dependencies and various cleanups
* removed obsolete settings
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1158 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-06-20 22:44:49 +00:00
Paul Giblock
38971caebb
make SVN compile again
...
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1157 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-06-20 07:37:38 +00:00
Paul Wayper
2321e4c1b0
Added Doxygen documentation (main draft) to src/core/piano.cpp
...
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1156 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-06-19 19:30:23 +00:00
Tobias Doerffel
280d9bdcc0
made MidiEventTypes-enum conform coding-style, i.e. MidiNoteOn instead of NOTE_ON etc.
...
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1091 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-06-07 22:14:25 +00:00
Tobias Doerffel
d5701ac014
reworked automatableModel (not template-based anymore), removed levelObject, splitted comboBox/comboBoxModel-source-files, began to unify context-menu-creation for controls
...
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1031 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-05-28 11:47:45 +00:00
Tobias Doerffel
c31dbd6a09
merged note's tone and octave-property into one key-property which makes us save calculations in a lot of places and also shrinks sizes of XML-files, renamed various note-related constants and enums to match current coding-style
...
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@806 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-03-22 13:24:43 +00:00
Tobias Doerffel
6f8b8c3a75
moved MIDI-event-code to piano-class
...
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@764 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-03-04 00:57:47 +00:00
Tobias Doerffel
20d9f3e671
renamed piano_widget.{h,cpp} to piano.{h,cpp}
...
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/branches/lmms-mv@715 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-02-25 21:35:45 +00:00
Tobias Doerffel
74b6a987d6
renamed from piano_widget.cpp
...
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/branches/lmms-mv@714 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-02-25 21:30:09 +00:00