X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=vv%2FvvUtils.h;h=6aabdbeae647a73d1bef044fd0da5d86f55d1e55;hb=1bebf5dcaeaef53f13b21e8d4ea33055114e3ea4;hp=f8631dd8f09af720b639f25ad2a970d60f4ff1c6;hpb=573d80d0f7a17607d2ee883c21c940c0ba020282;p=clitk.git diff --git a/vv/vvUtils.h b/vv/vvUtils.h index f8631dd..6aabdbe 100644 --- a/vv/vvUtils.h +++ b/vv/vvUtils.h @@ -19,6 +19,7 @@ #define vvXXX_h #include #include +#include ///Returns the last images opened by the user std::list GetRecentlyOpenedImages(); @@ -26,4 +27,20 @@ std::list GetRecentlyOpenedImages(); ///Adds an image to the list of recently opened images void AddToRecentlyOpenedImages(std::string filename); +///path to user settings +QString getVVSettingsPath(); + +///by default nativeFormat +QSettings::Format getSettingsOptionFormat(); + +/// Add a Dicom Server to settings +void AddDicomServer(std::string nickname, std::string aetitle, std::string adress, std::string port); + +/// Remove a Dicom Server to settings +void removeDicomServer(std::string nickname); + +// get List of Dicom Servers +QStringList getDicomServers(); + +std::map getDicomServer(QString nickname); #endif