Geometrize  1.0
An application for geometrizing images into geometric primitives
Namespaces | Functions
searchpaths.cpp File Reference
#include "searchpaths.h"
#include <string>
#include <vector>
#include <QCoreApplication>
#include <QStandardPaths>
#include <QStringList>

Namespaces

 geometrize
 
 geometrize::searchpaths
 

Functions

std::string geometrize::searchpaths::getApplicationDirectoryPath ()
 getApplicationDirectoryPath Gets the directory that contains the application executable. More...
 
std::vector< std::string > geometrize::searchpaths::getScriptSearchPaths ()
 getScriptSearchPaths Gets the directory paths that the program will search for scripts. These may include resources (":/resourcedir/"), relative ("../../templates"), or absolute directory paths ("C:/Users/admin/Desktop"). More...
 
std::vector< std::string > geometrize::searchpaths::getTemplateSearchPaths ()
 getTemplateSearchpaths Gets the directory paths that the program will search for project file templates. These may include resources (":/resourcedir/"), relative ("../../templates"), or absolute directory paths ("C:/Users/admin/Desktop"). More...
 
std::string geometrize::searchpaths::getDefaultTaskSettingsFilename ()
 getTaskSettingsFilename Gets the default name of a task settings file that is manually saved by the user, or a task settings file bundled with a project file template. More...
 
std::string geometrize::searchpaths::getAutosaveTaskSettingsFilename (const std::string &hashOfFirstTargetImage)
 getAutomaticTaskSettingsFilename Gets the name of a task settings file to be autosaved (e.g. when the task window is closed). More...
 
std::vector< std::string > geometrize::searchpaths::getAutosaveTaskSettingsSearchPaths ()
 getAutosaveTaskSettingsSearchPaths Gets the directory paths that the program will search for autosaved task settings files. The list of directory paths returned is sorted from high to low priority and it should never be empty. More...