src/tools/uic3/main.cpp
changeset 30 5dc02b23752f
parent 18 2f34d5167611
equal deleted inserted replaced
29:b72c6db6890b 30:5dc02b23752f
   147                 readerOptions &= ~Ui3Reader::ImplicitIncludes;
   147                 readerOptions &= ~Ui3Reader::ImplicitIncludes;
   148             } else if (opt == "nofwd") {
   148             } else if (opt == "nofwd") {
   149                 readerOptions &= ~Ui3Reader::CustomWidgetForwardDeclarations;
   149                 readerOptions &= ~Ui3Reader::CustomWidgetForwardDeclarations;
   150             } else if (opt == "layout-names") {
   150             } else if (opt == "layout-names") {
   151                 readerOptions |= Ui3Reader::PreserveLayoutNames;
   151                 readerOptions |= Ui3Reader::PreserveLayoutNames;
       
   152             } else if (opt == "limit-xpm-linelength") {
       
   153                 readerOptions |= Ui3Reader::LimitXPM_LineLength;
   152             } else if (opt == "nounload") {
   154             } else if (opt == "nounload") {
   153                 // skip
   155                 // skip
   154             } else if (opt == "convert") {
   156             } else if (opt == "convert") {
   155                 convert = true;
   157                 convert = true;
   156             } else if (opt == "subdecl") {
   158             } else if (opt == "subdecl") {
   249                  "\t<subclassname>     name of the subclass to generate\n"
   251                  "\t<subclassname>     name of the subclass to generate\n"
   250                  "\t<subclassheaderfile>    declaration file of the subclass\n"
   252                  "\t<subclassheaderfile>    declaration file of the subclass\n"
   251                  "Options:\n"
   253                  "Options:\n"
   252                  "\t-o file            Write output to file rather than stdout\n"
   254                  "\t-o file            Write output to file rather than stdout\n"
   253                  "\t-extract qrcFile   Create resource file and extract embedded images into \"image\" dir\n"
   255                  "\t-extract qrcFile   Create resource file and extract embedded images into \"image\" dir\n"
       
   256                  "\t-limit-xpm-linelength Limit the line length of XPM files for -extract.\n"
   254                  "\t-pch file          Add #include \"file\" as the first statement in implementation\n"
   257                  "\t-pch file          Add #include \"file\" as the first statement in implementation\n"
   255                  "\t-nofwd             Omit forward declarations of custom classes\n"
   258                  "\t-nofwd             Omit forward declarations of custom classes\n"
   256                  "\t-layout-names      Preserve layout names of Qt Designer 3\n"
   259                  "\t-layout-names      Preserve layout names of Qt Designer 3\n"
   257                  "\t-no-implicit-includes Do not generate #include-directives for custom classes\n"
   260                  "\t-no-implicit-includes Do not generate #include-directives for custom classes\n"
   258                  "\t-nounload          Do not unload plugins after processing\n"
   261                  "\t-nounload          Do not unload plugins after processing\n"