Skip to content

Commit

Permalink
Some minor cleaning up.
Browse files Browse the repository at this point in the history
  • Loading branch information
agarny committed Sep 3, 2020
1 parent 1e13813 commit 8ce2fa8
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 9 deletions.
Expand Up @@ -21,6 +21,7 @@ along with this program. If not, see <https://gnu.org/licenses>.
// CellML-Zinc Mapping view widget
//==============================================================================

#include "cellmlzincmappingvieweditingwidget.h"
#include "cellmlzincmappingviewwidget.h"

//==============================================================================
Expand Down
Expand Up @@ -26,15 +26,10 @@ along with this program. If not, see <https://gnu.org/licenses>.
//==============================================================================

#include "corecliutils.h"
#include "cellmlzincmappingvieweditingwidget.h"
#include "viewwidget.h"

//==============================================================================

#include <QMap>

//==============================================================================

namespace OpenCOR {

//==============================================================================
Expand All @@ -49,6 +44,10 @@ namespace CellMLZincMappingView {

//==============================================================================

class CellMLZincMappingViewEditingWidget;

//==============================================================================

class CellMLZincMappingViewWidget : public Core::ViewWidget
{
Q_OBJECT
Expand All @@ -74,16 +73,14 @@ class CellMLZincMappingViewWidget : public Core::ViewWidget
void fileReloaded(const QString &pFileName);
void fileRenamed(const QString &pOldFileName, const QString &pNewFileName);

//bool saveFile(const QString &pOldFileName, const QString &pNewFileName);

void setDefaultMeshFiles(const QStringList &pFileNames);

private:
QIntList mEditingWidgetHorizontalSizes;
QIntList mEditingWidgetVerticalSizes;

CellMLZincMappingViewEditingWidget* mEditingWidget = nullptr;
QMap<QString, CellMLZincMappingViewEditingWidget*> mEditingWidgets;
CellMLZincMappingViewEditingWidget *mEditingWidget = nullptr;
QMap<QString, CellMLZincMappingViewEditingWidget *> mEditingWidgets;

QStringList mZincMeshFileNames;

Expand Down

0 comments on commit 8ce2fa8

Please sign in to comment.