Files
harbour-core/harbour/contrib/hbqt/qtgui/qth/QTextOption.qth
Pritpal Bedi fef080b8a0 2012-05-13 00:19 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/hbqt/qtcore/qth/*.qth
  * contrib/hbqt/qtgui/qth/*.qth
  * contrib/hbqt/qtnetwork/qth/*.qth
    ! Copyright year bump.
    + Formatting.
    - Long coptyright notice to short one.
2012-05-13 07:29:44 +00:00

69 lines
1.5 KiB
Plaintext

/*
* $Id$
*/
/*
* Harbour Qt wrapper generator control file
*
* Copyright 2009-2012 Pritpal Bedi <bedipritpal@hotmail.com>
* www - http://www.harbour-project.org
*
* See COPYING for licensing terms.
*/
<CLASS>
QObject = no
Inherit =
Type = Core
New =
Destructor =
</CLASS>
<CODE>
#include <QtGui/QTextOption>
/* QTextOption ()
* QTextOption ( Qt::Alignment alignment )
* QTextOption ( const QTextOption & other )
* ~QTextOption ()
*/
HB_FUNC( QT_QTEXTOPTION )
{
__HB_RETPTRGC__( new QTextOption() );
}
</CODE>
<ENUMS>
class Tab
enum Flag { IncludeTrailingSpaces, ShowTabsAndSpaces, ShowLineAndParagraphSeparators, AddSpaceForLineAndParagraphSeparators, SuppressColors }
flags Flags
enum TabType { LeftTab, RightTab, CenterTab, DelimiterTab }
enum WrapMode { NoWrap, WordWrap, ManualWrap, WrapAnywhere, WrapAtWordBoundaryOrAnywhere }
</ENUMS>
<PROTOS>
Qt::Alignment alignment () const
Flags flags () const
void setAlignment ( Qt::Alignment alignment )
void setFlags ( Flags flags )
void setTabArray ( QList<qreal> tabStops )
void setTabStop ( qreal tabStop )
void setTabs ( QList<Tab> tabStops )
void setTextDirection ( Qt::LayoutDirection direction )
void setUseDesignMetrics ( bool enable )
void setWrapMode ( WrapMode mode )
QList<qreal> tabArray () const
qreal tabStop () const
//QList<Tab> tabs () const
Qt::LayoutDirection textDirection () const
bool useDesignMetrics () const
WrapMode wrapMode () const
</PROTOS>
<SLOTS>
</SLOTS>
<SIGNALS>
</SIGNALS>