WSF
StartupDialog.hpp
Go to the documentation of this file.
1// ****************************************************************************
2// CUI
3//
4// The Advanced Framework for Simulation, Integration, and Modeling (AFSIM)
5//
6// Copyright 2018 Infoscitex, a DCS Company. All rights reserved.
7//
8// The use, dissemination or disclosure of data in this file is subject to
9// limitation or restriction. See accompanying README and LICENSE for details.
10// ****************************************************************************
11
12#ifndef StartupDialog_HPP
13#define StartupDialog_HPP
14
15#include "ViExport.hpp"
16#include "WkfStartupDialog.hpp"
17
18namespace wizard
19{
20class VI_EXPORT StartupDialog : public wkf::StartupDialog<QStringList>
21{
22public:
23 StartupDialog(QStringList& aInputFiles, QWidget* aParent = nullptr, Qt::WindowFlags aFlags = Qt::WindowFlags());
24
25private:
26 QStringList Browse() override;
27 void RemoveRecent(const QStringList& aRecent) override;
28 void ClearRecents() override;
29 const QList<QStringList>& GetRecents() const override;
30 QString GetRecentLabelDisplayName(const QStringList& aFileList, bool aDisplayFullPath) const override;
31 QString RunActionText() const override { return "Open Project"; }
32 void BuildRecentContextMenu(QMenu& aMenu, const QStringList& aLink) override;
33 void PopulateLabels() override;
34
35 bool ValidateSelection() override;
36 QStringList ParseDroppedUrls(const QList<QUrl>& urls) const override;
37};
38} // namespace wizard
39#endif // StartupDialog_HPP
#define VI_EXPORT
Definition ViExport.hpp:38
StartupDialog(QStringList &aInputFiles, QWidget *aParent=nullptr, Qt::WindowFlags aFlags=Qt::WindowFlags())
Definition StartupDialog.cpp:17
Definition Runner.hpp:22
Copyrights Multiple, All Rights Reserved