Commit Graph

2508 Commits

Author SHA1 Message Date
Lukas W
84a6d0bf02 Add "Save as new version" action to project menu
Use Shortcut Ctrl+Alt+S. Part of issue #86
2014-01-24 15:45:13 +01:00
Lukas W
5c186eba0e Add new class VersionedSaveDialog
A file save dialog (inherits FileDialog) that provides buttons to
increment or decrement a version which is appended to the file name.
(e.g. "MyProject-01.mmpz")
2014-01-24 15:37:41 +01:00
Lukas W
2e7bfe17e6 Update code to use FileInfo instead of QFileInfo
Also removed all blocks similar to
```
#if QT_VERSION >= 0x040806
	filedialog.setOption( QFileDialog::DontUseCustomDirectoryIcons );
#endif
```
as this now takes place in the new subclass's constructor.
2014-01-24 15:37:41 +01:00
Lukas W
0bbfd907ae MainWindow: Moved FileDialog to own subclass 2014-01-24 15:37:26 +01:00
Lukas W
f073c6d11b Added two standard paths to file open/save dialog
In particular Desktop and Downloads have been added.
Also introduced a new function to create a file dialog
in order to prevent code duplication.
2014-01-22 17:52:02 +01:00
Tobias Doerffel
054abf79f7 Mixer: try PortAudio backend after SDL
As there were reports about problems with PortAudio try SDL backend first.

Closes #89.
2014-01-21 18:09:20 +01:00
Tobias Doerffel
6920de4f61 Merge pull request #79 from diizy/stable-0.4
More graphics
2014-01-21 09:07:00 -08:00
Tobias Doerffel
533bf39073 Merge pull request #93 from Lukas-W/stable-0.4-travis
Add .travis.yml for continuous integration
2014-01-21 09:05:41 -08:00
Lukas W
5b810474f9 Add .travis.yml for continuous integration 2014-01-21 18:01:41 +01:00
Vesa
4e7522194c Applying new colour palette 2014-01-21 17:38:05 +02:00
Vesa
ec65319869 gfx fixes 2014-01-21 14:59:45 +02:00
Vesa
db84c38cc9 More artwork updates 2014-01-21 11:16:55 +02:00
Vesa
53d3961647 New gfx for fx panel 2014-01-21 11:16:55 +02:00
Tobias Doerffel
419da0715b PeakControllerEffectControlDialog: fixed layouts 2014-01-21 00:11:30 +01:00
Tobias Doerffel
11e3e2b3a1 Default style: do not add extra borders and backgrounds to FX chain
The FX chain background should look consistently and not change with
various numbers of inserted effects. Also IMHO we don't need extra
frames here. The drop shadow for the effects should be fixed as well.
2014-01-20 23:58:44 +01:00
Tobias Doerffel
fbdf4eca40 Merge pull request #76 from diizy/stable-0.4
Another UI branch merge...?
2014-01-20 14:52:46 -08:00
Tobias Doerffel
9854ebc128 Note: create DetuningHelper objects on-demand
Instead of creating a DetuningHelper instance for every note (which sums
up to thousands of AutomationPatterns) create them on-demand when opening
automation editor or loading settings.
2014-01-20 23:37:45 +01:00
Vesa
fc61899c43 Slight colour tweak! 2014-01-21 00:37:27 +02:00
Tobias Doerffel
2bc8d12826 NotePlayHandle: only use detuning automation if it exists at all 2014-01-20 23:37:20 +01:00
Tobias Doerffel
80b8e91fd1 InlineAutomation: improved hasAutomation()
Pprevent saving inline automation if there's just one value which equals
value of model which is going to be saved anyways.
2014-01-20 23:34:46 +01:00
Tobias Doerffel
1aea884821 AutomationPattern: coding style 2014-01-20 23:31:34 +01:00
Vesa
8c881bb928 Layout & bg artwork for peak controller, matching bg artwork for lfo controller & bass booster 2014-01-21 00:28:37 +02:00
Tobias Doerffel
cc35373241 AutomationPattern: do not put initial value if model is at init value
There's no need to initialize an automation pattern with the value of the
model if it's default already. This fixes tons of dummy automation patterns
being saved for every note (as part of the note detuning feature).
2014-01-20 23:06:24 +01:00
Tobias Doerffel
1a99ed8e2f AutomatableModel: added isAtInitValue() 2014-01-20 23:05:45 +01:00
Vesa
d8367d7496 Oops! Missing parenthesis in knob.cpp :P 2014-01-20 23:59:50 +02:00
Vesa
f11ab7957b Effect panel & effect window style, new knob images, knobs use palette 2014-01-20 23:59:50 +02:00
Vesa
eb1b306da3 New style & gfx for master vol/pitch sliders, fx front panel artwork 2014-01-20 23:59:50 +02:00
Tobias Doerffel
67b99ac48f MMP: write to temporary file first and then rename
In order to avoid data loss because of full disks or other storage
failures write a temporary file first, rename current file to backup
file and rename temporary file to current file.

Closes #26.
2014-01-20 22:34:42 +01:00
Tobias Doerffel
f0d6d44545 AutomatableModel: renamed to controllerConnection() + coding style fixes
Renamed getControllerConnection() to controllerConnection().
2014-01-20 22:11:58 +01:00
Tobias Doerffel
7644d2c559 Revert "Revert "Extensions for peak controller. Fulfills request 144.""
Now that we solved the problem with wrong default values in newly
introduced models when loading older projects we can safely implement
the new PeakController features.

This reverts commit 9cb52ccf0d.
2014-01-20 21:28:10 +01:00
Tobias Doerffel
44d0e7a48f AutomatableModel: reset value to default if data is unavailable in loadSettings()
When loading older projects where a particular model did not exist and
thus did not save any data do not load the possibly invalid default data
but reset to default value of model.
2014-01-20 21:26:12 +01:00
Tobias Doerffel
f8a1ffccb0 EffectRackView: added layouts for widget management
Also tweaked overall appearance a bit so that we have less nested frames.
2014-01-20 00:09:58 +01:00
Tobias Doerffel
f326ae670a InstrumentMidiIOView: rebase all values in SpinBoxes to 1
To keep consistency rebase all displayed values to 1 like we had for
MIDI channel and program already.
2014-01-19 23:36:04 +01:00
Tobias Doerffel
a85ec65c19 LcdSpinBox: added displayOffset property
The new displayOffset property is an offset which is always added to the
value of model so we can display values in a user-friendly way if they
internally start at 0.
2014-01-19 23:35:18 +01:00
Tobias Doerffel
adfb85c15f InstrumentTrack: set minimum size for save settings button
Set minimum size of 32x32 pixels for an appropriate appearance.
2014-01-19 23:25:24 +01:00
Tobias Doerffel
bde8422d33 InstrumentMidiIOView: added layouts for widget management
Instead of manually moving and resizing widgets, manage this using
appropriate layouts.
2014-01-19 23:24:25 +01:00
Tobias Doerffel
ec5e9f16d5 Track: allow resizing TrackContentObjects to less than one bar
As per popular demand, allow resizing TrackContentObjects to less than
one bar if appropriate subclass supports it.
2014-01-19 22:58:32 +01:00
Tobias Doerffel
aeefec9ac3 Merge pull request #66 from diizy/stable-0.4
UI changes so far
2014-01-19 02:55:42 -08:00
Tobias Doerffel
91a98d07da Merge pull request #63 from Lukas-W/stable-0.4
Fix for #42: Make search path for plugins relative
2014-01-19 02:55:10 -08:00
Vesa
589a435b81 Fix lb302 text (Umcaruje) 2014-01-19 09:52:47 +02:00
Vesa
502e1f4bd7 LB302 artwork, tweaks to transport icons 2014-01-19 01:11:57 +02:00
Lukas W
7f602cd6c0 Fix for #42: Make search path for plugins relative
Makes the search path that is compiled into the lmms executable relative.
2014-01-18 21:31:20 +01:00
Vesa
c455981595 New simple transport button icons + some slight UI code tweaks 2014-01-18 20:53:15 +02:00
Tobias Doerffel
e2575fe0fe Merge pull request #58 from bhattigurjot/stable-0.4
[Patch] Save solo states for tracks
2014-01-18 08:41:23 -08:00
Gurjot Singh
c1d5730c30 save solo states for tracks 2014-01-18 22:02:26 +05:30
Vesa
12c5885445 Fader changes 2014-01-18 16:40:41 +02:00
Vesa
f35732b5a3 refactor... 2014-01-18 16:36:27 +02:00
Vesa
c894e0f68a LB302 artwork, OPL2 logo 2014-01-18 16:36:27 +02:00
Vesa
ab5ecfee8f Update to fx fader knob, changed fade_button (the blinky thing in instrument tracks) to comply with palette 2014-01-18 16:36:26 +02:00
Vesa
684326a1ff New graphics for FX faders, some stylesheet changes. The changes in fader.cpp are just colour changes 2014-01-18 16:36:26 +02:00