0
0
mirror of https://github.com/fralx/LimeReport.git synced 2025-11-25 08:28:06 +03:00

Render indicator has been added

This commit is contained in:
Arin Alex
2025-11-20 23:10:51 +03:00
parent dd57dbd691
commit 79fd06acce
4 changed files with 42 additions and 12 deletions

View File

@@ -18,7 +18,7 @@
#include <io.h>
#endif
enum PrintType{ Printer, PDF, Display};
enum PrintType{ Printer, PDF, Screen};
int main(int argc, char *argv[])
{
@@ -81,7 +81,7 @@ int main(int argc, char *argv[])
if (parser.value(typeOption).compare("Printer",Qt::CaseInsensitive) == 0)
printType = Printer;
if (parser.value(typeOption).compare("Display",Qt::CaseInsensitive) == 0)
printType = Display;
printType = Screen;
}
@@ -109,7 +109,7 @@ int main(int argc, char *argv[])
report.printReport(&printer);
}
break;
case Display:
case Screen:
report.previewReport();
break;
}