Changeset 8127 in ntrip for trunk/BNC/qwt/qwt_text.h


Ignore:
Timestamp:
May 10, 2017, 3:20:54 PM (7 years ago)
Author:
stoecker
Message:

update qwt and qwtpolar, many QT5 fixes (unfinished)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/qwt/qwt_text.h

    r4271 r8127  
    22 * Qwt Widget Library
    33 * Copyright (C) 1997   Josef Wilgen
    4  * Copyright (C) 2003   Uwe Rathmann
     4 * Copyright (C) 2002   Uwe Rathmann
    55 *
    66 * This library is free software; you can redistribute it and/or
     
    1515#include <qsize.h>
    1616#include <qfont.h>
     17#include <qmetatype.h>
    1718
    1819class QColor;
     
    3233    how to render it. Each format (f.e MathML, TeX, Qt Rich Text)
    3334    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.
    3536  - Background\n
    3637    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.
    3840  - Font\n
    3941    A text might have an individual font.
     
    4244  - Render Flags\n
    4345    Flags from Qt::AlignmentFlag and Qt::TextFlag used like in
    44     QPainter::drawText.
     46    QPainter::drawText().
    4547
    4648  \sa QwtTextEngine, QwtTextLabel
     
    6365    {
    6466        /*!
    65           The text format is determined using QwtTextEngine::mightRender for
     67          The text format is determined using QwtTextEngine::mightRender() for
    6668          all available text engines in increasing order > PlainText.
    6769          If none of the text engines can render the text is rendered
     
    168170    QColor usedColor( const QColor & ) const;
    169171
    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;
    172177
    173178    void setBackgroundBrush( const QBrush & );
     
    214219Q_DECLARE_OPERATORS_FOR_FLAGS( QwtText::LayoutAttributes )
    215220
     221Q_DECLARE_METATYPE( QwtText )
     222
    216223#endif
Note: See TracChangeset for help on using the changeset viewer.