Signal-slot plumbing and splitter setup for Alongside.

This commit is contained in:
Teo Mrnjavac 2016-01-11 19:02:34 +01:00
parent 46ea8a484e
commit 80018e1d5b
2 changed files with 68 additions and 8 deletions

View file

@ -1,6 +1,6 @@
/* === This file is part of Calamares - <http://github.com/calamares> ===
*
* Copyright 2014-2015, Teo Mrnjavac <teo@kde.org>
* Copyright 2014-2016, Teo Mrnjavac <teo@kde.org>
*
* Calamares is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@ -35,6 +35,7 @@ class QListView;
class ExpandableRadioButton;
class PartitionBarsView;
class PartitionSplitterWidget;
class PartitionLabelsView;
class PartitionCoreModule;
class PrettyRadioButton;
@ -71,6 +72,7 @@ signals:
private slots:
void doReplaceSelectedPartition( const QModelIndex& current, const QModelIndex& previous );
void doAlongsideSelectedPartition( const QModelIndex& current, const QModelIndex& previous );
private:
void setNextEnabled( bool enabled );
@ -107,6 +109,7 @@ private:
QPointer< PartitionLabelsView > m_beforePartitionLabelsView;
QPointer< PartitionBarsView > m_afterPartitionBarsView;
QPointer< PartitionLabelsView > m_afterPartitionLabelsView;
QPointer< PartitionSplitterWidget > m_afterPartitionSplitterWidget;
int m_lastSelectedDeviceIndex;