Commit Graph

66 Commits

Author SHA1 Message Date
Raine M. Ekman
69947a624b Track: allow smaller height
Here's one way to cram more stuff onto small screens, or otherwise help
reducing visual clutter: Allow tracks to be shift-dragged all the way
down to 8 px height.

Signed-off-by: Tobias Doerffel <tobias.doerffel@gmail.com>
2012-11-01 21:36:31 +01:00
Raine M. Ekman
14f41fe7b3 TrackViews: added compact mode
Added an option to shrink the track buttons horizontally, mainly by
moving the track name into a tooltip.

Closes #3459241.

Signed-off-by: Tobias Doerffel <tobias.doerffel@gmail.com>
2012-01-29 23:49:16 +01:00
Tobias Doerffel
7c16094811 Fixed spelling errors
Fixed some spelling errors found by Lintian while checking the Debian
package of LMMS. Thanks to Patrick Winnertz for pointing out this issue.
(cherry picked from commit 9fd3dacb67)
2010-01-25 23:27:43 +01:00
Tobias Doerffel
d7ae99a5e8 TrackContentWidget: fixed background tile pixmap updating
The background tile pixmap used to draw the background of
TrackContentWidgets was only updated on size changes but not on
changes of zoom level in according editor. Fix this by updating
background pixmaps in trackContainerView::setPixelsPerTact().
2009-12-07 01:38:17 +01:00
Tobias Doerffel
f4dbb2ff5c sed: s/( void )/(), s/FALSE/false/, s/TRUE/true
Replaced remaining occurences of old constants and superfluous "void"
on empty argument list of functions.
(cherry picked from commit 166701f9f3)
2009-08-25 01:42:20 +02:00
Tobias Doerffel
1d5cb23385 File and class renames part 1
Most files and most of the core classes and their methods have been
renamed to match new coding style conventions:

391 files changed, 25400 insertions(+), 25598 deletions(-)

Furthermore splitted some files where model and view classes were
declared or implemented together in the same file.

Should be tested thoroughly as I might have missed renaming some virtual
methods or SIGNAL/SLOT parameters.
(cherry picked from commit 8c9a9dd14c)
2009-08-25 01:30:41 +02:00
Tobias Doerffel
fb56b6757d Track.h: removed unused class declaration "bbTrack"
The class forward declaration for "bbTrack" is neither used nor
required, therefore remove it.

Signed-off-by: Tobias Doerffel <tobias.doerffel@gmail.com>
(cherry picked from commit 913aa5a6e8)
2009-07-07 01:58:54 +02:00
Tobias Doerffel
ec07aef5ac Fixed various types to be suffixed with "_t".
This commit ensures that all defined data types in include/lmms_basics.h are
suffxed with "_t" to keep consistency as well as to fix issues on systems
with older STL/libstdc++.
(cherry picked from commit 7449c4f731)
2009-03-15 21:50:38 +01:00
Tobias Doerffel
a9f1242841 cache background per-object instead of per-class (stable backport)
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/branches/lmms/stable-0.4@1951 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-12-17 11:52:46 +00:00
Tobias Doerffel
b9b8e2b1b7 renamed types.h to lmms_basics.h
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1747 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-10-06 17:08:36 +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
af7e00091e * when used on instrumentTrack, also show instrument name on trackLabelButton
* removed obsolete support for choosing custom track icons



git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1630 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-09-18 21:36:27 +00:00
Tobias Doerffel
b217bbdfd8 * ensure correct thread affinity when deleting play handles - fixes crash when previewing samples and LMMS was linked against Qt 4.3.x
* renamed destroyed()-signals for not conflicting with QObject::destroyed() in Qt 4.3
* made effectChain creation in audioPort optional
* fixed various compiler warnings



git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1602 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-09-11 13:43:43 +00:00
Tobias Doerffel
1661aba15f implemented correct behaviour when cloning BB-tracks (closes #2042409)
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1465 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-08-22 21:02:33 +00:00
Tobias Doerffel
05d4da6a37 update combobox in BB-editor when renaming BB-track (closes #2056354)
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1451 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-08-20 11:48:14 +00:00
Tobias Doerffel
4541e1abd7 added simple-serializing mode which makes tracks not save their TCOs - used for improved save and restore of presets (closes #2025902)
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1417 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-07-30 22:56:09 +00:00
Tobias Doerffel
18eae929ad fixed "Cut"-action on TCOs (closes #2016731)
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1310 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-07-16 21:24:44 +00:00
Tobias Doerffel
c08cc778fd unified track-view appearence and behaviour
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1303 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-07-12 12:47:34 +00:00
Tobias Doerffel
25edfdf846 made trackContentObject and track implement displayName() in order to return their name
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1265 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-07-04 16:42:16 +00:00
Tobias Doerffel
7c02f0a5a3 * removed obsolete static members
* more simple QPen-initialization for not making Qt leak



git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1237 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-06-30 16:55:51 +00:00
Tobias Doerffel
8f695eb423 finally resurrected sample-tracks
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1210 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-06-29 13:43:39 +00:00
Tobias Doerffel
50075770f5 name-property in trackContentObject-class
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1173 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-06-25 11:58:54 +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
9f584e5612 * fixed issue when moving BB-tracks up/down where actual BB-TCOs were not moved
* in trackContentObjectView and trackView, handle deletion of models more gracefully



git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1137 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-06-15 12:52:20 +00:00
Tobias Doerffel
d6262bb556 use lmmsconfig.h rather than config.h and use prefixed macro-names
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1097 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-06-08 11:30:47 +00:00
Tobias Doerffel
112e932dd8 remove track from within slot in trackContainerView for not deleting object inside its own method - fixes Qt-warning
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1075 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-06-05 17:23:25 +00:00
Tobias Doerffel
bfcbb50eab re-arranged mute- and solo-buttons
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1069 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-06-05 06:30:50 +00:00
Tobias Doerffel
df203dd51e added fully-functional solo-button
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1066 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-06-03 16:03:31 +00:00
Tobias Doerffel
d3516cd5c5 made LMMS build for win32, coding-style fixes
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1038 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-06-01 22:35:02 +00:00
Tobias Doerffel
aa08d06068 * plugins and core: use new pluginPixmapLoader
* lmmsStyle-class: load stylesheet here
* comboBox/comboBoxModel: use pixmapLoader-pointers rather than QPixmap-pointers
* in plugin-descriptor, hold a pointer to pixmapLoader instead of QPixmap itself
* embed-framework: introduced pixmapLoader and pluginPixmapLoader-classes for abstracting QPixmap-instantiation - models can hold pixmapLoaders without actually instantiating a QPixmap-object and views can access the pixmap
* main-window: removed settings-menu and moved setup-dialog to edit-menu
* config-manager: removed all the obsolete first-startup-wizard-code



git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@999 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-05-20 23:41:45 +00:00
Tobias Doerffel
20af9ab9f5 improved UI
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@972 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-05-13 21:29:10 +00:00
Tobias Doerffel
b9f467cd97 fixed crash when removing TCO via context-menu
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@780 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-03-08 20:20:06 +00:00
Tobias Doerffel
80d2241864 connect track's m_mutedModel to m_muteBtn of trackOperationsWidget, set track for m_mutedModel
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/branches/lmms-mv@703 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-02-25 11:37:02 +00:00
Tobias Doerffel
5d5ad19021 finally splitted rest of LMMS, i.e. tracks, track-containers, track-content-objects, whole instrument-track/instrument-track-window and so on - still a bit unstable but I'm sure we'll manage to get this one very stable\!
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/branches/lmms-mv@691 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-02-16 02:04:58 +00:00
Javier Serrano Polo
d3c33b9bd6 fixed modified project indicator and scrolling
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@619 0778d3d1-df1d-0410-868b-ea421aaaa00d
2007-12-07 21:08:01 +00:00
Javier Serrano Polo
87612a2d13 removed specialBgHandlingWidget, style sheet, some cleaning up
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@579 0778d3d1-df1d-0410-868b-ea421aaaa00d
2007-11-10 21:11:32 +00:00
Javier Serrano Polo
8f5701c71e improved performance
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@576 0778d3d1-df1d-0410-868b-ea421aaaa00d
2007-11-05 23:41:21 +00:00
Tobias Doerffel
e24f094c62 dropped Qt3-support and improved Qt4-support
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@547 0778d3d1-df1d-0410-868b-ea421aaaa00d
2007-08-26 19:02:51 +00:00
Tobias Doerffel
1647da26fd renamed "mixer::framesPerAudioBuffer()" to "mixer::framesPerPeriod()" and type "fpab_t" to "fpp_t"
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@502 0778d3d1-df1d-0410-868b-ea421aaaa00d
2007-08-04 01:15:33 +00:00
Javier Serrano Polo
e7f5fb8977 mutex, detuning helpers, GUI updates, play handles, many many changes... (2)
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@480 0778d3d1-df1d-0410-868b-ea421aaaa00d
2007-05-07 19:11:23 +00:00
Javier Serrano Polo
16a61bf8fe static engine, chunked audio buffer, pat fix, MIME type
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@472 0778d3d1-df1d-0410-868b-ea421aaaa00d
2007-04-19 06:52:29 +00:00
Tobias Doerffel
f68d4e4b62 fixed lockup and renamed constant
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@449 0778d3d1-df1d-0410-868b-ea421aaaa00d
2006-12-28 19:08:19 +00:00
Javier Serrano Polo
784dcbc7a5 Qt4-compat fixes
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@385 0778d3d1-df1d-0410-868b-ea421aaaa00d
2006-09-03 20:10:16 +00:00
Javier Serrano Polo
474cb5f6cc updated FSF address
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@380 0778d3d1-df1d-0410-868b-ea421aaaa00d
2006-08-27 23:24:31 +00:00
Javier Serrano Polo
40d54ad0b4 - removed start frame from play() methods
- removed checks when sending automation events
- use update() instead of repaint()


git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@370 0778d3d1-df1d-0410-868b-ea421aaaa00d
2006-08-27 21:39:03 +00:00
Javier Serrano Polo
d3610ddd03 renamed disabled track logic to automation disabled
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@347 0778d3d1-df1d-0410-868b-ea421aaaa00d
2006-08-18 21:17:26 +00:00
Javier Serrano Polo
dec5372174 added disabled tracks
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@302 0778d3d1-df1d-0410-868b-ea421aaaa00d
2006-08-10 19:05:47 +00:00
Javier Serrano Polo
8d2958b56f trigger automation only when time has changed
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@249 0778d3d1-df1d-0410-868b-ea421aaaa00d
2006-07-22 03:23:24 +00:00
Javier Serrano Polo
8698a264f9 added automation track
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@210 0778d3d1-df1d-0410-868b-ea421aaaa00d
2006-07-08 00:13:40 +00:00
Javier Serrano Polo
fdeef1e0d0 renamed time* classes to automation* ones
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@183 0778d3d1-df1d-0410-868b-ea421aaaa00d
2006-06-29 01:01:13 +00:00