src/gui/text/qfont.h
changeset 30 5dc02b23752f
parent 18 2f34d5167611
child 33 3e2da88830cd
equal deleted inserted replaced
29:b72c6db6890b 30:5dc02b23752f
    74         System,
    74         System,
    75         AnyStyle
    75         AnyStyle
    76     };
    76     };
    77 
    77 
    78     enum StyleStrategy {
    78     enum StyleStrategy {
    79         PreferDefault    = 0x0001,
    79         PreferDefault       = 0x0001,
    80         PreferBitmap     = 0x0002,
    80         PreferBitmap        = 0x0002,
    81         PreferDevice     = 0x0004,
    81         PreferDevice        = 0x0004,
    82         PreferOutline    = 0x0008,
    82         PreferOutline       = 0x0008,
    83         ForceOutline     = 0x0010,
    83         ForceOutline        = 0x0010,
    84         PreferMatch      = 0x0020,
    84         PreferMatch         = 0x0020,
    85         PreferQuality    = 0x0040,
    85         PreferQuality       = 0x0040,
    86         PreferAntialias  = 0x0080,
    86         PreferAntialias     = 0x0080,
    87         NoAntialias      = 0x0100,
    87         NoAntialias         = 0x0100,
    88         OpenGLCompatible = 0x0200,
    88         OpenGLCompatible    = 0x0200,
    89         NoFontMerging    = 0x8000
    89         ForceIntegerMetrics = 0x0400,
       
    90         NoFontMerging       = 0x8000
    90     };
    91     };
    91 
    92 
    92     enum Weight {
    93     enum Weight {
    93         Light    = 25,
    94         Light    = 25,
    94         Normal   = 50,
    95         Normal   = 50,
   289     friend class QFontDialogPrivate;
   290     friend class QFontDialogPrivate;
   290     friend class QFontMetrics;
   291     friend class QFontMetrics;
   291     friend class QFontMetricsF;
   292     friend class QFontMetricsF;
   292     friend class QFontInfo;
   293     friend class QFontInfo;
   293     friend class QPainter;
   294     friend class QPainter;
       
   295     friend class QPainterPrivate;
   294     friend class QPSPrintEngineFont;
   296     friend class QPSPrintEngineFont;
   295     friend class QApplication;
   297     friend class QApplication;
   296     friend class QWidget;
   298     friend class QWidget;
   297     friend class QWidgetPrivate;
   299     friend class QWidgetPrivate;
   298     friend class Q3TextFormatCollection;
   300     friend class Q3TextFormatCollection;