Ignore:
Timestamp:
Nov 6, 2007, 11:27:57 PM (18 years ago)
Author:
dmik
Message:

Styles: Implemented the first version of the Warp4 style (contributed by Cornelis Bockemuehl).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/kernel/qapplication.cpp

    r172 r174  
    12351235            else
    12361236                style = "Windows";              // default styles for Windows
    1237 #elif defined(Q_WS_PM)
    1238             /// @todo (dmik) temporary, until the native style is done
    1239             style = "Windows";          // default style for OS/2
     1237// this is temporarily disabled until most bugs are fixed,
     1238// see http://svn.netlabs.org/qr3/ticket/9 for details
     1239//#elif defined(Q_WS_PM)
     1240//          style = "Warp4";            // default style for OS/2
     1241//#endif
    12401242#elif defined(Q_WS_X11) && defined(Q_OS_SOLARIS)
    12411243            style = "CDE";                      // default style for X11 on Solaris
     
    12531255        if ( !app_style &&              // platform default style not available, try alternatives
    12541256             !(app_style = QStyleFactory::create( "Windows" ) ) &&
     1257//           !(app_style = QStyleFactory::create( "Warp4" ) ) &&
    12551258             !(app_style = QStyleFactory::create( "Platinum" ) ) &&
    12561259             !(app_style = QStyleFactory::create( "MotifPlus" ) ) &&
     
    13701373  The string must be one of the QStyleFactory::keys(), typically one
    13711374  of "windows", "motif", "cde", "motifplus", "platinum", "sgi" and
    1372   "compact". Depending on the platform, "windowsxp", "aqua" or
     1375  "compact". Depending on the platform, "windowsxp", "warp4", "aqua" or
    13731376  "macintosh" may be available.
    13741377
Note: See TracChangeset for help on using the changeset viewer.