QPixmap anIcon;
if( mgr )
- anIcon = mgr->loadPixmap( "SalomeApp", tr( "ICON_APPLY" ), false );
+ anIcon = mgr->loadPixmap( "SalomeAppSL", tr( "ICON_APPLY" ), false );
myApplyBtn->setIcon(anIcon);
myApplyBtn->setEnabled(false);
myCancelBtn = new QToolButton(this);
QPixmap anIcon;
if( mgr )
- anIcon = mgr->loadPixmap( "SalomeApp", tr( "ICON_CANCEL" ), false );
+ anIcon = mgr->loadPixmap( "SalomeAppSL", tr( "ICON_CANCEL" ), false );
myCancelBtn->setIcon(anIcon);
myCancelBtn->setEnabled(false);
myCancelBtn->setSizePolicy(QSizePolicy(QSizePolicy::Fixed, QSizePolicy::Fixed));
class ResourceMgr : public SUIT_ResourceMgr
{
public:
- ResourceMgr(const QString &appName = "SalomeApp") : SUIT_ResourceMgr(appName, "%1Config")
+ ResourceMgr(const QString &appName = "SalomeAppSL") : SUIT_ResourceMgr(appName, "%1Config")
{
customize(); // activate customization
setCurrentFormat("xml");
// This procedure is supposed to be done only once, at first call.
if (myCustomAppName.isNull())
{
- SUIT_ResourceMgr mgr("SalomeApp", "%1Config");
+ SUIT_ResourceMgr mgr("SalomeAppSL", "%1Config");
mgr.setCurrentFormat("xml");
mgr.setWorkingMode(IgnoreUserValues); // prevent reading data from user's file
mgr.loadLanguage("LightApp", "en");
QApplication::setOrganizationName("salome");
QApplication::setApplicationName("salome");
QApplication::setApplicationVersion(salomeVersion());
- //int vvvv(90);
- //std::cin >> vvvv;
+ int vvvv(90);
+ std::cin >> vvvv;
// Install Qt debug messages handler
MsgHandler msgHandler;
qInstallMessageHandler(QtxMsgHandler);
ResourceMgr resMgr;
resMgr.setWorkingMode(ResourceMgr::IgnoreUserValues);
resMgr.loadLanguage("LightApp", "en");
- resMgr.loadLanguage("SalomeApp", "en");
+ resMgr.loadLanguage(NamingServiceImplementation::LibName, "en");
resMgr.loadLanguage("Session");
// Set-up application settings configuration possible customized via resources
- if (resMgr.customName() != "SalomeApp")
+ //if (resMgr.customName() != NamingServiceImplementation::LibName)
{
QApplication::setApplicationName(resMgr.customName());
QApplication::setApplicationVersion(resMgr.version());