*WIP* Squashed commit of jlehtoranta/next ***to be removed when it is merged***

commit 9a20c2d1c6487ba9e4d5b93660f4bdd1a0eb4af1
Author: Jarkko Lehtoranta <jarkko.lehtoranta@jolla.com>
Date:   Fri Aug 29 18:06:37 2014 +0300

    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>

commit e8da36c9f6ac7364339a8ac4f04e70fb35f66cea
Author: Jarkko Lehtoranta <jarkko.lehtoranta@jolla.com>
Date:   Fri Aug 29 17:59:04 2014 +0300

    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>

commit 639833d6a78a9db9739dc17a3c112cbc77d5e441
Author: Jarkko Lehtoranta <jarkko.lehtoranta@jolla.com>
Date:   Fri Aug 29 17:50:04 2014 +0300

    Mer: Align "Virtual machine" QFormLayout contents left

    Signed-off-by: Jarkko Lehtoranta <jarkko.lehtoranta@jolla.com>
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 close VM before changing src path

Signed-off-by: Martin Kampas <martin.kampas@jolla.com>
Mer: Fix layout in SDK details widget

Grid layout was used with only first row of the third column occupied,
and thus limiting horizontal space for following rows. Use form layout
with hbox inside instead.

Signed-off-by: Martin Kampas <martin.kampas@jolla.com>
Mer: Layout SDK options widget similarly to that one for devices

Basically place the buttons "Add", "Remove" and "Start Virtual Machine"
on the right side.

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