Changeset 8127 in ntrip for trunk/BNC/qwt/qwt_text.h
- Timestamp:
- May 10, 2017, 3:20:54 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/qwt/qwt_text.h
r4271 r8127 2 2 * Qwt Widget Library 3 3 * Copyright (C) 1997 Josef Wilgen 4 * Copyright (C) 200 3Uwe Rathmann4 * Copyright (C) 2002 Uwe Rathmann 5 5 * 6 6 * This library is free software; you can redistribute it and/or … … 15 15 #include <qsize.h> 16 16 #include <qfont.h> 17 #include <qmetatype.h> 17 18 18 19 class QColor; … … 32 33 how to render it. Each format (f.e MathML, TeX, Qt Rich Text) 33 34 has its own set of control sequences, that can be handles by 34 a QwtTextEngine for this format.35 a special QwtTextEngine for this format. 35 36 - Background\n 36 37 A text might have a background, defined by a QPen and QBrush 37 to improve its visibility. 38 to improve its visibility. The corners of the background might 39 be rounded. 38 40 - Font\n 39 41 A text might have an individual font. … … 42 44 - Render Flags\n 43 45 Flags from Qt::AlignmentFlag and Qt::TextFlag used like in 44 QPainter::drawText .46 QPainter::drawText(). 45 47 46 48 \sa QwtTextEngine, QwtTextLabel … … 63 65 { 64 66 /*! 65 The text format is determined using QwtTextEngine::mightRender for67 The text format is determined using QwtTextEngine::mightRender() for 66 68 all available text engines in increasing order > PlainText. 67 69 If none of the text engines can render the text is rendered … … 168 170 QColor usedColor( const QColor & ) const; 169 171 170 void setBackgroundPen( const QPen & ); 171 QPen backgroundPen() const; 172 void setBorderRadius( double ); 173 double borderRadius() const; 174 175 void setBorderPen( const QPen & ); 176 QPen borderPen() const; 172 177 173 178 void setBackgroundBrush( const QBrush & ); … … 214 219 Q_DECLARE_OPERATORS_FOR_FLAGS( QwtText::LayoutAttributes ) 215 220 221 Q_DECLARE_METATYPE( QwtText ) 222 216 223 #endif
Note:
See TracChangeset
for help on using the changeset viewer.