#include "SUPERVGUI_CanvasArray.h"
#include "SUPERVGUI_Main.h"
#include "SUPERVGUI_BrowseNodeDlg.h"
-#include "QAD_Config.h"
#include "SUPERVGUI_CanvasCellNodePrs.h"
+#include "SUIT_ResourceMgr.h"
+#include "SUIT_Session.h"
+
#include <qtooltip.h>
#define TEXT_MARGIN 5
setDoubleBuffering(true);
QColor aColor(MAIN_COLOR);
- QString aRed = QAD_CONFIG->getSetting("SUPERVGraph:BackgroundColorRed");
- QString aGreen = QAD_CONFIG->getSetting("SUPERVGraph:BackgroundColorGreen");
- QString aBlue = QAD_CONFIG->getSetting("SUPERVGraph:BackgroundColorBlue");
- if( (!aRed.isEmpty()) && (!aGreen.isEmpty()) && (!aBlue.isEmpty()) )
- aColor = QColor(aRed.toInt(), aGreen.toInt(), aBlue.toInt());
+ //aColor = QColor(SUIT_Session::session()->resourceMgr()->integerValue( "SUPERVGraph", "BackgroundColorRed" ),
+ // SUIT_Session::session()->resourceMgr()->integerValue( "SUPERVGraph", "BackgroundColorGreen" ),
+ // SUIT_Session::session()->resourceMgr()->integerValue( "SUPERVGraph", "BackgroundColorBlue" ) );
setBackgroundColor(aColor);
}