Geometrize  1.0
An application for geometrizing images into geometric primitives
templatemanifest.h
Go to the documentation of this file.
1 #pragma once
2 
3 #include <memory>
4 #include <string>
5 #include <vector>
6 
7 namespace geometrize
8 {
9 
14 {
15 public:
17  TemplateManifest(const std::string& manifestFilepath);
21 
22  std::string getName() const;
23  std::vector<std::string> getTags() const;
24  std::vector<std::string> getAuthors() const;
25  std::string getLicense() const;
26 
27 private:
29  std::shared_ptr<TemplateManifestImpl> d;
30 };
31 
32 }
geometrize::test::runSelfTests
void runSelfTests()
runSelfTests Runs the self tests This periodically consumes and runs scripts from the directories spe...
Definition: functionaltestrunner.cpp:80
geometrize::serialization::TemplateMetadata
The TemplateMetadata struct represents the metadata (such as license information) for a task template...
Definition: templatemetadata.h:19
geometrize::TemplateManifest::TemplateManifestImpl
Definition: templatemanifest.cpp:16
geometrize::TemplateManifest::getAuthors
std::vector< std::string > getAuthors() const
Definition: templatemanifest.cpp:63
appsplashscreen.h
geometrize::dialog::sharedSplashInstance
AppSplashScreen & sharedSplashInstance()
sharedInstance Gets a singleton/shared instance of the application splash screen.
Definition: appsplashscreen.cpp:130
geometrize::common::ui::openLaunchWindow
void openLaunchWindow()
Definition: uiactions.cpp:42
geometrize::TemplateManifest::TemplateManifestImpl::TemplateManifestImpl
TemplateManifestImpl(const std::string &manifestFilepath)
Definition: templatemanifest.cpp:22
geometrize::TemplateManifest::TemplateManifest
TemplateManifest(const TemplateManifest &)=default
launchwindow.h
geometrize::logging::setupLogging
void setupLogging()
setupLogging Installs a log message handler. Logging in Geometrize uses the Qt QLoggingCategory loggi...
Definition: logging.cpp:30
imageslinger.h
geometrize::TemplateManifest::~TemplateManifest
~TemplateManifest()
Definition: templatemanifest.cpp:49
geometrize::getSharedTabletProximityEventFilterInstance
TabletProximityEventFilter & getSharedTabletProximityEventFilterInstance()
getSharedTabletProximityEventFilterInstance Gets a reference to the shared instance of the tablet pro...
Definition: tabletproximityeventfilter.cpp:32
uiactions.h
geometrize::TemplateManifest::getTags
std::vector< std::string > getTags() const
Definition: templatemanifest.cpp:58
geometrize::getGlobalPreferencesLocale
QLocale getGlobalPreferencesLocale()
getGlobalPreferencesLocale Gets a QLocale instance based on the current settings in global preference...
Definition: localization.cpp:154
commandlineparser.h
geometrize::test::setTestScriptDirectories
void setTestScriptDirectories(const std::vector< std::string > &scriptDirectories)
setTestScriptDirectories Sets the directories containing self-test scripts to run
Definition: functionaltestrunner.cpp:68
localization.h
versioninfo.h
geometrize::serialization::StreamView
The StreamView class defines a custom stream buffer view that allows Cereal to work with Qt resources...
Definition: streamview.h:20
geometrize::cli::shouldRunInConsoleMode
bool shouldRunInConsoleMode(const QStringList &arguments)
shouldRunInConsoleMode Checks whether the application should run in console mode for the given argume...
Definition: commandlineparser.cpp:92
geometrize::TemplateManifest::getName
std::string getName() const
Definition: templatemanifest.cpp:53
geometrize::version::getApplicationVersionString
QString getApplicationVersionString()
getApplicationVersionString Gets the application version as a string in VERSION.MAJOR....
Definition: versioninfo.cpp:13
tabletproximityeventfilter.h
geometrize::setGlobalPreferencesForLocale
void setGlobalPreferencesForLocale(const QLocale &locale)
setGlobalPreferencesForLocale Sets the locale settings based on the given locale name.
Definition: localization.cpp:176
geometrize::dialog::AppSplashScreen::setState
void setState(SplashState state)
Definition: appsplashscreen.cpp:125
functionaltestrunner.h
geometrize::TemplateManifest::getLicense
std::string getLicense() const
Definition: templatemanifest.cpp:68
geometrize::TemplateManifest::TemplateManifest
TemplateManifest()
Definition: templatemanifest.cpp:41
geometrize
Definition: commandlineparser.cpp:73
welcomewindow.h
geometrize::setTranslatorsForLocale
void setTranslatorsForLocale(const QString &locale)
installTranslatorsForLocale Installs translators for the application.
Definition: localization.cpp:76
templatemanifest.h
geometrize::cli::runApp
int runApp(QApplication &app)
runApp Runs the application in console mode. Note that since Windows does not support dual-mode appli...
Definition: commandlineparser.cpp:110
geometrize::cli::getSelfTestModeScriptDirectories
std::vector< std::string > getSelfTestModeScriptDirectories(const QStringList &arguments)
getSelfTestModeScriptDirectories Gets a vector of the directories containing scripts to run in self-t...
Definition: commandlineparser.cpp:85
geometrize::cli::getOverrideLocaleCode
std::string getOverrideLocaleCode(const QStringList &arguments)
getOverrideLocaleCode Gets the override locale code that the application should start up with.
Definition: commandlineparser.cpp:99
streamview.h
geometrize::common::ui::openWelcomePage
void openWelcomePage()
Definition: uiactions.cpp:77
logging.h
geometrize::dialog::SplashState::STARTING
@ STARTING
geometrize::TemplateManifest::TemplateManifestImpl::TemplateManifestImpl
TemplateManifestImpl()
Definition: templatemanifest.cpp:18
globalpreferences.h
geometrize::TemplateManifest::d
std::shared_ptr< TemplateManifestImpl > d
Definition: templatemanifest.h:28
geometrize::TemplateManifest::TemplateManifestImpl::m_data
serialization::TemplateMetadata m_data
Definition: templatemanifest.cpp:38
geometrize::preferences::getGlobalPreferences
geometrize::preferences::GlobalPreferences & getGlobalPreferences()
getGlobalPreferences Shorthand function that gets a reference to the shared global preferences object...
Definition: globalpreferences.cpp:32
templatemetadata.h
util.h
geometrize::TemplateManifest::TemplateManifestImpl::operator=
TemplateManifestImpl & operator=(const TemplateManifestImpl &)=default
geometrize::cli::shouldRunInSelfTestMode
bool shouldRunInSelfTestMode(const QStringList &arguments)
shouldRunInSelfTestMode Checks whether the application should run in automated self-test/functional t...
Definition: commandlineparser.cpp:78
geometrize::TemplateManifest::TemplateManifestImpl::TemplateManifestImpl
TemplateManifestImpl(const TemplateManifestImpl &)=default
main
int main(int argc, char *argv[])
Definition: main.cpp:121
geometrize::TemplateManifest
The TemplateManifest class represents the metadata for a task template.
Definition: templatemanifest.h:14
geometrize::serialization::TemplateMetadata::load
void load(Archive &archive)
Definition: templatemetadata.h:32
geometrize::TemplateManifest::TemplateManifestImpl::~TemplateManifestImpl
~TemplateManifestImpl()=default
geometrize::TemplateManifest::operator=
TemplateManifest & operator=(const TemplateManifest &)=default