2016-07-25 18:23:00 +02:00
|
|
|
/************************************************************************
|
|
|
|
**
|
|
|
|
** @file
|
|
|
|
** @author Valentina Zhuravska <zhuravska19(at)gmail.com>
|
|
|
|
** @date 19 7, 2016
|
|
|
|
**
|
|
|
|
** @brief
|
|
|
|
** @copyright
|
2017-10-05 11:20:01 +02:00
|
|
|
** This source code is part of the Valentina project, a pattern making
|
2016-07-25 18:23:00 +02:00
|
|
|
** program, whose allow create and modeling patterns of clothing.
|
|
|
|
** Copyright (C) 2016 Valentina project
|
2020-01-31 07:00:05 +01:00
|
|
|
** <https://gitlab.com/smart-pattern/valentina> All Rights Reserved.
|
2016-07-25 18:23:00 +02:00
|
|
|
**
|
|
|
|
** Valentina is free software: you can redistribute it and/or modify
|
|
|
|
** it under the terms of the GNU General Public License as published by
|
|
|
|
** the Free Software Foundation, either version 3 of the License, or
|
|
|
|
** (at your option) any later version.
|
|
|
|
**
|
|
|
|
** Valentina is distributed in the hope that it will be useful,
|
|
|
|
** but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
** GNU General Public License for more details.
|
|
|
|
**
|
|
|
|
** You should have received a copy of the GNU General Public License
|
|
|
|
** along with Valentina. If not, see <http://www.gnu.org/licenses/>.
|
|
|
|
**
|
|
|
|
*************************************************************************/
|
|
|
|
|
|
|
|
#include "vabstractmainwindow.h"
|
2017-04-12 08:49:05 +02:00
|
|
|
#include "../vpropertyexplorer/checkablemessagebox.h"
|
2020-10-25 14:25:57 +01:00
|
|
|
#include "../vmisc/vabstractapplication.h"
|
2020-01-16 18:09:23 +01:00
|
|
|
#include "../vmisc/compatibility.h"
|
2020-07-13 15:11:57 +02:00
|
|
|
#include "../vmisc/def.h"
|
2021-05-21 17:08:37 +02:00
|
|
|
#include "../vmisc/vsysexits.h"
|
2017-05-12 14:09:19 +02:00
|
|
|
#include "dialogs/dialogexporttocsv.h"
|
2021-05-21 17:08:37 +02:00
|
|
|
#include "../vwidgets/vmaingraphicsview.h"
|
2016-07-25 18:23:00 +02:00
|
|
|
|
2017-04-12 08:49:05 +02:00
|
|
|
#include <QStyle>
|
2017-04-12 14:50:48 +02:00
|
|
|
#include <QToolBar>
|
2017-05-12 14:09:19 +02:00
|
|
|
#include <QFileDialog>
|
2019-09-09 09:21:14 +02:00
|
|
|
#include <QAction>
|
2021-05-21 17:08:37 +02:00
|
|
|
#include <QLockFile>
|
|
|
|
#include <QMessageBox>
|
2017-04-12 08:49:05 +02:00
|
|
|
|
2021-09-14 14:16:06 +02:00
|
|
|
#ifdef Q_OS_WIN
|
|
|
|
extern Q_CORE_EXPORT int qt_ntfs_permission_lookup;
|
|
|
|
#endif /*Q_OS_WIN*/
|
|
|
|
|
2018-03-12 11:25:02 +01:00
|
|
|
#if defined(Q_OS_MAC)
|
|
|
|
#include <QStyleFactory>
|
|
|
|
#endif
|
|
|
|
|
2021-05-21 17:08:37 +02:00
|
|
|
#include <QLoggingCategory>
|
|
|
|
|
|
|
|
QT_WARNING_PUSH
|
|
|
|
QT_WARNING_DISABLE_CLANG("-Wmissing-prototypes")
|
|
|
|
QT_WARNING_DISABLE_INTEL(1418)
|
|
|
|
|
|
|
|
Q_LOGGING_CATEGORY(abstactMainWindow, "abs.MainWindow")
|
|
|
|
|
|
|
|
QT_WARNING_POP
|
|
|
|
|
2019-09-06 21:18:18 +02:00
|
|
|
namespace
|
|
|
|
{
|
|
|
|
//---------------------------------------------------------------------------------------------------------------------
|
|
|
|
QStringList SelectNumber(QStringList path, int number)
|
|
|
|
{
|
2020-07-13 15:28:13 +02:00
|
|
|
path = Reverse(path);
|
2019-09-06 21:18:18 +02:00
|
|
|
QStringList subPath = path.mid(0, number);
|
2020-07-13 15:28:13 +02:00
|
|
|
return Reverse(subPath);
|
2019-09-06 21:18:18 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
//---------------------------------------------------------------------------------------------------------------------
|
|
|
|
QStringList RecentFiles(const QStringList &paths)
|
|
|
|
{
|
|
|
|
QVector<QStringList> table;
|
|
|
|
table.reserve(paths.size());
|
|
|
|
|
|
|
|
for(auto &path : paths)
|
|
|
|
{
|
|
|
|
table.append(SplitFilePaths(path));
|
|
|
|
}
|
|
|
|
|
|
|
|
auto CreateOptimized = [table](int tableRow)
|
|
|
|
{
|
|
|
|
QStringList optimized;
|
|
|
|
QStringList path = table.at(tableRow);
|
|
|
|
for (int count = 1; count <= path.size(); ++count)
|
|
|
|
{
|
2019-09-07 10:17:13 +02:00
|
|
|
bool isUnique = true;
|
2019-09-06 21:18:18 +02:00
|
|
|
optimized = SelectNumber(path, count);
|
|
|
|
|
|
|
|
for (int row = 0; row < table.size(); ++row)
|
|
|
|
{
|
|
|
|
if (row == tableRow)
|
|
|
|
{
|
|
|
|
continue;
|
|
|
|
}
|
|
|
|
|
|
|
|
QStringList testSubPath = SelectNumber(table.at(row), count);
|
|
|
|
if (optimized.join(QDir::separator()) == testSubPath.join(QDir::separator()))
|
|
|
|
{
|
|
|
|
isUnique = false;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
if (isUnique)
|
|
|
|
{
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
if (optimized.size() >= 3)
|
|
|
|
{
|
|
|
|
optimized = QStringList({optimized.first(), QStringLiteral("…"), optimized.last()});
|
|
|
|
}
|
|
|
|
|
|
|
|
return optimized;
|
|
|
|
};
|
|
|
|
|
|
|
|
QVector<QStringList> optimizedPaths;
|
|
|
|
optimizedPaths.reserve(paths.size());
|
|
|
|
|
|
|
|
for (int row = 0; row < table.size(); ++row)
|
|
|
|
{
|
|
|
|
optimizedPaths.append(CreateOptimized(row));
|
|
|
|
}
|
|
|
|
|
|
|
|
QStringList recentFiles;
|
|
|
|
recentFiles.reserve(paths.size());
|
|
|
|
|
|
|
|
for(auto &path : optimizedPaths)
|
|
|
|
{
|
|
|
|
recentFiles.append(path.join(QDir::separator()));
|
|
|
|
}
|
|
|
|
|
|
|
|
return recentFiles;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
//---------------------------------------------------------------------------------------------------------------------
|
2017-04-12 08:49:05 +02:00
|
|
|
VAbstractMainWindow::VAbstractMainWindow(QWidget *parent)
|
|
|
|
: QMainWindow(parent),
|
|
|
|
m_curFileFormatVersion(0x0),
|
|
|
|
m_curFileFormatVersionStr(QLatin1String("0.0.0"))
|
2019-09-06 21:18:18 +02:00
|
|
|
{
|
|
|
|
for (int i = 0; i < MaxRecentFiles; ++i)
|
|
|
|
{
|
|
|
|
m_recentFileActs[i] = nullptr;
|
|
|
|
}
|
|
|
|
}
|
2016-07-25 18:23:00 +02:00
|
|
|
|
2021-05-20 17:33:53 +02:00
|
|
|
//---------------------------------------------------------------------------------------------------------------------
|
|
|
|
void VAbstractMainWindow::ShowToolTip(const QString &toolTip)
|
|
|
|
{
|
|
|
|
Q_UNUSED(toolTip)
|
|
|
|
// do nothing
|
|
|
|
}
|
|
|
|
|
2016-07-25 18:23:00 +02:00
|
|
|
//---------------------------------------------------------------------------------------------------------------------
|
2017-04-12 08:49:05 +02:00
|
|
|
bool VAbstractMainWindow::ContinueFormatRewrite(const QString ¤tFormatVersion,
|
|
|
|
const QString &maxFormatVersion)
|
|
|
|
{
|
2021-02-06 14:52:21 +01:00
|
|
|
if (VAbstractApplication::VApp()->Settings()->GetConfirmFormatRewriting())
|
2017-04-12 08:49:05 +02:00
|
|
|
{
|
|
|
|
Utils::CheckableMessageBox msgBox(this);
|
|
|
|
msgBox.setWindowTitle(tr("Confirm format rewriting"));
|
|
|
|
msgBox.setText(tr("This file is using previous format version v%1. The current is v%2. "
|
|
|
|
"Saving the file with this app version will update the format version for this "
|
2017-04-24 16:20:15 +02:00
|
|
|
"file. This may prevent you from be able to open the file with older app versions. "
|
2018-03-14 14:39:15 +01:00
|
|
|
"Do you really want to continue?").arg(currentFormatVersion, maxFormatVersion));
|
2017-04-12 08:49:05 +02:00
|
|
|
msgBox.setStandardButtons(QDialogButtonBox::Yes | QDialogButtonBox::No);
|
|
|
|
msgBox.setDefaultButton(QDialogButtonBox::No);
|
|
|
|
msgBox.setIconPixmap(QApplication::style()->standardIcon(QStyle::SP_MessageBoxQuestion).pixmap(32, 32));
|
|
|
|
|
|
|
|
int dialogResult = msgBox.exec();
|
|
|
|
|
|
|
|
if (dialogResult == QDialog::Accepted)
|
|
|
|
{
|
2021-02-06 14:52:21 +01:00
|
|
|
VAbstractApplication::VApp()->Settings()->SetConfirmFormatRewriting(not msgBox.isChecked());
|
2017-04-12 08:49:05 +02:00
|
|
|
return true;
|
|
|
|
}
|
|
|
|
else
|
|
|
|
{
|
|
|
|
return false;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
return true;
|
|
|
|
}
|
2017-04-12 14:50:48 +02:00
|
|
|
|
|
|
|
//---------------------------------------------------------------------------------------------------------------------
|
2020-10-25 14:25:57 +01:00
|
|
|
void VAbstractMainWindow::ToolBarStyle(QToolBar *bar) const
|
2017-04-12 14:50:48 +02:00
|
|
|
{
|
|
|
|
SCASSERT(bar != nullptr)
|
2021-02-06 14:52:21 +01:00
|
|
|
VAbstractApplication::VApp()->Settings()->GetToolBarStyle() ? bar->setToolButtonStyle(Qt::ToolButtonTextUnderIcon)
|
|
|
|
: bar->setToolButtonStyle(Qt::ToolButtonIconOnly);
|
2017-04-12 14:50:48 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
//---------------------------------------------------------------------------------------------------------------------
|
2017-09-27 12:25:18 +02:00
|
|
|
QString VAbstractMainWindow::CSVFilePath()
|
2017-05-12 14:09:19 +02:00
|
|
|
{
|
2017-05-17 06:57:46 +02:00
|
|
|
const QString filters = tr("Comma-Separated Values") + QLatin1String(" (*.csv)");
|
2017-05-12 14:09:19 +02:00
|
|
|
const QString suffix("csv");
|
2018-04-13 08:14:55 +02:00
|
|
|
const QString path = QDir::homePath() + QChar('/') + tr("values") + QChar('.') + suffix;
|
2017-05-12 14:09:19 +02:00
|
|
|
|
2020-12-17 17:43:15 +01:00
|
|
|
QString fileName = QFileDialog::getSaveFileName(this, tr("Export to CSV"), path, filters, nullptr,
|
2021-02-06 14:52:21 +01:00
|
|
|
VAbstractApplication::VApp()->NativeFileDialog());
|
2017-05-12 14:09:19 +02:00
|
|
|
|
|
|
|
if (fileName.isEmpty())
|
|
|
|
{
|
2017-09-27 12:25:18 +02:00
|
|
|
return fileName;
|
2017-05-12 14:09:19 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
QFileInfo f( fileName );
|
|
|
|
if (f.suffix().isEmpty() && f.suffix() != suffix)
|
|
|
|
{
|
2018-04-13 08:14:55 +02:00
|
|
|
fileName += QChar('.') + suffix;
|
2017-05-12 14:09:19 +02:00
|
|
|
}
|
|
|
|
|
2017-09-27 12:25:18 +02:00
|
|
|
return fileName;
|
|
|
|
}
|
|
|
|
|
2021-05-20 17:33:53 +02:00
|
|
|
//---------------------------------------------------------------------------------------------------------------------
|
|
|
|
void VAbstractMainWindow::ExportToCSVData(const QString &fileName, bool withHeader, int mib, const QChar &separator)
|
|
|
|
{
|
|
|
|
Q_UNUSED(fileName)
|
|
|
|
Q_UNUSED(withHeader)
|
|
|
|
Q_UNUSED(mib)
|
|
|
|
Q_UNUSED(separator)
|
|
|
|
// do nothing
|
|
|
|
}
|
|
|
|
|
2019-09-06 21:18:18 +02:00
|
|
|
//---------------------------------------------------------------------------------------------------------------------
|
|
|
|
void VAbstractMainWindow::UpdateRecentFileActions()
|
|
|
|
{
|
|
|
|
const QStringList files = RecentFileList();
|
|
|
|
const QStringList recentFiles = RecentFiles(files);
|
|
|
|
const int numRecentFiles = qMin(files.size(), static_cast<int>(MaxRecentFiles));
|
|
|
|
|
|
|
|
for (int i = 0; i < numRecentFiles; ++i)
|
|
|
|
{
|
|
|
|
QString recent = recentFiles.at(i);
|
|
|
|
if (not recent.isEmpty())
|
|
|
|
{
|
|
|
|
const QString text = QStringLiteral("&%1. %2").arg(i + 1).arg(recentFiles.at(i));
|
|
|
|
m_recentFileActs.at(i)->setText(text);
|
|
|
|
m_recentFileActs.at(i)->setData(files.at(i));
|
|
|
|
m_recentFileActs.at(i)->setVisible(true);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
m_separatorAct->setVisible(numRecentFiles>0);
|
|
|
|
}
|
|
|
|
|
2021-05-21 16:17:22 +02:00
|
|
|
//---------------------------------------------------------------------------------------------------------------------
|
|
|
|
auto VAbstractMainWindow::CheckFilePermissions(const QString &path, QWidget *messageBoxParent) -> bool
|
|
|
|
{
|
2021-09-08 11:53:15 +02:00
|
|
|
QFileInfo info(path);
|
|
|
|
|
2021-05-21 16:17:22 +02:00
|
|
|
#ifdef Q_OS_WIN32
|
|
|
|
qt_ntfs_permission_lookup++; // turn checking on
|
|
|
|
#endif /*Q_OS_WIN32*/
|
2021-09-08 11:53:15 +02:00
|
|
|
|
|
|
|
if (not info.exists())
|
|
|
|
{
|
|
|
|
return true;
|
|
|
|
}
|
|
|
|
|
2021-05-21 20:41:56 +02:00
|
|
|
// cppcheck-suppress unreadVariable
|
2021-09-08 11:53:15 +02:00
|
|
|
const bool isFileWritable = info.isWritable();
|
|
|
|
|
2021-05-21 16:17:22 +02:00
|
|
|
#ifdef Q_OS_WIN32
|
|
|
|
qt_ntfs_permission_lookup--; // turn it off again
|
|
|
|
#endif /*Q_OS_WIN32*/
|
2021-09-08 11:53:15 +02:00
|
|
|
|
2021-05-21 16:17:22 +02:00
|
|
|
if (not isFileWritable)
|
|
|
|
{
|
|
|
|
QMessageBox messageBox(messageBoxParent);
|
|
|
|
messageBox.setIcon(QMessageBox::Question);
|
2021-08-14 16:16:52 +02:00
|
|
|
messageBox.setText(tr("The file has no write permissions."));
|
2021-05-21 16:17:22 +02:00
|
|
|
messageBox.setInformativeText(tr("Do you want to change the premissions?"));
|
|
|
|
messageBox.setStandardButtons(QMessageBox::Yes | QMessageBox::Cancel);
|
|
|
|
messageBox.setDefaultButton(QMessageBox::Yes);
|
|
|
|
|
|
|
|
if (messageBox.exec() == QMessageBox::Yes)
|
|
|
|
{
|
|
|
|
#ifdef Q_OS_WIN32
|
|
|
|
qt_ntfs_permission_lookup++; // turn checking on
|
|
|
|
#endif /*Q_OS_WIN32*/
|
|
|
|
bool changed = QFile::setPermissions(path, QFileInfo(path).permissions() | QFileDevice::WriteUser);
|
|
|
|
#ifdef Q_OS_WIN32
|
|
|
|
qt_ntfs_permission_lookup--; // turn it off again
|
|
|
|
#endif /*Q_OS_WIN32*/
|
|
|
|
|
|
|
|
if (not changed)
|
|
|
|
{
|
|
|
|
messageBox.setIcon(QMessageBox::Warning);
|
|
|
|
messageBox.setText(tr("Cannot set permissions for %1 to writable.").arg(path));
|
|
|
|
messageBox.setInformativeText(tr("Could not save the file."));
|
|
|
|
messageBox.setStandardButtons(QMessageBox::Ok);
|
|
|
|
messageBox.setDefaultButton(QMessageBox::Ok);
|
|
|
|
messageBox.exec();
|
|
|
|
return false;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
else
|
|
|
|
{
|
|
|
|
return false;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
return true;
|
|
|
|
}
|
|
|
|
|
2021-05-21 17:08:37 +02:00
|
|
|
//---------------------------------------------------------------------------------------------------------------------
|
|
|
|
bool VAbstractMainWindow::IgnoreLocking(int error, const QString &path, bool guiMode)
|
|
|
|
{
|
|
|
|
QMessageBox::StandardButton answer = QMessageBox::Abort;
|
|
|
|
if (guiMode)
|
|
|
|
{
|
|
|
|
switch(error)
|
|
|
|
{
|
|
|
|
case QLockFile::LockFailedError:
|
|
|
|
answer = QMessageBox::warning(this, tr("Locking file"),
|
|
|
|
tr("This file already opened in another window. Ignore if you want "
|
|
|
|
"to continue (not recommended, can cause a data corruption)."),
|
|
|
|
QMessageBox::Abort|QMessageBox::Ignore, QMessageBox::Abort);
|
|
|
|
break;
|
|
|
|
case QLockFile::PermissionError:
|
|
|
|
answer = QMessageBox::question(this, tr("Locking file"),
|
|
|
|
tr("The lock file could not be created, for lack of permissions. "
|
|
|
|
"Ignore if you want to continue (not recommended, can cause "
|
|
|
|
"a data corruption)."),
|
|
|
|
QMessageBox::Abort|QMessageBox::Ignore, QMessageBox::Abort);
|
|
|
|
break;
|
|
|
|
case QLockFile::UnknownError:
|
|
|
|
answer = QMessageBox::question(this, tr("Locking file"),
|
|
|
|
tr("Unknown error happened, for instance a full partition "
|
|
|
|
"prevented writing out the lock file. Ignore if you want to "
|
|
|
|
"continue (not recommended, can cause a data corruption)."),
|
|
|
|
QMessageBox::Abort|QMessageBox::Ignore, QMessageBox::Abort);
|
|
|
|
break;
|
|
|
|
default:
|
|
|
|
answer = QMessageBox::Abort;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
if (answer == QMessageBox::Abort)
|
|
|
|
{
|
|
|
|
qCDebug(abstactMainWindow, "Failed to lock %s", qUtf8Printable(path));
|
|
|
|
qCDebug(abstactMainWindow, "Error type: %d", error);
|
|
|
|
if (not guiMode)
|
|
|
|
{
|
|
|
|
switch(error)
|
|
|
|
{
|
|
|
|
case QLockFile::LockFailedError:
|
|
|
|
qCCritical(abstactMainWindow, "%s",
|
|
|
|
qUtf8Printable(tr("This file already opened in another window.")));
|
|
|
|
break;
|
|
|
|
case QLockFile::PermissionError:
|
|
|
|
qCCritical(abstactMainWindow, "%s",
|
|
|
|
qUtf8Printable(tr("The lock file could not be created, for lack of permissions.")));
|
|
|
|
break;
|
|
|
|
case QLockFile::UnknownError:
|
|
|
|
qCCritical(abstactMainWindow, "%s",
|
|
|
|
qUtf8Printable(tr("Unknown error happened, for instance a full partition "
|
|
|
|
"prevented writing out the lock file.")));
|
|
|
|
break;
|
|
|
|
default:
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
|
|
|
|
qApp->exit(V_EX_NOINPUT);
|
|
|
|
}
|
|
|
|
return false;
|
|
|
|
}
|
|
|
|
return true;
|
|
|
|
}
|
|
|
|
|
2017-09-27 12:25:18 +02:00
|
|
|
//---------------------------------------------------------------------------------------------------------------------
|
|
|
|
void VAbstractMainWindow::WindowsLocale()
|
|
|
|
{
|
2021-02-06 14:52:21 +01:00
|
|
|
VAbstractApplication::VApp()->Settings()->GetOsSeparator() ? setLocale(QLocale()) : setLocale(QLocale::c());
|
2017-09-27 12:25:18 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
//---------------------------------------------------------------------------------------------------------------------
|
|
|
|
void VAbstractMainWindow::ExportDataToCSV()
|
|
|
|
{
|
|
|
|
QString fileName = CSVFilePath();
|
|
|
|
|
|
|
|
if (fileName.isEmpty())
|
|
|
|
{
|
|
|
|
return;
|
|
|
|
}
|
|
|
|
|
2017-05-12 14:09:19 +02:00
|
|
|
DialogExportToCSV dialog(this);
|
2021-02-06 14:52:21 +01:00
|
|
|
dialog.SetWithHeader(VAbstractApplication::VApp()->Settings()->GetCSVWithHeader());
|
|
|
|
dialog.SetSelectedMib(VAbstractApplication::VApp()->Settings()->GetCSVCodec());
|
|
|
|
dialog.SetSeparator(VAbstractApplication::VApp()->Settings()->GetCSVSeparator());
|
2017-09-27 12:25:18 +02:00
|
|
|
|
2017-05-12 14:09:19 +02:00
|
|
|
if (dialog.exec() == QDialog::Accepted)
|
|
|
|
{
|
2017-09-27 12:25:18 +02:00
|
|
|
ExportToCSVData(fileName, dialog.IsWithHeader(), dialog.GetSelectedMib(), dialog.GetSeparator());
|
2017-05-12 14:09:19 +02:00
|
|
|
|
2021-02-06 14:52:21 +01:00
|
|
|
VAbstractApplication::VApp()->Settings()->SetCSVSeparator(dialog.GetSeparator());
|
|
|
|
VAbstractApplication::VApp()->Settings()->SetCSVCodec(dialog.GetSelectedMib());
|
|
|
|
VAbstractApplication::VApp()->Settings()->SetCSVWithHeader(dialog.IsWithHeader());
|
2017-05-12 14:09:19 +02:00
|
|
|
}
|
|
|
|
}
|
2018-04-06 23:08:09 +02:00
|
|
|
|
|
|
|
//---------------------------------------------------------------------------------------------------------------------
|
2018-04-07 13:11:44 +02:00
|
|
|
void VAbstractMainWindow::UpdateVisibilityGroups()
|
2018-04-06 23:08:09 +02:00
|
|
|
{
|
2018-04-07 13:11:44 +02:00
|
|
|
// do nothing
|
|
|
|
}
|
|
|
|
|
|
|
|
//---------------------------------------------------------------------------------------------------------------------
|
|
|
|
void VAbstractMainWindow::UpdateDetailsList()
|
|
|
|
{
|
|
|
|
// do nothing
|
2018-04-06 23:08:09 +02:00
|
|
|
}
|
2018-04-17 08:56:41 +02:00
|
|
|
|
|
|
|
//---------------------------------------------------------------------------------------------------------------------
|
|
|
|
void VAbstractMainWindow::ZoomFitBestCurrent()
|
|
|
|
{
|
|
|
|
// do nothing
|
|
|
|
}
|