The transport through a quantum wire exposed to two magnetic spikes in series is modeled. We demonstrate that quantum dots can be formed this way which couple to the leads via magnetic barriers. Conceptually, all quantum dot states are accessible by transport experiments. The simulations show Breit-Wigner resonances in the closed regime, while Fano resonances appear as soon as one open transmission channel is present. The system allows to tune the dots confinement potential from sub-parabolic to superparabolic by experimentally accessible parameters.