* contrib/hbqt/qtgui/qth/HBQSyntaxHighlighter.qth
* contrib/hbqt/qtgui/qth/QAction.qth
* contrib/hbqt/qtgui/qth/QBoxLayout.qth
* contrib/hbqt/qtgui/qth/QFormLayout.qth
* contrib/hbqt/qtgui/qth/QFrame.qth
* contrib/hbqt/qtgui/qth/QGridLayout.qth
* contrib/hbqt/qtgui/qth/QLineEdit.qth
* contrib/hbqt/qtgui/qth/QPushButton.qth
* contrib/hbqt/qtgui/qth/QScrollArea.qth
* contrib/hbqt/qtgui/qth/QSizeGrip.qth
* contrib/hbqt/qtgui/qth/QSlider.qth
* contrib/hbqt/qtgui/qth/QSound.qth
* contrib/hbqt/qtgui/qth/QSpinBox.qth
* contrib/hbqt/qtgui/qth/QSplashScreen.qth
* contrib/hbqt/qtgui/qth/QSplitter.qth
* contrib/hbqt/qtgui/qth/QStackedWidget.qth
* contrib/hbqt/qtgui/qth/QStandardItem.qth
* contrib/hbqt/qtgui/qth/QStandardItemModel.qth
* contrib/hbqt/qtgui/qth/QStringListModel.qth
* contrib/hbqt/qtgui/qth/QSystemTrayIcon.qth
* contrib/hbqt/qtgui/qth/QTabBar.qth
* contrib/hbqt/qtgui/qth/QTableWidget.qth
* contrib/hbqt/qtgui/qth/QTabWidget.qth
* contrib/hbqt/qtgui/qth/QTextBrowser.qth
* contrib/hbqt/qtgui/qth/QTextDocument.qth
* contrib/hbqt/qtgui/qth/QTextEdit.qth
* contrib/hbqt/qtgui/qth/QTextFormat.qth
* contrib/hbqt/qtgui/qth/QTimeEdit.qth
* contrib/hbqt/qtgui/qth/QToolBox.qth
* contrib/hbqt/qtgui/qth/QToolButton.qth
* contrib/hbqt/qtgui/qth/QTreeView.qth
* contrib/hbqt/qtgui/qth/QTreeWidget.qth
* contrib/hbqt/qtgui/qth/QWidgetAction.qth
* contrib/hbqt/qtgui/qth/QWidgetItem.qth
* contrib/hbqt/qtgui/qth/QWizardPage.qth
! Fixed: constructors. Now hbIDE shows up with __HBQT_REVAMP__.
85 lines
2.0 KiB
Plaintext
85 lines
2.0 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 =
|
|
Inherit = QSyntaxHighlighter
|
|
Type =
|
|
New =
|
|
</CLASS>
|
|
|
|
<SUBCLASS>
|
|
</SUBCLASS>
|
|
|
|
<DOC>
|
|
</DOC>
|
|
|
|
<CODE>
|
|
#include <QtGui/QSyntaxHighlighter>
|
|
#include <QtGui/QPlainTextEdit>
|
|
#include "hbqt_hbqsyntaxhighlighter.h"
|
|
#include "hbqt_hbqplaintextedit.h"
|
|
|
|
/*
|
|
* HBQSyntaxHighlighter ( QTextDocument * textDocument )
|
|
*
|
|
*/
|
|
HB_FUNC( QT_HBQSYNTAXHIGHLIGHTER )
|
|
{
|
|
if( hb_pcount() == 1 && hbqt_par_isDerivedFrom( 1, "QTEXTDOCUMENT" ) )
|
|
{
|
|
__HB_RETPTRGC__( new HBQSyntaxHighlighter( hbqt_par_QTextDocument( 1 ) ) );
|
|
}
|
|
else
|
|
{
|
|
__HB_RETPTRGC__( new HBQSyntaxHighlighter() );
|
|
}
|
|
}
|
|
</CODE>
|
|
|
|
<ENUMS>
|
|
</ENUMS>
|
|
|
|
<PROTOS>
|
|
|
|
void hbSetMultiLineCommentFormat( const QTextCharFormat & format )
|
|
void hbSetSingleLineCommentFormat( const QTextCharFormat & format )
|
|
void hbSetRule( QString name, QString pattern, QTextCharFormat & format )
|
|
void hbSetFormat( QString name, const QTextCharFormat & format )
|
|
void hbSetFormatColumnSelection( int start, int count, const QColor & color )
|
|
void hbSetRuleWithRegExp( QString name, const QRegExp & reg, const QTextCharFormat & format )
|
|
void hbSetEditor( HBQPlainTextEdit * edit )
|
|
void hbSetEditor( QPlainTextEdit * edit )
|
|
void hbSetInitialized( bool init )
|
|
void hbSetType( int ty )
|
|
|
|
# QTextBlock currentBlock () const
|
|
# int currentBlockState () const
|
|
# QTextBlockUserData * currentBlockUserData () const
|
|
# QTextCharFormat format ( int position ) const
|
|
# virtual void highlightBlock ( const QString & text ) = 0
|
|
# int previousBlockState () const
|
|
# void setCurrentBlockState ( int newState )
|
|
# void setCurrentBlockUserData ( QTextBlockUserData * data )
|
|
# void setFormat ( int start, int count, const QTextCharFormat & format )
|
|
# void setFormat ( int start, int count, const QColor & color )
|
|
# void setFormat ( int start, int count, const QFont & font )
|
|
|
|
</PROTOS>
|
|
|
|
<SLOTS>
|
|
</SLOTS>
|
|
|
|
<SIGNALS>
|
|
</SIGNALS>
|