/***************************************************************************

    source::worx xtree
    Copyright © 2024-2025 c.holzheuer
    christoph.holzheuer@gmail.com

    This program 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 2 of the License, or
    (at your option) any later version.

***************************************************************************/


#ifndef XQAPPDATA_H
#define XQAPPDATA_H

#include <qnamespace.h>
#include <QVariant>
#include <QMap>
#include <QStringView>
#include <QIcon>

#include <pugixml.hpp>

const QString c_Version            = "0.1.1 04.09.2024";

const QString c_ItemType           = "ItemType";
const QString c_Caption            = "Caption";
const QString c_Header             = "Header";
const QString c_ContentType        = "ContentType";
const QString c_ModelSheet         = "ModelSheet";

const QString c_MainModelName      = "DocumentTreeModel";
const QString c_ChildModelName     = "DocumentDetailsModel";
const QString c_ProjectID          = "ProjectID";

const QString c_ModelSheetFileName = "xml/modelsheets.xml";
const QString c_ModelDummyFileName = "xml/saved_testfile.xtr";
const QString c_DocumentDirectory  = "xml/";

const QString c_DocumentFileName1  = "xml/modeldata1.xtr";
const QString c_DocumentFileName2  = "xml/modeldata2.xtr";
const QString c_DocumentFileName3  = "xml/modeldata3.xtr";


const QString c_FriendlyName       = "FriendlyName";

namespace XQAppData
{
  //class XQAppIconMap;

  QIcon typeIcon(const QString& key );
  QString iconName( const QIcon& icon );
}

#endif // XQAPPDATA_H
