Mer: Align "Virtual machine" QFormLayout contents left

Signed-off-by: Jarkko Lehtoranta <jarkko.lehtoranta@jolla.com>
Mer: Fix emulator QFormLayout fields on OSX

- Allow expanding fields to grow
- Change horizontal size policy for config folder, ssh folder and ssh key

Signed-off-by: Jarkko Lehtoranta <jarkko.lehtoranta@jolla.com>
Mer: Fix hardware device QFormLayout fields on OSX

- Allow expanding fields to grow
- Change privateKeyLabelEdit horizontal size policy to expanding

Signed-off-by: Jarkko Lehtoranta <jarkko.lehtoranta@jolla.com>
Mer: Fix mer plugin build in Windows
Mer: Fix plugin builds in Windows
Mer: Fix reading targets.xml file in Windows.
Merge pull request #18 from jlehtoranta/next

UI layout fixes to mer option menus
Merge pull request #19 from sailfish-sdk/windows-build-fixes

Windows build fixes
Mer: Split out UI part from MerConnection

Refactorize prior to extending connection state machine.

Signed-off-by: Martin Kampas <martin.kampas@jolla.com>
Mer: Implement more reliable VM connection state management

[qtc] Mer: Implement more reliable VM connection state management. Relates MER#769 MER#814

Signed-off-by: Martin Kampas <martin.kampas@jolla.com>
Mer: Do not lose VM connection state

Do not reuse single MerConnection instance. Create one MerConnection
instance for each virtual machine to keep connection state.

This also allows to use the MerConnection interface to control VMs also
with no Mer project open.

Signed-off-by: Martin Kampas <martin.kampas@jolla.com>
Mer: Handle VMs started outside of qtc more considerately

[qtc] Mer: Handle VMs started outside of qtc more considerately

Signed-off-by: Martin Kampas <martin.kampas@jolla.com>
Mer: Do not interrupt build/deploy when VM is not started

- Handle SDK the same way as emulator - with a dedicated build step
- Wait for VM to start instead of aborting build/deploy

[qtc] Mer: Do not interrupt build/deploy when VM is not started

Signed-off-by: Martin Kampas <martin.kampas@jolla.com>
Mer: Remove unused MerConnectionPrompt

Signed-off-by: Martin Kampas <martin.kampas@jolla.com>
Mer: Report VM connection errors more conveniently

Do not use "Issues" pane to inform about VM connecting errors. This pane
is supposed to list build issues - which is not always the case. Use the
"General Messages" pane instead.

Signed-off-by: Martin Kampas <martin.kampas@jolla.com>
Mer: Allow to configure SSH timeout for SDK VM

[qtc] Mer: Allow to configure SSH timeout for SDK VM. Relates MER#814

Signed-off-by: Martin Kampas <martin.kampas@jolla.com>
Mer: Use ICore::dialogParent() for all dialogs

Signed-off-by: Martin Kampas <martin.kampas@jolla.com>
Mer: Allow to lock down VM connections

Signed-off-by: Martin Kampas <martin.kampas@jolla.com>
Mer: Allow user to close VM before changing src path

Signed-off-by: Martin Kampas <martin.kampas@jolla.com>
Mer: Close just-starting VMs on exit more reliably

Signed-off-by: Martin Kampas <martin.kampas@jolla.com>