Line 73... |
Line 73... |
73 |
uint logLevelBits; //!< The numeric bit field of the loglevel
|
73 |
uint logLevelBits; //!< The numeric bit field of the loglevel
|
74 |
bool longformat{false}; //!< TRUE = long format
|
74 |
bool longformat{false}; //!< TRUE = long format
|
75 |
bool noBanner{false}; //!< Startup without showing a banner on the command line.
|
75 |
bool noBanner{false}; //!< Startup without showing a banner on the command line.
|
76 |
bool certCheck{false}; //!< TRUE = Check certificate for SSL connection
|
76 |
bool certCheck{false}; //!< TRUE = Check certificate for SSL connection
|
77 |
bool scale{false}; //!< TRUE = Images are scaled to fit the whole screen
|
77 |
bool scale{false}; //!< TRUE = Images are scaled to fit the whole screen
|
- |
|
78 |
bool tbsuppress{false}; //!< TRUE = Don't show toolbar even if enough space
|
78 |
bool tbforce{true}; //!< TRUE = The toolbar is forced to display, FALSE = The toolbar is only visible if there is enough space left
|
79 |
bool tbforce{true}; //!< Only if "tbsuppress" = FALSE: TRUE = The toolbar is forced to display, FALSE = The toolbar is only visible if there is enough space left
|
79 |
bool profiling{false}; //!< TRUE = The declaration traces meassure the time and write it to the log
|
80 |
bool profiling{false}; //!< TRUE = The declaration traces meassure the time and write it to the log
|
80 |
string password1; //!< First panel password
|
81 |
string password1; //!< First panel password
|
81 |
string password2; //!< Second panel password
|
82 |
string password2; //!< Second panel password
|
82 |
string password3; //!< Third panel password
|
83 |
string password3; //!< Third panel password
|
83 |
string password4; //!< Fourth panel password
|
84 |
string password4; //!< Fourth panel password
|
Line 484... |
Line 485... |
484 |
DECL_TRACER("TConfig::saveToolbarForce(bool tb)");
|
485 |
DECL_TRACER("TConfig::saveToolbarForce(bool tb)");
|
485 |
|
486 |
|
486 |
localSettings.tbforce = tb;
|
487 |
localSettings.tbforce = tb;
|
487 |
}
|
488 |
}
|
488 |
|
489 |
|
- |
|
490 |
void TConfig::saveToolbarSuppress(bool tb)
|
- |
|
491 |
{
|
- |
|
492 |
DECL_TRACER("TConfig::saveToolbarSuppress(bool tb)");
|
- |
|
493 |
|
- |
|
494 |
localSettings.tbsuppress = tb;
|
- |
|
495 |
}
|
- |
|
496 |
|
489 |
void TConfig::saveProfiling(bool prof)
|
497 |
void TConfig::saveProfiling(bool prof)
|
490 |
{
|
498 |
{
|
491 |
DECL_TRACER("TConfig::saveProfiling(bool prof)");
|
499 |
DECL_TRACER("TConfig::saveProfiling(bool prof)");
|
492 |
|
500 |
|
493 |
localSettings.profiling = prof;
|
501 |
localSettings.profiling = prof;
|
Line 789... |
Line 797... |
789 |
ofstream file(fname);
|
797 |
ofstream file(fname);
|
790 |
string lines = "LogFile=" + localSettings.logFile + "\n";
|
798 |
string lines = "LogFile=" + localSettings.logFile + "\n";
|
791 |
lines += "LogLevel=" + localSettings.logLevel + "\n";
|
799 |
lines += "LogLevel=" + localSettings.logLevel + "\n";
|
792 |
lines += "ProjectPath=" + localSettings.project + "\n";
|
800 |
lines += "ProjectPath=" + localSettings.project + "\n";
|
793 |
lines += string("NoBanner=") + (localSettings.noBanner ? "true" : "false") + "\n";
|
801 |
lines += string("NoBanner=") + (localSettings.noBanner ? "true" : "false") + "\n";
|
- |
|
802 |
lines += string("ToolbarSuppress=") + (localSettings.tbsuppress ? "true" : "false") + "\n";
|
794 |
lines += string("ToolbarForce=") + (localSettings.tbforce ? "true" : "false") + "\n";
|
803 |
lines += string("ToolbarForce=") + (localSettings.tbforce ? "true" : "false") + "\n";
|
795 |
lines += string("LongFormat=") + (localSettings.longformat ? "true" : "false") + "\n";
|
804 |
lines += string("LongFormat=") + (localSettings.longformat ? "true" : "false") + "\n";
|
796 |
lines += "Address=" + localSettings.server + "\n";
|
805 |
lines += "Address=" + localSettings.server + "\n";
|
797 |
lines += "Port=" + std::to_string(localSettings.port) + "\n";
|
806 |
lines += "Port=" + std::to_string(localSettings.port) + "\n";
|
798 |
lines += "Channel=" + std::to_string(localSettings.ID) + "\n";
|
807 |
lines += "Channel=" + std::to_string(localSettings.ID) + "\n";
|
Line 894... |
Line 903... |
894 |
DECL_TRACER("TConfig::getToolbarForce()");
|
903 |
DECL_TRACER("TConfig::getToolbarForce()");
|
895 |
|
904 |
|
896 |
return localSettings.tbforce;
|
905 |
return localSettings.tbforce;
|
897 |
}
|
906 |
}
|
898 |
|
907 |
|
- |
|
908 |
bool TConfig::getToolbarSuppress()
|
- |
|
909 |
{
|
- |
|
910 |
DECL_TRACER("TConfig::getToolbarSuppress()");
|
- |
|
911 |
|
- |
|
912 |
return localSettings.tbsuppress;
|
- |
|
913 |
}
|
- |
|
914 |
|
899 |
bool TConfig::getProfiling()
|
915 |
bool TConfig::getProfiling()
|
900 |
{
|
916 |
{
|
901 |
return localSettings.profiling;
|
917 |
return localSettings.profiling;
|
902 |
}
|
918 |
}
|
903 |
|
919 |
|
Line 1537... |
Line 1553... |
1537 |
}
|
1553 |
}
|
1538 |
else if (caseCompare(left, "Scale") == 0 && !right.empty())
|
1554 |
else if (caseCompare(left, "Scale") == 0 && !right.empty())
|
1539 |
localSettings.scale = isTrue(right);
|
1555 |
localSettings.scale = isTrue(right);
|
1540 |
else if (caseCompare(left, "ToolbarForce") == 0 && !right.empty())
|
1556 |
else if (caseCompare(left, "ToolbarForce") == 0 && !right.empty())
|
1541 |
localSettings.tbforce = isTrue(right);
|
1557 |
localSettings.tbforce = isTrue(right);
|
- |
|
1558 |
else if (caseCompare(left, "ToolbarSuppress") == 0 && !right.empty())
|
- |
|
1559 |
localSettings.tbsuppress = isTrue(right);
|
1542 |
else if (caseCompare(left, "Profiling") == 0 && !right.empty())
|
1560 |
else if (caseCompare(left, "Profiling") == 0 && !right.empty())
|
1543 |
localSettings.profiling = isTrue(right);
|
1561 |
localSettings.profiling = isTrue(right);
|
1544 |
else if (caseCompare(left, "Password1") == 0 && !right.empty())
|
1562 |
else if (caseCompare(left, "Password1") == 0 && !right.empty())
|
1545 |
localSettings.password1 = right;
|
1563 |
localSettings.password1 = right;
|
1546 |
else if (caseCompare(left, "Password2") == 0 && !right.empty())
|
1564 |
else if (caseCompare(left, "Password2") == 0 && !right.empty())
|