2009-06-06 10:33 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com)
* harbour/contrib/hbqt/Makefile_gen
+ harbour/contrib/hbqt/hbqt_qstyleoptionslider.cpp
+ harbour/contrib/hbqt/hbqt_qstyleoptionspinbox.cpp
+ harbour/contrib/hbqt/hbqt_qstyleoptiontab.cpp
+ harbour/contrib/hbqt/hbqt_qstyleoptiontabbarbase.cpp
+ harbour/contrib/hbqt/hbqt_qstyleoptiontabwidgetframe.cpp
+ harbour/contrib/hbqt/hbqt_qstyleoptiontitlebar.cpp
+ harbour/contrib/hbqt/hbqt_qstyleoptiontoolbar.cpp
+ harbour/contrib/hbqt/hbqt_qstyleoptiontoolbox.cpp
+ harbour/contrib/hbqt/hbqt_qstyleoptiontoolbutton.cpp
+ harbour/contrib/hbqt/hbqt_qstyleoptionviewitem.cpp
+ harbour/contrib/hbqt/hbqt_qstylepainter.cpp
* harbour/contrib/hbqt/hbqt.h
* harbour/contrib/hbqt/generator/hbqtgen.prg
+ harbour/contrib/hbqt/TQStyleOptionSlider.prg
+ harbour/contrib/hbqt/TQStyleOptionSpinBox.prg
+ harbour/contrib/hbqt/TQStyleOptionTab.prg
+ harbour/contrib/hbqt/TQStyleOptionTabBarBase.prg
+ harbour/contrib/hbqt/TQStyleOptionTabWidgetFrame.prg
+ harbour/contrib/hbqt/TQStyleOptionTitleBar.prg
+ harbour/contrib/hbqt/TQStyleOptionToolBar.prg
+ harbour/contrib/hbqt/TQStyleOptionToolBox.prg
+ harbour/contrib/hbqt/TQStyleOptionToolButton.prg
+ harbour/contrib/hbqt/TQStyleOptionViewItem.prg
+ harbour/contrib/hbqt/TQStylePainter.prg
+ harbour/contrib/hbqt/qth/QStyleOptionSlider.qth
+ harbour/contrib/hbqt/qth/QStyleOptionSpinBox.qth
+ harbour/contrib/hbqt/qth/QStyleOptionTab.qth
+ harbour/contrib/hbqt/qth/QStyleOptionTabBarBase.qth
+ harbour/contrib/hbqt/qth/QStyleOptionTabWidgetFrame.qth
+ harbour/contrib/hbqt/qth/QStyleOptionTitleBar.qth
+ harbour/contrib/hbqt/qth/QStyleOptionToolBar.qth
+ harbour/contrib/hbqt/qth/QStyleOptionToolBox.qth
+ harbour/contrib/hbqt/qth/QStyleOptionToolButton.qth
+ harbour/contrib/hbqt/qth/QStyleOptionViewItem.qth
+ harbour/contrib/hbqt/qth/QStylePainter.qth
* harbour/contrib/hbqt/generator/qt45.qtp
+ Added more classes - count == 179
This commit is contained in:
@@ -17,6 +17,53 @@
|
||||
past entries belonging to author(s): Viktor Szakats.
|
||||
*/
|
||||
|
||||
2009-06-06 10:33 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com)
|
||||
* harbour/contrib/hbqt/Makefile_gen
|
||||
|
||||
+ harbour/contrib/hbqt/hbqt_qstyleoptionslider.cpp
|
||||
+ harbour/contrib/hbqt/hbqt_qstyleoptionspinbox.cpp
|
||||
+ harbour/contrib/hbqt/hbqt_qstyleoptiontab.cpp
|
||||
+ harbour/contrib/hbqt/hbqt_qstyleoptiontabbarbase.cpp
|
||||
+ harbour/contrib/hbqt/hbqt_qstyleoptiontabwidgetframe.cpp
|
||||
+ harbour/contrib/hbqt/hbqt_qstyleoptiontitlebar.cpp
|
||||
+ harbour/contrib/hbqt/hbqt_qstyleoptiontoolbar.cpp
|
||||
+ harbour/contrib/hbqt/hbqt_qstyleoptiontoolbox.cpp
|
||||
+ harbour/contrib/hbqt/hbqt_qstyleoptiontoolbutton.cpp
|
||||
+ harbour/contrib/hbqt/hbqt_qstyleoptionviewitem.cpp
|
||||
+ harbour/contrib/hbqt/hbqt_qstylepainter.cpp
|
||||
|
||||
* harbour/contrib/hbqt/hbqt.h
|
||||
|
||||
* harbour/contrib/hbqt/generator/hbqtgen.prg
|
||||
|
||||
+ harbour/contrib/hbqt/TQStyleOptionSlider.prg
|
||||
+ harbour/contrib/hbqt/TQStyleOptionSpinBox.prg
|
||||
+ harbour/contrib/hbqt/TQStyleOptionTab.prg
|
||||
+ harbour/contrib/hbqt/TQStyleOptionTabBarBase.prg
|
||||
+ harbour/contrib/hbqt/TQStyleOptionTabWidgetFrame.prg
|
||||
+ harbour/contrib/hbqt/TQStyleOptionTitleBar.prg
|
||||
+ harbour/contrib/hbqt/TQStyleOptionToolBar.prg
|
||||
+ harbour/contrib/hbqt/TQStyleOptionToolBox.prg
|
||||
+ harbour/contrib/hbqt/TQStyleOptionToolButton.prg
|
||||
+ harbour/contrib/hbqt/TQStyleOptionViewItem.prg
|
||||
+ harbour/contrib/hbqt/TQStylePainter.prg
|
||||
|
||||
+ harbour/contrib/hbqt/qth/QStyleOptionSlider.qth
|
||||
+ harbour/contrib/hbqt/qth/QStyleOptionSpinBox.qth
|
||||
+ harbour/contrib/hbqt/qth/QStyleOptionTab.qth
|
||||
+ harbour/contrib/hbqt/qth/QStyleOptionTabBarBase.qth
|
||||
+ harbour/contrib/hbqt/qth/QStyleOptionTabWidgetFrame.qth
|
||||
+ harbour/contrib/hbqt/qth/QStyleOptionTitleBar.qth
|
||||
+ harbour/contrib/hbqt/qth/QStyleOptionToolBar.qth
|
||||
+ harbour/contrib/hbqt/qth/QStyleOptionToolBox.qth
|
||||
+ harbour/contrib/hbqt/qth/QStyleOptionToolButton.qth
|
||||
+ harbour/contrib/hbqt/qth/QStyleOptionViewItem.qth
|
||||
+ harbour/contrib/hbqt/qth/QStylePainter.qth
|
||||
|
||||
* harbour/contrib/hbqt/generator/qt45.qtp
|
||||
|
||||
+ Added more classes - count == 179
|
||||
|
||||
2009-06-06 16:07 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
|
||||
* INSTALL
|
||||
* Made clear that GNU Make installation isn't needed for mingw
|
||||
|
||||
@@ -125,6 +125,15 @@ CPP_SOURCES=\
|
||||
hbqt_qstyleoptionmenuitem.cpp \
|
||||
hbqt_qstyleoptionprogressbar.cpp \
|
||||
hbqt_qstyleoptionsizegrip.cpp \
|
||||
hbqt_qstyleoptionslider.cpp \
|
||||
hbqt_qstyleoptionspinbox.cpp \
|
||||
hbqt_qstyleoptiontab.cpp \
|
||||
hbqt_qstyleoptiontabbarbase.cpp \
|
||||
hbqt_qstyleoptiontitlebar.cpp \
|
||||
hbqt_qstyleoptiontoolbar.cpp \
|
||||
hbqt_qstyleoptiontoolbox.cpp \
|
||||
hbqt_qstyleoptiontoolbutton.cpp \
|
||||
hbqt_qstyleoptionviewitem.cpp \
|
||||
hbqt_qtabbar.cpp \
|
||||
hbqt_qtableview.cpp \
|
||||
hbqt_qtablewidget.cpp \
|
||||
@@ -306,6 +315,15 @@ PRG_SOURCES=\
|
||||
TQStyleOptionMenuItem.prg \
|
||||
TQStyleOptionProgressBar.prg \
|
||||
TQStyleOptionSizeGrip.prg \
|
||||
TQStyleOptionSlider.prg \
|
||||
TQStyleOptionSpinBox.prg \
|
||||
TQStyleOptionTab.prg \
|
||||
TQStyleOptionTabBarBase.prg \
|
||||
TQStyleOptionTitleBar.prg \
|
||||
TQStyleOptionToolBar.prg \
|
||||
TQStyleOptionToolBox.prg \
|
||||
TQStyleOptionToolButton.prg \
|
||||
TQStyleOptionViewItem.prg \
|
||||
TQTabBar.prg \
|
||||
TQTableView.prg \
|
||||
TQTableWidget.prg \
|
||||
|
||||
92
harbour/contrib/hbqt/TQStyleOptionSlider.prg
Normal file
92
harbour/contrib/hbqt/TQStyleOptionSlider.prg
Normal file
@@ -0,0 +1,92 @@
|
||||
/*
|
||||
* $Id$
|
||||
*/
|
||||
|
||||
/*
|
||||
* Harbour Project source code:
|
||||
* QT wrapper main header
|
||||
*
|
||||
* Copyright 2009 Marcos Antonio Gambeta <marcosgambeta at gmail dot com>
|
||||
* Copyright 2009 Pritpal Bedi <pritpal@vouchcac.com>
|
||||
* www - http://www.harbour-project.org
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation; either version 2, or (at your option)
|
||||
* any later version.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with this software; see the file COPYING. If not, write to
|
||||
* the Free Software Foundation, Inc., 59 Temple Place, Suite 330,
|
||||
* Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/).
|
||||
*
|
||||
* As a special exception, the Harbour Project gives permission for
|
||||
* additional uses of the text contained in its release of Harbour.
|
||||
*
|
||||
* The exception is that, if you link the Harbour libraries with other
|
||||
* files to produce an executable, this does not by itself cause the
|
||||
* resulting executable to be covered by the GNU General Public License.
|
||||
* Your use of that executable is in no way restricted on account of
|
||||
* linking the Harbour library code into it.
|
||||
*
|
||||
* This exception does not however invalidate any other reasons why
|
||||
* the executable file might be covered by the GNU General Public License.
|
||||
*
|
||||
* This exception applies only to the code released by the Harbour
|
||||
* Project under the name Harbour. If you copy code from other
|
||||
* Harbour Project or Free Software Foundation releases into a copy of
|
||||
* Harbour, as the General Public License permits, the exception does
|
||||
* not apply to the code that you add in this way. To avoid misleading
|
||||
* anyone as to the status of such modified files, you must delete
|
||||
* this exception notice from them.
|
||||
*
|
||||
* If you write modifications of your own for Harbour, it is your choice
|
||||
* whether to permit this exception to apply to your modifications.
|
||||
* If you do not wish that, delete this exception notice.
|
||||
*
|
||||
*/
|
||||
/*----------------------------------------------------------------------*/
|
||||
|
||||
|
||||
#include "hbclass.ch"
|
||||
|
||||
|
||||
CREATE CLASS QStyleOptionSlider INHERIT QStyleOptionComplex
|
||||
|
||||
VAR pParent
|
||||
VAR pPtr
|
||||
|
||||
METHOD New()
|
||||
|
||||
METHOD dialWrapping() INLINE Qt_QStyleOptionSlider_dialWrapping( ::pPtr )
|
||||
METHOD maximum() INLINE Qt_QStyleOptionSlider_maximum( ::pPtr )
|
||||
METHOD minimum() INLINE Qt_QStyleOptionSlider_minimum( ::pPtr )
|
||||
METHOD notchTarget() INLINE Qt_QStyleOptionSlider_notchTarget( ::pPtr )
|
||||
METHOD orientation() INLINE Qt_QStyleOptionSlider_orientation( ::pPtr )
|
||||
METHOD pageStep() INLINE Qt_QStyleOptionSlider_pageStep( ::pPtr )
|
||||
METHOD singleStep() INLINE Qt_QStyleOptionSlider_singleStep( ::pPtr )
|
||||
METHOD sliderPosition() INLINE Qt_QStyleOptionSlider_sliderPosition( ::pPtr )
|
||||
METHOD sliderValue() INLINE Qt_QStyleOptionSlider_sliderValue( ::pPtr )
|
||||
METHOD tickInterval() INLINE Qt_QStyleOptionSlider_tickInterval( ::pPtr )
|
||||
METHOD tickPosition() INLINE Qt_QStyleOptionSlider_tickPosition( ::pPtr )
|
||||
METHOD upsideDown() INLINE Qt_QStyleOptionSlider_upsideDown( ::pPtr )
|
||||
|
||||
ENDCLASS
|
||||
|
||||
/*----------------------------------------------------------------------*/
|
||||
|
||||
METHOD New( pParent ) CLASS QStyleOptionSlider
|
||||
|
||||
::pParent := pParent
|
||||
|
||||
::pPtr := Qt_QStyleOptionSlider( pParent )
|
||||
|
||||
RETURN Self
|
||||
|
||||
/*----------------------------------------------------------------------*/
|
||||
|
||||
83
harbour/contrib/hbqt/TQStyleOptionSpinBox.prg
Normal file
83
harbour/contrib/hbqt/TQStyleOptionSpinBox.prg
Normal file
@@ -0,0 +1,83 @@
|
||||
/*
|
||||
* $Id$
|
||||
*/
|
||||
|
||||
/*
|
||||
* Harbour Project source code:
|
||||
* QT wrapper main header
|
||||
*
|
||||
* Copyright 2009 Marcos Antonio Gambeta <marcosgambeta at gmail dot com>
|
||||
* Copyright 2009 Pritpal Bedi <pritpal@vouchcac.com>
|
||||
* www - http://www.harbour-project.org
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation; either version 2, or (at your option)
|
||||
* any later version.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with this software; see the file COPYING. If not, write to
|
||||
* the Free Software Foundation, Inc., 59 Temple Place, Suite 330,
|
||||
* Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/).
|
||||
*
|
||||
* As a special exception, the Harbour Project gives permission for
|
||||
* additional uses of the text contained in its release of Harbour.
|
||||
*
|
||||
* The exception is that, if you link the Harbour libraries with other
|
||||
* files to produce an executable, this does not by itself cause the
|
||||
* resulting executable to be covered by the GNU General Public License.
|
||||
* Your use of that executable is in no way restricted on account of
|
||||
* linking the Harbour library code into it.
|
||||
*
|
||||
* This exception does not however invalidate any other reasons why
|
||||
* the executable file might be covered by the GNU General Public License.
|
||||
*
|
||||
* This exception applies only to the code released by the Harbour
|
||||
* Project under the name Harbour. If you copy code from other
|
||||
* Harbour Project or Free Software Foundation releases into a copy of
|
||||
* Harbour, as the General Public License permits, the exception does
|
||||
* not apply to the code that you add in this way. To avoid misleading
|
||||
* anyone as to the status of such modified files, you must delete
|
||||
* this exception notice from them.
|
||||
*
|
||||
* If you write modifications of your own for Harbour, it is your choice
|
||||
* whether to permit this exception to apply to your modifications.
|
||||
* If you do not wish that, delete this exception notice.
|
||||
*
|
||||
*/
|
||||
/*----------------------------------------------------------------------*/
|
||||
|
||||
|
||||
#include "hbclass.ch"
|
||||
|
||||
|
||||
CREATE CLASS QStyleOptionSpinBox INHERIT QStyleOptionComplex
|
||||
|
||||
VAR pParent
|
||||
VAR pPtr
|
||||
|
||||
METHOD New()
|
||||
|
||||
METHOD buttonSymbols() INLINE Qt_QStyleOptionSpinBox_buttonSymbols( ::pPtr )
|
||||
METHOD frame() INLINE Qt_QStyleOptionSpinBox_frame( ::pPtr )
|
||||
METHOD stepEnabled() INLINE Qt_QStyleOptionSpinBox_stepEnabled( ::pPtr )
|
||||
|
||||
ENDCLASS
|
||||
|
||||
/*----------------------------------------------------------------------*/
|
||||
|
||||
METHOD New( pParent ) CLASS QStyleOptionSpinBox
|
||||
|
||||
::pParent := pParent
|
||||
|
||||
::pPtr := Qt_QStyleOptionSpinBox( pParent )
|
||||
|
||||
RETURN Self
|
||||
|
||||
/*----------------------------------------------------------------------*/
|
||||
|
||||
87
harbour/contrib/hbqt/TQStyleOptionTab.prg
Normal file
87
harbour/contrib/hbqt/TQStyleOptionTab.prg
Normal file
@@ -0,0 +1,87 @@
|
||||
/*
|
||||
* $Id$
|
||||
*/
|
||||
|
||||
/*
|
||||
* Harbour Project source code:
|
||||
* QT wrapper main header
|
||||
*
|
||||
* Copyright 2009 Marcos Antonio Gambeta <marcosgambeta at gmail dot com>
|
||||
* Copyright 2009 Pritpal Bedi <pritpal@vouchcac.com>
|
||||
* www - http://www.harbour-project.org
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation; either version 2, or (at your option)
|
||||
* any later version.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with this software; see the file COPYING. If not, write to
|
||||
* the Free Software Foundation, Inc., 59 Temple Place, Suite 330,
|
||||
* Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/).
|
||||
*
|
||||
* As a special exception, the Harbour Project gives permission for
|
||||
* additional uses of the text contained in its release of Harbour.
|
||||
*
|
||||
* The exception is that, if you link the Harbour libraries with other
|
||||
* files to produce an executable, this does not by itself cause the
|
||||
* resulting executable to be covered by the GNU General Public License.
|
||||
* Your use of that executable is in no way restricted on account of
|
||||
* linking the Harbour library code into it.
|
||||
*
|
||||
* This exception does not however invalidate any other reasons why
|
||||
* the executable file might be covered by the GNU General Public License.
|
||||
*
|
||||
* This exception applies only to the code released by the Harbour
|
||||
* Project under the name Harbour. If you copy code from other
|
||||
* Harbour Project or Free Software Foundation releases into a copy of
|
||||
* Harbour, as the General Public License permits, the exception does
|
||||
* not apply to the code that you add in this way. To avoid misleading
|
||||
* anyone as to the status of such modified files, you must delete
|
||||
* this exception notice from them.
|
||||
*
|
||||
* If you write modifications of your own for Harbour, it is your choice
|
||||
* whether to permit this exception to apply to your modifications.
|
||||
* If you do not wish that, delete this exception notice.
|
||||
*
|
||||
*/
|
||||
/*----------------------------------------------------------------------*/
|
||||
|
||||
|
||||
#include "hbclass.ch"
|
||||
|
||||
|
||||
CREATE CLASS QStyleOptionTab INHERIT QStyleOption
|
||||
|
||||
VAR pParent
|
||||
VAR pPtr
|
||||
|
||||
METHOD New()
|
||||
|
||||
METHOD cornerWidgets() INLINE Qt_QStyleOptionTab_cornerWidgets( ::pPtr )
|
||||
METHOD icon() INLINE Qt_QStyleOptionTab_icon( ::pPtr )
|
||||
METHOD position() INLINE Qt_QStyleOptionTab_position( ::pPtr )
|
||||
METHOD row() INLINE Qt_QStyleOptionTab_row( ::pPtr )
|
||||
METHOD selectedPosition() INLINE Qt_QStyleOptionTab_selectedPosition( ::pPtr )
|
||||
METHOD shape() INLINE Qt_QStyleOptionTab_shape( ::pPtr )
|
||||
METHOD text() INLINE Qt_QStyleOptionTab_text( ::pPtr )
|
||||
|
||||
ENDCLASS
|
||||
|
||||
/*----------------------------------------------------------------------*/
|
||||
|
||||
METHOD New( pParent ) CLASS QStyleOptionTab
|
||||
|
||||
::pParent := pParent
|
||||
|
||||
::pPtr := Qt_QStyleOptionTab( pParent )
|
||||
|
||||
RETURN Self
|
||||
|
||||
/*----------------------------------------------------------------------*/
|
||||
|
||||
83
harbour/contrib/hbqt/TQStyleOptionTabBarBase.prg
Normal file
83
harbour/contrib/hbqt/TQStyleOptionTabBarBase.prg
Normal file
@@ -0,0 +1,83 @@
|
||||
/*
|
||||
* $Id$
|
||||
*/
|
||||
|
||||
/*
|
||||
* Harbour Project source code:
|
||||
* QT wrapper main header
|
||||
*
|
||||
* Copyright 2009 Marcos Antonio Gambeta <marcosgambeta at gmail dot com>
|
||||
* Copyright 2009 Pritpal Bedi <pritpal@vouchcac.com>
|
||||
* www - http://www.harbour-project.org
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation; either version 2, or (at your option)
|
||||
* any later version.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with this software; see the file COPYING. If not, write to
|
||||
* the Free Software Foundation, Inc., 59 Temple Place, Suite 330,
|
||||
* Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/).
|
||||
*
|
||||
* As a special exception, the Harbour Project gives permission for
|
||||
* additional uses of the text contained in its release of Harbour.
|
||||
*
|
||||
* The exception is that, if you link the Harbour libraries with other
|
||||
* files to produce an executable, this does not by itself cause the
|
||||
* resulting executable to be covered by the GNU General Public License.
|
||||
* Your use of that executable is in no way restricted on account of
|
||||
* linking the Harbour library code into it.
|
||||
*
|
||||
* This exception does not however invalidate any other reasons why
|
||||
* the executable file might be covered by the GNU General Public License.
|
||||
*
|
||||
* This exception applies only to the code released by the Harbour
|
||||
* Project under the name Harbour. If you copy code from other
|
||||
* Harbour Project or Free Software Foundation releases into a copy of
|
||||
* Harbour, as the General Public License permits, the exception does
|
||||
* not apply to the code that you add in this way. To avoid misleading
|
||||
* anyone as to the status of such modified files, you must delete
|
||||
* this exception notice from them.
|
||||
*
|
||||
* If you write modifications of your own for Harbour, it is your choice
|
||||
* whether to permit this exception to apply to your modifications.
|
||||
* If you do not wish that, delete this exception notice.
|
||||
*
|
||||
*/
|
||||
/*----------------------------------------------------------------------*/
|
||||
|
||||
|
||||
#include "hbclass.ch"
|
||||
|
||||
|
||||
CREATE CLASS QStyleOptionTabBarBase INHERIT QStyleOption
|
||||
|
||||
VAR pParent
|
||||
VAR pPtr
|
||||
|
||||
METHOD New()
|
||||
|
||||
METHOD selectedTabRect() INLINE Qt_QStyleOptionTabBarBase_selectedTabRect( ::pPtr )
|
||||
METHOD shape() INLINE Qt_QStyleOptionTabBarBase_shape( ::pPtr )
|
||||
METHOD tabBarRect() INLINE Qt_QStyleOptionTabBarBase_tabBarRect( ::pPtr )
|
||||
|
||||
ENDCLASS
|
||||
|
||||
/*----------------------------------------------------------------------*/
|
||||
|
||||
METHOD New( pParent ) CLASS QStyleOptionTabBarBase
|
||||
|
||||
::pParent := pParent
|
||||
|
||||
::pPtr := Qt_QStyleOptionTabBarBase( pParent )
|
||||
|
||||
RETURN Self
|
||||
|
||||
/*----------------------------------------------------------------------*/
|
||||
|
||||
86
harbour/contrib/hbqt/TQStyleOptionTabWidgetFrame.prg
Normal file
86
harbour/contrib/hbqt/TQStyleOptionTabWidgetFrame.prg
Normal file
@@ -0,0 +1,86 @@
|
||||
/*
|
||||
* $Id$
|
||||
*/
|
||||
|
||||
/*
|
||||
* Harbour Project source code:
|
||||
* QT wrapper main header
|
||||
*
|
||||
* Copyright 2009 Marcos Antonio Gambeta <marcosgambeta at gmail dot com>
|
||||
* Copyright 2009 Pritpal Bedi <pritpal@vouchcac.com>
|
||||
* www - http://www.harbour-project.org
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation; either version 2, or (at your option)
|
||||
* any later version.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with this software; see the file COPYING. If not, write to
|
||||
* the Free Software Foundation, Inc., 59 Temple Place, Suite 330,
|
||||
* Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/).
|
||||
*
|
||||
* As a special exception, the Harbour Project gives permission for
|
||||
* additional uses of the text contained in its release of Harbour.
|
||||
*
|
||||
* The exception is that, if you link the Harbour libraries with other
|
||||
* files to produce an executable, this does not by itself cause the
|
||||
* resulting executable to be covered by the GNU General Public License.
|
||||
* Your use of that executable is in no way restricted on account of
|
||||
* linking the Harbour library code into it.
|
||||
*
|
||||
* This exception does not however invalidate any other reasons why
|
||||
* the executable file might be covered by the GNU General Public License.
|
||||
*
|
||||
* This exception applies only to the code released by the Harbour
|
||||
* Project under the name Harbour. If you copy code from other
|
||||
* Harbour Project or Free Software Foundation releases into a copy of
|
||||
* Harbour, as the General Public License permits, the exception does
|
||||
* not apply to the code that you add in this way. To avoid misleading
|
||||
* anyone as to the status of such modified files, you must delete
|
||||
* this exception notice from them.
|
||||
*
|
||||
* If you write modifications of your own for Harbour, it is your choice
|
||||
* whether to permit this exception to apply to your modifications.
|
||||
* If you do not wish that, delete this exception notice.
|
||||
*
|
||||
*/
|
||||
/*----------------------------------------------------------------------*/
|
||||
|
||||
|
||||
#include "hbclass.ch"
|
||||
|
||||
|
||||
CREATE CLASS QStyleOptionTabWidgetFrame INHERIT QStyleOption
|
||||
|
||||
VAR pParent
|
||||
VAR pPtr
|
||||
|
||||
METHOD New()
|
||||
|
||||
METHOD leftCornerWidgetSize() INLINE Qt_QStyleOptionTabWidgetFrame_leftCornerWidgetSize( ::pPtr )
|
||||
METHOD lineWidth() INLINE Qt_QStyleOptionTabWidgetFrame_lineWidth( ::pPtr )
|
||||
METHOD midLineWidth() INLINE Qt_QStyleOptionTabWidgetFrame_midLineWidth( ::pPtr )
|
||||
METHOD rightCornerWidgetSize() INLINE Qt_QStyleOptionTabWidgetFrame_rightCornerWidgetSize( ::pPtr )
|
||||
METHOD shape() INLINE Qt_QStyleOptionTabWidgetFrame_shape( ::pPtr )
|
||||
METHOD tabBarSize() INLINE Qt_QStyleOptionTabWidgetFrame_tabBarSize( ::pPtr )
|
||||
|
||||
ENDCLASS
|
||||
|
||||
/*----------------------------------------------------------------------*/
|
||||
|
||||
METHOD New( pParent ) CLASS QStyleOptionTabWidgetFrame
|
||||
|
||||
::pParent := pParent
|
||||
|
||||
::pPtr := Qt_QStyleOptionTabWidgetFrame( pParent )
|
||||
|
||||
RETURN Self
|
||||
|
||||
/*----------------------------------------------------------------------*/
|
||||
|
||||
84
harbour/contrib/hbqt/TQStyleOptionTitleBar.prg
Normal file
84
harbour/contrib/hbqt/TQStyleOptionTitleBar.prg
Normal file
@@ -0,0 +1,84 @@
|
||||
/*
|
||||
* $Id$
|
||||
*/
|
||||
|
||||
/*
|
||||
* Harbour Project source code:
|
||||
* QT wrapper main header
|
||||
*
|
||||
* Copyright 2009 Marcos Antonio Gambeta <marcosgambeta at gmail dot com>
|
||||
* Copyright 2009 Pritpal Bedi <pritpal@vouchcac.com>
|
||||
* www - http://www.harbour-project.org
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation; either version 2, or (at your option)
|
||||
* any later version.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with this software; see the file COPYING. If not, write to
|
||||
* the Free Software Foundation, Inc., 59 Temple Place, Suite 330,
|
||||
* Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/).
|
||||
*
|
||||
* As a special exception, the Harbour Project gives permission for
|
||||
* additional uses of the text contained in its release of Harbour.
|
||||
*
|
||||
* The exception is that, if you link the Harbour libraries with other
|
||||
* files to produce an executable, this does not by itself cause the
|
||||
* resulting executable to be covered by the GNU General Public License.
|
||||
* Your use of that executable is in no way restricted on account of
|
||||
* linking the Harbour library code into it.
|
||||
*
|
||||
* This exception does not however invalidate any other reasons why
|
||||
* the executable file might be covered by the GNU General Public License.
|
||||
*
|
||||
* This exception applies only to the code released by the Harbour
|
||||
* Project under the name Harbour. If you copy code from other
|
||||
* Harbour Project or Free Software Foundation releases into a copy of
|
||||
* Harbour, as the General Public License permits, the exception does
|
||||
* not apply to the code that you add in this way. To avoid misleading
|
||||
* anyone as to the status of such modified files, you must delete
|
||||
* this exception notice from them.
|
||||
*
|
||||
* If you write modifications of your own for Harbour, it is your choice
|
||||
* whether to permit this exception to apply to your modifications.
|
||||
* If you do not wish that, delete this exception notice.
|
||||
*
|
||||
*/
|
||||
/*----------------------------------------------------------------------*/
|
||||
|
||||
|
||||
#include "hbclass.ch"
|
||||
|
||||
|
||||
CREATE CLASS QStyleOptionTitleBar INHERIT QStyleOptionComplex
|
||||
|
||||
VAR pParent
|
||||
VAR pPtr
|
||||
|
||||
METHOD New()
|
||||
|
||||
METHOD icon() INLINE Qt_QStyleOptionTitleBar_icon( ::pPtr )
|
||||
METHOD text() INLINE Qt_QStyleOptionTitleBar_text( ::pPtr )
|
||||
METHOD titleBarFlags() INLINE Qt_QStyleOptionTitleBar_titleBarFlags( ::pPtr )
|
||||
METHOD titleBarState() INLINE Qt_QStyleOptionTitleBar_titleBarState( ::pPtr )
|
||||
|
||||
ENDCLASS
|
||||
|
||||
/*----------------------------------------------------------------------*/
|
||||
|
||||
METHOD New( pParent ) CLASS QStyleOptionTitleBar
|
||||
|
||||
::pParent := pParent
|
||||
|
||||
::pPtr := Qt_QStyleOptionTitleBar( pParent )
|
||||
|
||||
RETURN Self
|
||||
|
||||
/*----------------------------------------------------------------------*/
|
||||
|
||||
86
harbour/contrib/hbqt/TQStyleOptionToolBar.prg
Normal file
86
harbour/contrib/hbqt/TQStyleOptionToolBar.prg
Normal file
@@ -0,0 +1,86 @@
|
||||
/*
|
||||
* $Id$
|
||||
*/
|
||||
|
||||
/*
|
||||
* Harbour Project source code:
|
||||
* QT wrapper main header
|
||||
*
|
||||
* Copyright 2009 Marcos Antonio Gambeta <marcosgambeta at gmail dot com>
|
||||
* Copyright 2009 Pritpal Bedi <pritpal@vouchcac.com>
|
||||
* www - http://www.harbour-project.org
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation; either version 2, or (at your option)
|
||||
* any later version.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with this software; see the file COPYING. If not, write to
|
||||
* the Free Software Foundation, Inc., 59 Temple Place, Suite 330,
|
||||
* Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/).
|
||||
*
|
||||
* As a special exception, the Harbour Project gives permission for
|
||||
* additional uses of the text contained in its release of Harbour.
|
||||
*
|
||||
* The exception is that, if you link the Harbour libraries with other
|
||||
* files to produce an executable, this does not by itself cause the
|
||||
* resulting executable to be covered by the GNU General Public License.
|
||||
* Your use of that executable is in no way restricted on account of
|
||||
* linking the Harbour library code into it.
|
||||
*
|
||||
* This exception does not however invalidate any other reasons why
|
||||
* the executable file might be covered by the GNU General Public License.
|
||||
*
|
||||
* This exception applies only to the code released by the Harbour
|
||||
* Project under the name Harbour. If you copy code from other
|
||||
* Harbour Project or Free Software Foundation releases into a copy of
|
||||
* Harbour, as the General Public License permits, the exception does
|
||||
* not apply to the code that you add in this way. To avoid misleading
|
||||
* anyone as to the status of such modified files, you must delete
|
||||
* this exception notice from them.
|
||||
*
|
||||
* If you write modifications of your own for Harbour, it is your choice
|
||||
* whether to permit this exception to apply to your modifications.
|
||||
* If you do not wish that, delete this exception notice.
|
||||
*
|
||||
*/
|
||||
/*----------------------------------------------------------------------*/
|
||||
|
||||
|
||||
#include "hbclass.ch"
|
||||
|
||||
|
||||
CREATE CLASS QStyleOptionToolBar INHERIT QStyleOption
|
||||
|
||||
VAR pParent
|
||||
VAR pPtr
|
||||
|
||||
METHOD New()
|
||||
|
||||
METHOD features() INLINE Qt_QStyleOptionToolBar_features( ::pPtr )
|
||||
METHOD lineWidth() INLINE Qt_QStyleOptionToolBar_lineWidth( ::pPtr )
|
||||
METHOD midLineWidth() INLINE Qt_QStyleOptionToolBar_midLineWidth( ::pPtr )
|
||||
METHOD positionOfLine() INLINE Qt_QStyleOptionToolBar_positionOfLine( ::pPtr )
|
||||
METHOD positionWithinLine() INLINE Qt_QStyleOptionToolBar_positionWithinLine( ::pPtr )
|
||||
METHOD toolBarArea() INLINE Qt_QStyleOptionToolBar_toolBarArea( ::pPtr )
|
||||
|
||||
ENDCLASS
|
||||
|
||||
/*----------------------------------------------------------------------*/
|
||||
|
||||
METHOD New( pParent ) CLASS QStyleOptionToolBar
|
||||
|
||||
::pParent := pParent
|
||||
|
||||
::pPtr := Qt_QStyleOptionToolBar( pParent )
|
||||
|
||||
RETURN Self
|
||||
|
||||
/*----------------------------------------------------------------------*/
|
||||
|
||||
82
harbour/contrib/hbqt/TQStyleOptionToolBox.prg
Normal file
82
harbour/contrib/hbqt/TQStyleOptionToolBox.prg
Normal file
@@ -0,0 +1,82 @@
|
||||
/*
|
||||
* $Id$
|
||||
*/
|
||||
|
||||
/*
|
||||
* Harbour Project source code:
|
||||
* QT wrapper main header
|
||||
*
|
||||
* Copyright 2009 Marcos Antonio Gambeta <marcosgambeta at gmail dot com>
|
||||
* Copyright 2009 Pritpal Bedi <pritpal@vouchcac.com>
|
||||
* www - http://www.harbour-project.org
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation; either version 2, or (at your option)
|
||||
* any later version.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with this software; see the file COPYING. If not, write to
|
||||
* the Free Software Foundation, Inc., 59 Temple Place, Suite 330,
|
||||
* Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/).
|
||||
*
|
||||
* As a special exception, the Harbour Project gives permission for
|
||||
* additional uses of the text contained in its release of Harbour.
|
||||
*
|
||||
* The exception is that, if you link the Harbour libraries with other
|
||||
* files to produce an executable, this does not by itself cause the
|
||||
* resulting executable to be covered by the GNU General Public License.
|
||||
* Your use of that executable is in no way restricted on account of
|
||||
* linking the Harbour library code into it.
|
||||
*
|
||||
* This exception does not however invalidate any other reasons why
|
||||
* the executable file might be covered by the GNU General Public License.
|
||||
*
|
||||
* This exception applies only to the code released by the Harbour
|
||||
* Project under the name Harbour. If you copy code from other
|
||||
* Harbour Project or Free Software Foundation releases into a copy of
|
||||
* Harbour, as the General Public License permits, the exception does
|
||||
* not apply to the code that you add in this way. To avoid misleading
|
||||
* anyone as to the status of such modified files, you must delete
|
||||
* this exception notice from them.
|
||||
*
|
||||
* If you write modifications of your own for Harbour, it is your choice
|
||||
* whether to permit this exception to apply to your modifications.
|
||||
* If you do not wish that, delete this exception notice.
|
||||
*
|
||||
*/
|
||||
/*----------------------------------------------------------------------*/
|
||||
|
||||
|
||||
#include "hbclass.ch"
|
||||
|
||||
|
||||
CREATE CLASS QStyleOptionToolBox INHERIT QStyleOption
|
||||
|
||||
VAR pParent
|
||||
VAR pPtr
|
||||
|
||||
METHOD New()
|
||||
|
||||
METHOD icon() INLINE Qt_QStyleOptionToolBox_icon( ::pPtr )
|
||||
METHOD text() INLINE Qt_QStyleOptionToolBox_text( ::pPtr )
|
||||
|
||||
ENDCLASS
|
||||
|
||||
/*----------------------------------------------------------------------*/
|
||||
|
||||
METHOD New( pParent ) CLASS QStyleOptionToolBox
|
||||
|
||||
::pParent := pParent
|
||||
|
||||
::pPtr := Qt_QStyleOptionToolBox( pParent )
|
||||
|
||||
RETURN Self
|
||||
|
||||
/*----------------------------------------------------------------------*/
|
||||
|
||||
88
harbour/contrib/hbqt/TQStyleOptionToolButton.prg
Normal file
88
harbour/contrib/hbqt/TQStyleOptionToolButton.prg
Normal file
@@ -0,0 +1,88 @@
|
||||
/*
|
||||
* $Id$
|
||||
*/
|
||||
|
||||
/*
|
||||
* Harbour Project source code:
|
||||
* QT wrapper main header
|
||||
*
|
||||
* Copyright 2009 Marcos Antonio Gambeta <marcosgambeta at gmail dot com>
|
||||
* Copyright 2009 Pritpal Bedi <pritpal@vouchcac.com>
|
||||
* www - http://www.harbour-project.org
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation; either version 2, or (at your option)
|
||||
* any later version.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with this software; see the file COPYING. If not, write to
|
||||
* the Free Software Foundation, Inc., 59 Temple Place, Suite 330,
|
||||
* Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/).
|
||||
*
|
||||
* As a special exception, the Harbour Project gives permission for
|
||||
* additional uses of the text contained in its release of Harbour.
|
||||
*
|
||||
* The exception is that, if you link the Harbour libraries with other
|
||||
* files to produce an executable, this does not by itself cause the
|
||||
* resulting executable to be covered by the GNU General Public License.
|
||||
* Your use of that executable is in no way restricted on account of
|
||||
* linking the Harbour library code into it.
|
||||
*
|
||||
* This exception does not however invalidate any other reasons why
|
||||
* the executable file might be covered by the GNU General Public License.
|
||||
*
|
||||
* This exception applies only to the code released by the Harbour
|
||||
* Project under the name Harbour. If you copy code from other
|
||||
* Harbour Project or Free Software Foundation releases into a copy of
|
||||
* Harbour, as the General Public License permits, the exception does
|
||||
* not apply to the code that you add in this way. To avoid misleading
|
||||
* anyone as to the status of such modified files, you must delete
|
||||
* this exception notice from them.
|
||||
*
|
||||
* If you write modifications of your own for Harbour, it is your choice
|
||||
* whether to permit this exception to apply to your modifications.
|
||||
* If you do not wish that, delete this exception notice.
|
||||
*
|
||||
*/
|
||||
/*----------------------------------------------------------------------*/
|
||||
|
||||
|
||||
#include "hbclass.ch"
|
||||
|
||||
|
||||
CREATE CLASS QStyleOptionToolButton INHERIT QStyleOptionComplex
|
||||
|
||||
VAR pParent
|
||||
VAR pPtr
|
||||
|
||||
METHOD New()
|
||||
|
||||
METHOD arrowType() INLINE Qt_QStyleOptionToolButton_arrowType( ::pPtr )
|
||||
METHOD features() INLINE Qt_QStyleOptionToolButton_features( ::pPtr )
|
||||
METHOD font() INLINE Qt_QStyleOptionToolButton_font( ::pPtr )
|
||||
METHOD icon() INLINE Qt_QStyleOptionToolButton_icon( ::pPtr )
|
||||
METHOD iconSize() INLINE Qt_QStyleOptionToolButton_iconSize( ::pPtr )
|
||||
METHOD pos() INLINE Qt_QStyleOptionToolButton_pos( ::pPtr )
|
||||
METHOD text() INLINE Qt_QStyleOptionToolButton_text( ::pPtr )
|
||||
METHOD toolButtonStyle() INLINE Qt_QStyleOptionToolButton_toolButtonStyle( ::pPtr )
|
||||
|
||||
ENDCLASS
|
||||
|
||||
/*----------------------------------------------------------------------*/
|
||||
|
||||
METHOD New( pParent ) CLASS QStyleOptionToolButton
|
||||
|
||||
::pParent := pParent
|
||||
|
||||
::pPtr := Qt_QStyleOptionToolButton( pParent )
|
||||
|
||||
RETURN Self
|
||||
|
||||
/*----------------------------------------------------------------------*/
|
||||
|
||||
87
harbour/contrib/hbqt/TQStyleOptionViewItem.prg
Normal file
87
harbour/contrib/hbqt/TQStyleOptionViewItem.prg
Normal file
@@ -0,0 +1,87 @@
|
||||
/*
|
||||
* $Id$
|
||||
*/
|
||||
|
||||
/*
|
||||
* Harbour Project source code:
|
||||
* QT wrapper main header
|
||||
*
|
||||
* Copyright 2009 Marcos Antonio Gambeta <marcosgambeta at gmail dot com>
|
||||
* Copyright 2009 Pritpal Bedi <pritpal@vouchcac.com>
|
||||
* www - http://www.harbour-project.org
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation; either version 2, or (at your option)
|
||||
* any later version.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with this software; see the file COPYING. If not, write to
|
||||
* the Free Software Foundation, Inc., 59 Temple Place, Suite 330,
|
||||
* Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/).
|
||||
*
|
||||
* As a special exception, the Harbour Project gives permission for
|
||||
* additional uses of the text contained in its release of Harbour.
|
||||
*
|
||||
* The exception is that, if you link the Harbour libraries with other
|
||||
* files to produce an executable, this does not by itself cause the
|
||||
* resulting executable to be covered by the GNU General Public License.
|
||||
* Your use of that executable is in no way restricted on account of
|
||||
* linking the Harbour library code into it.
|
||||
*
|
||||
* This exception does not however invalidate any other reasons why
|
||||
* the executable file might be covered by the GNU General Public License.
|
||||
*
|
||||
* This exception applies only to the code released by the Harbour
|
||||
* Project under the name Harbour. If you copy code from other
|
||||
* Harbour Project or Free Software Foundation releases into a copy of
|
||||
* Harbour, as the General Public License permits, the exception does
|
||||
* not apply to the code that you add in this way. To avoid misleading
|
||||
* anyone as to the status of such modified files, you must delete
|
||||
* this exception notice from them.
|
||||
*
|
||||
* If you write modifications of your own for Harbour, it is your choice
|
||||
* whether to permit this exception to apply to your modifications.
|
||||
* If you do not wish that, delete this exception notice.
|
||||
*
|
||||
*/
|
||||
/*----------------------------------------------------------------------*/
|
||||
|
||||
|
||||
#include "hbclass.ch"
|
||||
|
||||
|
||||
CREATE CLASS QStyleOptionViewItem INHERIT QStyleOption
|
||||
|
||||
VAR pParent
|
||||
VAR pPtr
|
||||
|
||||
METHOD New()
|
||||
|
||||
METHOD decorationAlignment() INLINE Qt_QStyleOptionViewItem_decorationAlignment( ::pPtr )
|
||||
METHOD decorationPosition() INLINE Qt_QStyleOptionViewItem_decorationPosition( ::pPtr )
|
||||
METHOD decorationSize() INLINE Qt_QStyleOptionViewItem_decorationSize( ::pPtr )
|
||||
METHOD displayAlignment() INLINE Qt_QStyleOptionViewItem_displayAlignment( ::pPtr )
|
||||
METHOD font() INLINE Qt_QStyleOptionViewItem_font( ::pPtr )
|
||||
METHOD showDecorationSelected() INLINE Qt_QStyleOptionViewItem_showDecorationSelected( ::pPtr )
|
||||
METHOD textElideMode() INLINE Qt_QStyleOptionViewItem_textElideMode( ::pPtr )
|
||||
|
||||
ENDCLASS
|
||||
|
||||
/*----------------------------------------------------------------------*/
|
||||
|
||||
METHOD New( pParent ) CLASS QStyleOptionViewItem
|
||||
|
||||
::pParent := pParent
|
||||
|
||||
::pPtr := Qt_QStyleOptionViewItem( pParent )
|
||||
|
||||
RETURN Self
|
||||
|
||||
/*----------------------------------------------------------------------*/
|
||||
|
||||
88
harbour/contrib/hbqt/TQStylePainter.prg
Normal file
88
harbour/contrib/hbqt/TQStylePainter.prg
Normal file
@@ -0,0 +1,88 @@
|
||||
/*
|
||||
* $Id$
|
||||
*/
|
||||
|
||||
/*
|
||||
* Harbour Project source code:
|
||||
* QT wrapper main header
|
||||
*
|
||||
* Copyright 2009 Marcos Antonio Gambeta <marcosgambeta at gmail dot com>
|
||||
* Copyright 2009 Pritpal Bedi <pritpal@vouchcac.com>
|
||||
* www - http://www.harbour-project.org
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation; either version 2, or (at your option)
|
||||
* any later version.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with this software; see the file COPYING. If not, write to
|
||||
* the Free Software Foundation, Inc., 59 Temple Place, Suite 330,
|
||||
* Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/).
|
||||
*
|
||||
* As a special exception, the Harbour Project gives permission for
|
||||
* additional uses of the text contained in its release of Harbour.
|
||||
*
|
||||
* The exception is that, if you link the Harbour libraries with other
|
||||
* files to produce an executable, this does not by itself cause the
|
||||
* resulting executable to be covered by the GNU General Public License.
|
||||
* Your use of that executable is in no way restricted on account of
|
||||
* linking the Harbour library code into it.
|
||||
*
|
||||
* This exception does not however invalidate any other reasons why
|
||||
* the executable file might be covered by the GNU General Public License.
|
||||
*
|
||||
* This exception applies only to the code released by the Harbour
|
||||
* Project under the name Harbour. If you copy code from other
|
||||
* Harbour Project or Free Software Foundation releases into a copy of
|
||||
* Harbour, as the General Public License permits, the exception does
|
||||
* not apply to the code that you add in this way. To avoid misleading
|
||||
* anyone as to the status of such modified files, you must delete
|
||||
* this exception notice from them.
|
||||
*
|
||||
* If you write modifications of your own for Harbour, it is your choice
|
||||
* whether to permit this exception to apply to your modifications.
|
||||
* If you do not wish that, delete this exception notice.
|
||||
*
|
||||
*/
|
||||
/*----------------------------------------------------------------------*/
|
||||
|
||||
|
||||
#include "hbclass.ch"
|
||||
|
||||
|
||||
CREATE CLASS QStylePainter INHERIT QPainter
|
||||
|
||||
VAR pParent
|
||||
VAR pPtr
|
||||
|
||||
METHOD New()
|
||||
|
||||
METHOD begin( pWidget ) INLINE Qt_QStylePainter_begin( ::pPtr, pWidget )
|
||||
METHOD begin_1( pPd, pWidget ) INLINE Qt_QStylePainter_begin_1( ::pPtr, pPd, pWidget )
|
||||
METHOD drawComplexControl( nCc, pOption ) INLINE Qt_QStylePainter_drawComplexControl( ::pPtr, nCc, pOption )
|
||||
METHOD drawControl( nCe, pOption ) INLINE Qt_QStylePainter_drawControl( ::pPtr, nCe, pOption )
|
||||
METHOD drawItemPixmap( pRect, nFlags, pPixmap ) INLINE Qt_QStylePainter_drawItemPixmap( ::pPtr, pRect, nFlags, pPixmap )
|
||||
METHOD drawItemText( pRect, nFlags, pPal, lEnabled, cText, nTextRole ) INLINE Qt_QStylePainter_drawItemText( ::pPtr, pRect, nFlags, pPal, lEnabled, cText, nTextRole )
|
||||
METHOD drawPrimitive( nPe, pOption ) INLINE Qt_QStylePainter_drawPrimitive( ::pPtr, nPe, pOption )
|
||||
METHOD style() INLINE Qt_QStylePainter_style( ::pPtr )
|
||||
|
||||
ENDCLASS
|
||||
|
||||
/*----------------------------------------------------------------------*/
|
||||
|
||||
METHOD New( pParent ) CLASS QStylePainter
|
||||
|
||||
::pParent := pParent
|
||||
|
||||
::pPtr := Qt_QStylePainter( pParent )
|
||||
|
||||
RETURN Self
|
||||
|
||||
/*----------------------------------------------------------------------*/
|
||||
|
||||
@@ -1660,6 +1660,17 @@ STATIC FUNCTION Build_HBQT_H( cPathOut )
|
||||
aadd( txt_, "#define hbqt_par_QStyleOptionMenuItem( n ) ( ( QStyleOptionMenuItem* ) hb_parptr( n ) ) " )
|
||||
aadd( txt_, "#define hbqt_par_QStyleOptionProgressBar( n )( ( QStyleOptionProgressBar* ) hb_parptr( n ) ) " )
|
||||
aadd( txt_, "#define hbqt_par_QStyleOptionSizeGrip( n ) ( ( QStyleOptionSizeGrip* ) hb_parptr( n ) ) " )
|
||||
aadd( txt_, "#define hbqt_par_QStyleOptionSlider( n ) ( ( QStyleOptionSlider* ) hb_parptr( n ) ) " )
|
||||
aadd( txt_, "#define hbqt_par_QStyleOptionSpinBox( n ) ( ( QStyleOptionSpinBox* ) hb_parptr( n ) ) " )
|
||||
aadd( txt_, "#define hbqt_par_QStyleOptionTab( n ) ( ( QStyleOptionTab* ) hb_parptr( n ) ) " )
|
||||
aadd( txt_, "#define hbqt_par_QStyleOptionTabBarBase( n ) ( ( QStyleOptionTabBarBase* ) hb_parptr( n ) ) " )
|
||||
aadd( txt_, "#define hbqt_par_QStyleOptionTabWidgetFrame( n ) ( ( QStyleOptionTabWidgetFrame* ) hb_parptr( n ) )" )
|
||||
aadd( txt_, "#define hbqt_par_QStyleOptionTitleBar( n ) ( ( QStyleOptionTitleBar* ) hb_parptr( n ) ) " )
|
||||
aadd( txt_, "#define hbqt_par_QStyleOptionToolBar( n ) ( ( QStyleOptionToolBar* ) hb_parptr( n ) ) " )
|
||||
aadd( txt_, "#define hbqt_par_QStyleOptionToolBox( n ) ( ( QStyleOptionToolBox* ) hb_parptr( n ) ) " )
|
||||
aadd( txt_, "#define hbqt_par_QStyleOptionToolButton( n ) ( ( QStyleOptionToolButton* ) hb_parptr( n ) ) " )
|
||||
aadd( txt_, "#define hbqt_par_QStyleOptionViewItem( n ) ( ( QStyleOptionViewItem* ) hb_parptr( n ) ) " )
|
||||
aadd( txt_, "#define hbqt_par_QStylePainter( n ) ( ( QStylePainter* ) hb_parptr( n ) ) " )
|
||||
aadd( txt_, " " )
|
||||
aadd( txt_, "#define hbqt_par_QString( n ) ( ( QString ) hb_parc( n ) ) " )
|
||||
aadd( txt_, "#define hbqt_par_QRgb( n ) ( hb_parnint( n ) ) " )
|
||||
|
||||
@@ -115,8 +115,10 @@ QSplitter.qth
|
||||
QStandardItem.qth
|
||||
QStandardItemModel.qth
|
||||
QStatusBar.qth
|
||||
|
||||
QStyle.qth
|
||||
QStyledItemDelegate.qth
|
||||
|
||||
QStyleHintReturn.qth
|
||||
QStyleHintReturnMask.qth
|
||||
QStyleHintReturnVariant.qth
|
||||
@@ -133,6 +135,17 @@ QStyleOptionHeader.qth
|
||||
QStyleOptionMenuItem.qth
|
||||
QStyleOptionProgressBar.qth
|
||||
QStyleOptionSizeGrip.qth
|
||||
QStyleOptionSlider.qth
|
||||
QStyleOptionSpinBox.qth
|
||||
QStyleOptionTab.qth
|
||||
QStyleOptionTabBarBase.qth
|
||||
QStyleOptionWidgetFrame.qth
|
||||
QStyleOptionTitleBar.qth
|
||||
QStyleOptionToolBar.qth
|
||||
QStyleOptionToolBox.qth
|
||||
QStyleOptionToolButton.qth
|
||||
QStyleOptionViewItem.qth
|
||||
QStyleOptionPainter.qth
|
||||
|
||||
QTabBar.qth
|
||||
QTableView.qth
|
||||
|
||||
@@ -293,6 +293,17 @@
|
||||
#define hbqt_par_QStyleOptionMenuItem( n ) ( ( QStyleOptionMenuItem* ) hb_parptr( n ) )
|
||||
#define hbqt_par_QStyleOptionProgressBar( n )( ( QStyleOptionProgressBar* ) hb_parptr( n ) )
|
||||
#define hbqt_par_QStyleOptionSizeGrip( n ) ( ( QStyleOptionSizeGrip* ) hb_parptr( n ) )
|
||||
#define hbqt_par_QStyleOptionSlider( n ) ( ( QStyleOptionSlider* ) hb_parptr( n ) )
|
||||
#define hbqt_par_QStyleOptionSpinBox( n ) ( ( QStyleOptionSpinBox* ) hb_parptr( n ) )
|
||||
#define hbqt_par_QStyleOptionTab( n ) ( ( QStyleOptionTab* ) hb_parptr( n ) )
|
||||
#define hbqt_par_QStyleOptionTabBarBase( n ) ( ( QStyleOptionTabBarBase* ) hb_parptr( n ) )
|
||||
#define hbqt_par_QStyleOptionTabWidgetFrame( n ) ( ( QStyleOptionTabWidgetFrame* ) hb_parptr( n ) )
|
||||
#define hbqt_par_QStyleOptionTitleBar( n ) ( ( QStyleOptionTitleBar* ) hb_parptr( n ) )
|
||||
#define hbqt_par_QStyleOptionToolBar( n ) ( ( QStyleOptionToolBar* ) hb_parptr( n ) )
|
||||
#define hbqt_par_QStyleOptionToolBox( n ) ( ( QStyleOptionToolBox* ) hb_parptr( n ) )
|
||||
#define hbqt_par_QStyleOptionToolButton( n ) ( ( QStyleOptionToolButton* ) hb_parptr( n ) )
|
||||
#define hbqt_par_QStyleOptionViewItem( n ) ( ( QStyleOptionViewItem* ) hb_parptr( n ) )
|
||||
#define hbqt_par_QStylePainter( n ) ( ( QStylePainter* ) hb_parptr( n ) )
|
||||
|
||||
#define hbqt_par_QString( n ) ( ( QString ) hb_parc( n ) )
|
||||
#define hbqt_par_QRgb( n ) ( hb_parnint( n ) )
|
||||
|
||||
175
harbour/contrib/hbqt/hbqt_qstyleoptionslider.cpp
Normal file
175
harbour/contrib/hbqt/hbqt_qstyleoptionslider.cpp
Normal file
@@ -0,0 +1,175 @@
|
||||
/*
|
||||
* $Id$
|
||||
*/
|
||||
|
||||
/*
|
||||
* Harbour Project source code:
|
||||
* QT wrapper main header
|
||||
*
|
||||
* Copyright 2009 Marcos Antonio Gambeta <marcosgambeta at gmail dot com>
|
||||
* Copyright 2009 Pritpal Bedi <pritpal@vouchcac.com>
|
||||
* www - http://www.harbour-project.org
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation; either version 2, or (at your option)
|
||||
* any later version.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with this software; see the file COPYING. If not, write to
|
||||
* the Free Software Foundation, Inc., 59 Temple Place, Suite 330,
|
||||
* Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/).
|
||||
*
|
||||
* As a special exception, the Harbour Project gives permission for
|
||||
* additional uses of the text contained in its release of Harbour.
|
||||
*
|
||||
* The exception is that, if you link the Harbour libraries with other
|
||||
* files to produce an executable, this does not by itself cause the
|
||||
* resulting executable to be covered by the GNU General Public License.
|
||||
* Your use of that executable is in no way restricted on account of
|
||||
* linking the Harbour library code into it.
|
||||
*
|
||||
* This exception does not however invalidate any other reasons why
|
||||
* the executable file might be covered by the GNU General Public License.
|
||||
*
|
||||
* This exception applies only to the code released by the Harbour
|
||||
* Project under the name Harbour. If you copy code from other
|
||||
* Harbour Project or Free Software Foundation releases into a copy of
|
||||
* Harbour, as the General Public License permits, the exception does
|
||||
* not apply to the code that you add in this way. To avoid misleading
|
||||
* anyone as to the status of such modified files, you must delete
|
||||
* this exception notice from them.
|
||||
*
|
||||
* If you write modifications of your own for Harbour, it is your choice
|
||||
* whether to permit this exception to apply to your modifications.
|
||||
* If you do not wish that, delete this exception notice.
|
||||
*
|
||||
*/
|
||||
/*----------------------------------------------------------------------*/
|
||||
|
||||
#include "hbapi.h"
|
||||
#include "hbqt.h"
|
||||
|
||||
/*----------------------------------------------------------------------*/
|
||||
#if QT_VERSION >= 0x040500
|
||||
/*----------------------------------------------------------------------*/
|
||||
|
||||
|
||||
#include <QtGui/QStyleOptionSlider>
|
||||
|
||||
|
||||
/*
|
||||
* QStyleOptionSlider ()
|
||||
* QStyleOptionSlider ( const QStyleOptionSlider & other )
|
||||
*/
|
||||
HB_FUNC( QT_QSTYLEOPTIONSLIDER )
|
||||
{
|
||||
hb_retptr( ( QStyleOptionSlider* ) new QStyleOptionSlider() );
|
||||
}
|
||||
|
||||
/*
|
||||
* bool dialWrapping
|
||||
*/
|
||||
HB_FUNC( QT_QSTYLEOPTIONSLIDER_DIALWRAPPING )
|
||||
{
|
||||
hb_retl( hbqt_par_QStyleOptionSlider( 1 )->dialWrapping );
|
||||
}
|
||||
|
||||
/*
|
||||
* int maximum
|
||||
*/
|
||||
HB_FUNC( QT_QSTYLEOPTIONSLIDER_MAXIMUM )
|
||||
{
|
||||
hb_retni( hbqt_par_QStyleOptionSlider( 1 )->maximum );
|
||||
}
|
||||
|
||||
/*
|
||||
* int minimum
|
||||
*/
|
||||
HB_FUNC( QT_QSTYLEOPTIONSLIDER_MINIMUM )
|
||||
{
|
||||
hb_retni( hbqt_par_QStyleOptionSlider( 1 )->minimum );
|
||||
}
|
||||
|
||||
/*
|
||||
* qreal notchTarget
|
||||
*/
|
||||
HB_FUNC( QT_QSTYLEOPTIONSLIDER_NOTCHTARGET )
|
||||
{
|
||||
hb_retnd( hbqt_par_QStyleOptionSlider( 1 )->notchTarget );
|
||||
}
|
||||
|
||||
/*
|
||||
* Qt::Orientation orientation
|
||||
*/
|
||||
HB_FUNC( QT_QSTYLEOPTIONSLIDER_ORIENTATION )
|
||||
{
|
||||
hb_retni( ( Qt::Orientation ) hbqt_par_QStyleOptionSlider( 1 )->orientation );
|
||||
}
|
||||
|
||||
/*
|
||||
* int pageStep
|
||||
*/
|
||||
HB_FUNC( QT_QSTYLEOPTIONSLIDER_PAGESTEP )
|
||||
{
|
||||
hb_retni( hbqt_par_QStyleOptionSlider( 1 )->pageStep );
|
||||
}
|
||||
|
||||
/*
|
||||
* int singleStep
|
||||
*/
|
||||
HB_FUNC( QT_QSTYLEOPTIONSLIDER_SINGLESTEP )
|
||||
{
|
||||
hb_retni( hbqt_par_QStyleOptionSlider( 1 )->singleStep );
|
||||
}
|
||||
|
||||
/*
|
||||
* int sliderPosition
|
||||
*/
|
||||
HB_FUNC( QT_QSTYLEOPTIONSLIDER_SLIDERPOSITION )
|
||||
{
|
||||
hb_retni( hbqt_par_QStyleOptionSlider( 1 )->sliderPosition );
|
||||
}
|
||||
|
||||
/*
|
||||
* int sliderValue
|
||||
*/
|
||||
HB_FUNC( QT_QSTYLEOPTIONSLIDER_SLIDERVALUE )
|
||||
{
|
||||
hb_retni( hbqt_par_QStyleOptionSlider( 1 )->sliderValue );
|
||||
}
|
||||
|
||||
/*
|
||||
* int tickInterval
|
||||
*/
|
||||
HB_FUNC( QT_QSTYLEOPTIONSLIDER_TICKINTERVAL )
|
||||
{
|
||||
hb_retni( hbqt_par_QStyleOptionSlider( 1 )->tickInterval );
|
||||
}
|
||||
|
||||
/*
|
||||
* QSlider::TickPosition tickPosition
|
||||
*/
|
||||
HB_FUNC( QT_QSTYLEOPTIONSLIDER_TICKPOSITION )
|
||||
{
|
||||
hb_retni( ( QSlider::TickPosition ) hbqt_par_QStyleOptionSlider( 1 )->tickPosition );
|
||||
}
|
||||
|
||||
/*
|
||||
* bool upsideDown
|
||||
*/
|
||||
HB_FUNC( QT_QSTYLEOPTIONSLIDER_UPSIDEDOWN )
|
||||
{
|
||||
hb_retl( hbqt_par_QStyleOptionSlider( 1 )->upsideDown );
|
||||
}
|
||||
|
||||
|
||||
/*----------------------------------------------------------------------*/
|
||||
#endif /* #if QT_VERSION >= 0x040500 */
|
||||
/*----------------------------------------------------------------------*/
|
||||
|
||||
103
harbour/contrib/hbqt/hbqt_qstyleoptionspinbox.cpp
Normal file
103
harbour/contrib/hbqt/hbqt_qstyleoptionspinbox.cpp
Normal file
@@ -0,0 +1,103 @@
|
||||
/*
|
||||
* $Id$
|
||||
*/
|
||||
|
||||
/*
|
||||
* Harbour Project source code:
|
||||
* QT wrapper main header
|
||||
*
|
||||
* Copyright 2009 Marcos Antonio Gambeta <marcosgambeta at gmail dot com>
|
||||
* Copyright 2009 Pritpal Bedi <pritpal@vouchcac.com>
|
||||
* www - http://www.harbour-project.org
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation; either version 2, or (at your option)
|
||||
* any later version.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with this software; see the file COPYING. If not, write to
|
||||
* the Free Software Foundation, Inc., 59 Temple Place, Suite 330,
|
||||
* Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/).
|
||||
*
|
||||
* As a special exception, the Harbour Project gives permission for
|
||||
* additional uses of the text contained in its release of Harbour.
|
||||
*
|
||||
* The exception is that, if you link the Harbour libraries with other
|
||||
* files to produce an executable, this does not by itself cause the
|
||||
* resulting executable to be covered by the GNU General Public License.
|
||||
* Your use of that executable is in no way restricted on account of
|
||||
* linking the Harbour library code into it.
|
||||
*
|
||||
* This exception does not however invalidate any other reasons why
|
||||
* the executable file might be covered by the GNU General Public License.
|
||||
*
|
||||
* This exception applies only to the code released by the Harbour
|
||||
* Project under the name Harbour. If you copy code from other
|
||||
* Harbour Project or Free Software Foundation releases into a copy of
|
||||
* Harbour, as the General Public License permits, the exception does
|
||||
* not apply to the code that you add in this way. To avoid misleading
|
||||
* anyone as to the status of such modified files, you must delete
|
||||
* this exception notice from them.
|
||||
*
|
||||
* If you write modifications of your own for Harbour, it is your choice
|
||||
* whether to permit this exception to apply to your modifications.
|
||||
* If you do not wish that, delete this exception notice.
|
||||
*
|
||||
*/
|
||||
/*----------------------------------------------------------------------*/
|
||||
|
||||
#include "hbapi.h"
|
||||
#include "hbqt.h"
|
||||
|
||||
/*----------------------------------------------------------------------*/
|
||||
#if QT_VERSION >= 0x040500
|
||||
/*----------------------------------------------------------------------*/
|
||||
|
||||
|
||||
#include <QtGui/QStyleOptionSpinBox>
|
||||
|
||||
|
||||
/*
|
||||
* QStyleOptionSpinBox ()
|
||||
* QStyleOptionSpinBox ( const QStyleOptionSpinBox & other )
|
||||
*/
|
||||
HB_FUNC( QT_QSTYLEOPTIONSPINBOX )
|
||||
{
|
||||
hb_retptr( ( QStyleOptionSpinBox* ) new QStyleOptionSpinBox() );
|
||||
}
|
||||
|
||||
/*
|
||||
* QAbstractSpinBox::ButtonSymbols buttonSymbols
|
||||
*/
|
||||
HB_FUNC( QT_QSTYLEOPTIONSPINBOX_BUTTONSYMBOLS )
|
||||
{
|
||||
hb_retni( ( QAbstractSpinBox::ButtonSymbols ) hbqt_par_QStyleOptionSpinBox( 1 )->buttonSymbols );
|
||||
}
|
||||
|
||||
/*
|
||||
* bool frame
|
||||
*/
|
||||
HB_FUNC( QT_QSTYLEOPTIONSPINBOX_FRAME )
|
||||
{
|
||||
hb_retl( hbqt_par_QStyleOptionSpinBox( 1 )->frame );
|
||||
}
|
||||
|
||||
/*
|
||||
* QAbstractSpinBox::StepEnabled stepEnabled
|
||||
*/
|
||||
HB_FUNC( QT_QSTYLEOPTIONSPINBOX_STEPENABLED )
|
||||
{
|
||||
hb_retni( ( QAbstractSpinBox::StepEnabled ) hbqt_par_QStyleOptionSpinBox( 1 )->stepEnabled );
|
||||
}
|
||||
|
||||
|
||||
/*----------------------------------------------------------------------*/
|
||||
#endif /* #if QT_VERSION >= 0x040500 */
|
||||
/*----------------------------------------------------------------------*/
|
||||
|
||||
135
harbour/contrib/hbqt/hbqt_qstyleoptiontab.cpp
Normal file
135
harbour/contrib/hbqt/hbqt_qstyleoptiontab.cpp
Normal file
@@ -0,0 +1,135 @@
|
||||
/*
|
||||
* $Id$
|
||||
*/
|
||||
|
||||
/*
|
||||
* Harbour Project source code:
|
||||
* QT wrapper main header
|
||||
*
|
||||
* Copyright 2009 Marcos Antonio Gambeta <marcosgambeta at gmail dot com>
|
||||
* Copyright 2009 Pritpal Bedi <pritpal@vouchcac.com>
|
||||
* www - http://www.harbour-project.org
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation; either version 2, or (at your option)
|
||||
* any later version.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with this software; see the file COPYING. If not, write to
|
||||
* the Free Software Foundation, Inc., 59 Temple Place, Suite 330,
|
||||
* Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/).
|
||||
*
|
||||
* As a special exception, the Harbour Project gives permission for
|
||||
* additional uses of the text contained in its release of Harbour.
|
||||
*
|
||||
* The exception is that, if you link the Harbour libraries with other
|
||||
* files to produce an executable, this does not by itself cause the
|
||||
* resulting executable to be covered by the GNU General Public License.
|
||||
* Your use of that executable is in no way restricted on account of
|
||||
* linking the Harbour library code into it.
|
||||
*
|
||||
* This exception does not however invalidate any other reasons why
|
||||
* the executable file might be covered by the GNU General Public License.
|
||||
*
|
||||
* This exception applies only to the code released by the Harbour
|
||||
* Project under the name Harbour. If you copy code from other
|
||||
* Harbour Project or Free Software Foundation releases into a copy of
|
||||
* Harbour, as the General Public License permits, the exception does
|
||||
* not apply to the code that you add in this way. To avoid misleading
|
||||
* anyone as to the status of such modified files, you must delete
|
||||
* this exception notice from them.
|
||||
*
|
||||
* If you write modifications of your own for Harbour, it is your choice
|
||||
* whether to permit this exception to apply to your modifications.
|
||||
* If you do not wish that, delete this exception notice.
|
||||
*
|
||||
*/
|
||||
/*----------------------------------------------------------------------*/
|
||||
|
||||
#include "hbapi.h"
|
||||
#include "hbqt.h"
|
||||
|
||||
/*----------------------------------------------------------------------*/
|
||||
#if QT_VERSION >= 0x040500
|
||||
/*----------------------------------------------------------------------*/
|
||||
|
||||
|
||||
#include <QtGui/QStyleOptionTab>
|
||||
|
||||
|
||||
/*
|
||||
* QStyleOptionTab ()
|
||||
* QStyleOptionTab ( const QStyleOptionTab & other )
|
||||
*/
|
||||
HB_FUNC( QT_QSTYLEOPTIONTAB )
|
||||
{
|
||||
hb_retptr( ( QStyleOptionTab* ) new QStyleOptionTab() );
|
||||
}
|
||||
|
||||
/*
|
||||
* CornerWidgets cornerWidgets
|
||||
*/
|
||||
HB_FUNC( QT_QSTYLEOPTIONTAB_CORNERWIDGETS )
|
||||
{
|
||||
hb_retni( ( QStyleOptionTab::CornerWidgets ) hbqt_par_QStyleOptionTab( 1 )->cornerWidgets );
|
||||
}
|
||||
|
||||
/*
|
||||
* QIcon icon
|
||||
*/
|
||||
HB_FUNC( QT_QSTYLEOPTIONTAB_ICON )
|
||||
{
|
||||
hb_retptr( new QIcon( hbqt_par_QStyleOptionTab( 1 )->icon ) );
|
||||
}
|
||||
|
||||
/*
|
||||
* TabPosition position
|
||||
*/
|
||||
HB_FUNC( QT_QSTYLEOPTIONTAB_POSITION )
|
||||
{
|
||||
hb_retni( ( QStyleOptionTab::TabPosition ) hbqt_par_QStyleOptionTab( 1 )->position );
|
||||
}
|
||||
|
||||
/*
|
||||
* int row
|
||||
*/
|
||||
HB_FUNC( QT_QSTYLEOPTIONTAB_ROW )
|
||||
{
|
||||
hb_retni( hbqt_par_QStyleOptionTab( 1 )->row );
|
||||
}
|
||||
|
||||
/*
|
||||
* SelectedPosition selectedPosition
|
||||
*/
|
||||
HB_FUNC( QT_QSTYLEOPTIONTAB_SELECTEDPOSITION )
|
||||
{
|
||||
hb_retni( ( QStyleOptionTab::SelectedPosition ) hbqt_par_QStyleOptionTab( 1 )->selectedPosition );
|
||||
}
|
||||
|
||||
/*
|
||||
* QTabBar::Shape shape
|
||||
*/
|
||||
HB_FUNC( QT_QSTYLEOPTIONTAB_SHAPE )
|
||||
{
|
||||
hb_retni( ( QTabBar::Shape ) hbqt_par_QStyleOptionTab( 1 )->shape );
|
||||
}
|
||||
|
||||
/*
|
||||
* QString text
|
||||
*/
|
||||
HB_FUNC( QT_QSTYLEOPTIONTAB_TEXT )
|
||||
{
|
||||
hb_retc( hbqt_par_QStyleOptionTab( 1 )->text.toLatin1().data() );
|
||||
}
|
||||
|
||||
|
||||
/*----------------------------------------------------------------------*/
|
||||
#endif /* #if QT_VERSION >= 0x040500 */
|
||||
/*----------------------------------------------------------------------*/
|
||||
|
||||
103
harbour/contrib/hbqt/hbqt_qstyleoptiontabbarbase.cpp
Normal file
103
harbour/contrib/hbqt/hbqt_qstyleoptiontabbarbase.cpp
Normal file
@@ -0,0 +1,103 @@
|
||||
/*
|
||||
* $Id$
|
||||
*/
|
||||
|
||||
/*
|
||||
* Harbour Project source code:
|
||||
* QT wrapper main header
|
||||
*
|
||||
* Copyright 2009 Marcos Antonio Gambeta <marcosgambeta at gmail dot com>
|
||||
* Copyright 2009 Pritpal Bedi <pritpal@vouchcac.com>
|
||||
* www - http://www.harbour-project.org
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation; either version 2, or (at your option)
|
||||
* any later version.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with this software; see the file COPYING. If not, write to
|
||||
* the Free Software Foundation, Inc., 59 Temple Place, Suite 330,
|
||||
* Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/).
|
||||
*
|
||||
* As a special exception, the Harbour Project gives permission for
|
||||
* additional uses of the text contained in its release of Harbour.
|
||||
*
|
||||
* The exception is that, if you link the Harbour libraries with other
|
||||
* files to produce an executable, this does not by itself cause the
|
||||
* resulting executable to be covered by the GNU General Public License.
|
||||
* Your use of that executable is in no way restricted on account of
|
||||
* linking the Harbour library code into it.
|
||||
*
|
||||
* This exception does not however invalidate any other reasons why
|
||||
* the executable file might be covered by the GNU General Public License.
|
||||
*
|
||||
* This exception applies only to the code released by the Harbour
|
||||
* Project under the name Harbour. If you copy code from other
|
||||
* Harbour Project or Free Software Foundation releases into a copy of
|
||||
* Harbour, as the General Public License permits, the exception does
|
||||
* not apply to the code that you add in this way. To avoid misleading
|
||||
* anyone as to the status of such modified files, you must delete
|
||||
* this exception notice from them.
|
||||
*
|
||||
* If you write modifications of your own for Harbour, it is your choice
|
||||
* whether to permit this exception to apply to your modifications.
|
||||
* If you do not wish that, delete this exception notice.
|
||||
*
|
||||
*/
|
||||
/*----------------------------------------------------------------------*/
|
||||
|
||||
#include "hbapi.h"
|
||||
#include "hbqt.h"
|
||||
|
||||
/*----------------------------------------------------------------------*/
|
||||
#if QT_VERSION >= 0x040500
|
||||
/*----------------------------------------------------------------------*/
|
||||
|
||||
|
||||
#include <QtGui/QStyleOptionTabBarBase>
|
||||
|
||||
|
||||
/*
|
||||
* QStyleOptionTabBarBase ()
|
||||
* QStyleOptionTabBarBase ( const QStyleOptionTabBarBase & other )
|
||||
*/
|
||||
HB_FUNC( QT_QSTYLEOPTIONTABBARBASE )
|
||||
{
|
||||
hb_retptr( ( QStyleOptionTabBarBase* ) new QStyleOptionTabBarBase() );
|
||||
}
|
||||
|
||||
/*
|
||||
* QRect selectedTabRect
|
||||
*/
|
||||
HB_FUNC( QT_QSTYLEOPTIONTABBARBASE_SELECTEDTABRECT )
|
||||
{
|
||||
hb_retptr( new QRect( hbqt_par_QStyleOptionTabBarBase( 1 )->selectedTabRect ) );
|
||||
}
|
||||
|
||||
/*
|
||||
* QTabBar::Shape shape
|
||||
*/
|
||||
HB_FUNC( QT_QSTYLEOPTIONTABBARBASE_SHAPE )
|
||||
{
|
||||
hb_retni( ( QTabBar::Shape ) hbqt_par_QStyleOptionTabBarBase( 1 )->shape );
|
||||
}
|
||||
|
||||
/*
|
||||
* QRect tabBarRect
|
||||
*/
|
||||
HB_FUNC( QT_QSTYLEOPTIONTABBARBASE_TABBARRECT )
|
||||
{
|
||||
hb_retptr( new QRect( hbqt_par_QStyleOptionTabBarBase( 1 )->tabBarRect ) );
|
||||
}
|
||||
|
||||
|
||||
/*----------------------------------------------------------------------*/
|
||||
#endif /* #if QT_VERSION >= 0x040500 */
|
||||
/*----------------------------------------------------------------------*/
|
||||
|
||||
127
harbour/contrib/hbqt/hbqt_qstyleoptiontabwidgetframe.cpp
Normal file
127
harbour/contrib/hbqt/hbqt_qstyleoptiontabwidgetframe.cpp
Normal file
@@ -0,0 +1,127 @@
|
||||
/*
|
||||
* $Id$
|
||||
*/
|
||||
|
||||
/*
|
||||
* Harbour Project source code:
|
||||
* QT wrapper main header
|
||||
*
|
||||
* Copyright 2009 Marcos Antonio Gambeta <marcosgambeta at gmail dot com>
|
||||
* Copyright 2009 Pritpal Bedi <pritpal@vouchcac.com>
|
||||
* www - http://www.harbour-project.org
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation; either version 2, or (at your option)
|
||||
* any later version.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with this software; see the file COPYING. If not, write to
|
||||
* the Free Software Foundation, Inc., 59 Temple Place, Suite 330,
|
||||
* Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/).
|
||||
*
|
||||
* As a special exception, the Harbour Project gives permission for
|
||||
* additional uses of the text contained in its release of Harbour.
|
||||
*
|
||||
* The exception is that, if you link the Harbour libraries with other
|
||||
* files to produce an executable, this does not by itself cause the
|
||||
* resulting executable to be covered by the GNU General Public License.
|
||||
* Your use of that executable is in no way restricted on account of
|
||||
* linking the Harbour library code into it.
|
||||
*
|
||||
* This exception does not however invalidate any other reasons why
|
||||
* the executable file might be covered by the GNU General Public License.
|
||||
*
|
||||
* This exception applies only to the code released by the Harbour
|
||||
* Project under the name Harbour. If you copy code from other
|
||||
* Harbour Project or Free Software Foundation releases into a copy of
|
||||
* Harbour, as the General Public License permits, the exception does
|
||||
* not apply to the code that you add in this way. To avoid misleading
|
||||
* anyone as to the status of such modified files, you must delete
|
||||
* this exception notice from them.
|
||||
*
|
||||
* If you write modifications of your own for Harbour, it is your choice
|
||||
* whether to permit this exception to apply to your modifications.
|
||||
* If you do not wish that, delete this exception notice.
|
||||
*
|
||||
*/
|
||||
/*----------------------------------------------------------------------*/
|
||||
|
||||
#include "hbapi.h"
|
||||
#include "hbqt.h"
|
||||
|
||||
/*----------------------------------------------------------------------*/
|
||||
#if QT_VERSION >= 0x040500
|
||||
/*----------------------------------------------------------------------*/
|
||||
|
||||
|
||||
#include <QtGui/QStyleOptionTabWidgetFrame>
|
||||
|
||||
|
||||
/*
|
||||
* QStyleOptionTabWidgetFrame ()
|
||||
* QStyleOptionTabWidgetFrame ( const QStyleOptionTabWidgetFrame & other )
|
||||
*/
|
||||
HB_FUNC( QT_QSTYLEOPTIONTABWIDGETFRAME )
|
||||
{
|
||||
hb_retptr( ( QStyleOptionTabWidgetFrame* ) new QStyleOptionTabWidgetFrame() );
|
||||
}
|
||||
|
||||
/*
|
||||
* QSize leftCornerWidgetSize
|
||||
*/
|
||||
HB_FUNC( QT_QSTYLEOPTIONTABWIDGETFRAME_LEFTCORNERWIDGETSIZE )
|
||||
{
|
||||
hb_retptr( new QSize( hbqt_par_QStyleOptionTabWidgetFrame( 1 )->leftCornerWidgetSize ) );
|
||||
}
|
||||
|
||||
/*
|
||||
* int lineWidth
|
||||
*/
|
||||
HB_FUNC( QT_QSTYLEOPTIONTABWIDGETFRAME_LINEWIDTH )
|
||||
{
|
||||
hb_retni( hbqt_par_QStyleOptionTabWidgetFrame( 1 )->lineWidth );
|
||||
}
|
||||
|
||||
/*
|
||||
* int midLineWidth
|
||||
*/
|
||||
HB_FUNC( QT_QSTYLEOPTIONTABWIDGETFRAME_MIDLINEWIDTH )
|
||||
{
|
||||
hb_retni( hbqt_par_QStyleOptionTabWidgetFrame( 1 )->midLineWidth );
|
||||
}
|
||||
|
||||
/*
|
||||
* QSize rightCornerWidgetSize
|
||||
*/
|
||||
HB_FUNC( QT_QSTYLEOPTIONTABWIDGETFRAME_RIGHTCORNERWIDGETSIZE )
|
||||
{
|
||||
hb_retptr( new QSize( hbqt_par_QStyleOptionTabWidgetFrame( 1 )->rightCornerWidgetSize ) );
|
||||
}
|
||||
|
||||
/*
|
||||
* QTabBar::Shape shape
|
||||
*/
|
||||
HB_FUNC( QT_QSTYLEOPTIONTABWIDGETFRAME_SHAPE )
|
||||
{
|
||||
hb_retni( ( QTabBar::Shape ) hbqt_par_QStyleOptionTabWidgetFrame( 1 )->shape );
|
||||
}
|
||||
|
||||
/*
|
||||
* QSize tabBarSize
|
||||
*/
|
||||
HB_FUNC( QT_QSTYLEOPTIONTABWIDGETFRAME_TABBARSIZE )
|
||||
{
|
||||
hb_retptr( new QSize( hbqt_par_QStyleOptionTabWidgetFrame( 1 )->tabBarSize ) );
|
||||
}
|
||||
|
||||
|
||||
/*----------------------------------------------------------------------*/
|
||||
#endif /* #if QT_VERSION >= 0x040500 */
|
||||
/*----------------------------------------------------------------------*/
|
||||
|
||||
111
harbour/contrib/hbqt/hbqt_qstyleoptiontitlebar.cpp
Normal file
111
harbour/contrib/hbqt/hbqt_qstyleoptiontitlebar.cpp
Normal file
@@ -0,0 +1,111 @@
|
||||
/*
|
||||
* $Id$
|
||||
*/
|
||||
|
||||
/*
|
||||
* Harbour Project source code:
|
||||
* QT wrapper main header
|
||||
*
|
||||
* Copyright 2009 Marcos Antonio Gambeta <marcosgambeta at gmail dot com>
|
||||
* Copyright 2009 Pritpal Bedi <pritpal@vouchcac.com>
|
||||
* www - http://www.harbour-project.org
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation; either version 2, or (at your option)
|
||||
* any later version.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with this software; see the file COPYING. If not, write to
|
||||
* the Free Software Foundation, Inc., 59 Temple Place, Suite 330,
|
||||
* Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/).
|
||||
*
|
||||
* As a special exception, the Harbour Project gives permission for
|
||||
* additional uses of the text contained in its release of Harbour.
|
||||
*
|
||||
* The exception is that, if you link the Harbour libraries with other
|
||||
* files to produce an executable, this does not by itself cause the
|
||||
* resulting executable to be covered by the GNU General Public License.
|
||||
* Your use of that executable is in no way restricted on account of
|
||||
* linking the Harbour library code into it.
|
||||
*
|
||||
* This exception does not however invalidate any other reasons why
|
||||
* the executable file might be covered by the GNU General Public License.
|
||||
*
|
||||
* This exception applies only to the code released by the Harbour
|
||||
* Project under the name Harbour. If you copy code from other
|
||||
* Harbour Project or Free Software Foundation releases into a copy of
|
||||
* Harbour, as the General Public License permits, the exception does
|
||||
* not apply to the code that you add in this way. To avoid misleading
|
||||
* anyone as to the status of such modified files, you must delete
|
||||
* this exception notice from them.
|
||||
*
|
||||
* If you write modifications of your own for Harbour, it is your choice
|
||||
* whether to permit this exception to apply to your modifications.
|
||||
* If you do not wish that, delete this exception notice.
|
||||
*
|
||||
*/
|
||||
/*----------------------------------------------------------------------*/
|
||||
|
||||
#include "hbapi.h"
|
||||
#include "hbqt.h"
|
||||
|
||||
/*----------------------------------------------------------------------*/
|
||||
#if QT_VERSION >= 0x040500
|
||||
/*----------------------------------------------------------------------*/
|
||||
|
||||
|
||||
#include <QtGui/QStyleOptionTitleBar>
|
||||
|
||||
|
||||
/*
|
||||
* QStyleOptionTitleBar ()
|
||||
* QStyleOptionTitleBar ( const QStyleOptionTitleBar & other )
|
||||
*/
|
||||
HB_FUNC( QT_QSTYLEOPTIONTITLEBAR )
|
||||
{
|
||||
hb_retptr( ( QStyleOptionTitleBar* ) new QStyleOptionTitleBar() );
|
||||
}
|
||||
|
||||
/*
|
||||
* QIcon icon
|
||||
*/
|
||||
HB_FUNC( QT_QSTYLEOPTIONTITLEBAR_ICON )
|
||||
{
|
||||
hb_retptr( new QIcon( hbqt_par_QStyleOptionTitleBar( 1 )->icon ) );
|
||||
}
|
||||
|
||||
/*
|
||||
* QString text
|
||||
*/
|
||||
HB_FUNC( QT_QSTYLEOPTIONTITLEBAR_TEXT )
|
||||
{
|
||||
hb_retc( hbqt_par_QStyleOptionTitleBar( 1 )->text.toLatin1().data() );
|
||||
}
|
||||
|
||||
/*
|
||||
* Qt::WindowFlags titleBarFlags
|
||||
*/
|
||||
HB_FUNC( QT_QSTYLEOPTIONTITLEBAR_TITLEBARFLAGS )
|
||||
{
|
||||
hb_retni( ( Qt::WindowFlags ) hbqt_par_QStyleOptionTitleBar( 1 )->titleBarFlags );
|
||||
}
|
||||
|
||||
/*
|
||||
* int titleBarState
|
||||
*/
|
||||
HB_FUNC( QT_QSTYLEOPTIONTITLEBAR_TITLEBARSTATE )
|
||||
{
|
||||
hb_retni( hbqt_par_QStyleOptionTitleBar( 1 )->titleBarState );
|
||||
}
|
||||
|
||||
|
||||
/*----------------------------------------------------------------------*/
|
||||
#endif /* #if QT_VERSION >= 0x040500 */
|
||||
/*----------------------------------------------------------------------*/
|
||||
|
||||
127
harbour/contrib/hbqt/hbqt_qstyleoptiontoolbar.cpp
Normal file
127
harbour/contrib/hbqt/hbqt_qstyleoptiontoolbar.cpp
Normal file
@@ -0,0 +1,127 @@
|
||||
/*
|
||||
* $Id$
|
||||
*/
|
||||
|
||||
/*
|
||||
* Harbour Project source code:
|
||||
* QT wrapper main header
|
||||
*
|
||||
* Copyright 2009 Marcos Antonio Gambeta <marcosgambeta at gmail dot com>
|
||||
* Copyright 2009 Pritpal Bedi <pritpal@vouchcac.com>
|
||||
* www - http://www.harbour-project.org
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation; either version 2, or (at your option)
|
||||
* any later version.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with this software; see the file COPYING. If not, write to
|
||||
* the Free Software Foundation, Inc., 59 Temple Place, Suite 330,
|
||||
* Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/).
|
||||
*
|
||||
* As a special exception, the Harbour Project gives permission for
|
||||
* additional uses of the text contained in its release of Harbour.
|
||||
*
|
||||
* The exception is that, if you link the Harbour libraries with other
|
||||
* files to produce an executable, this does not by itself cause the
|
||||
* resulting executable to be covered by the GNU General Public License.
|
||||
* Your use of that executable is in no way restricted on account of
|
||||
* linking the Harbour library code into it.
|
||||
*
|
||||
* This exception does not however invalidate any other reasons why
|
||||
* the executable file might be covered by the GNU General Public License.
|
||||
*
|
||||
* This exception applies only to the code released by the Harbour
|
||||
* Project under the name Harbour. If you copy code from other
|
||||
* Harbour Project or Free Software Foundation releases into a copy of
|
||||
* Harbour, as the General Public License permits, the exception does
|
||||
* not apply to the code that you add in this way. To avoid misleading
|
||||
* anyone as to the status of such modified files, you must delete
|
||||
* this exception notice from them.
|
||||
*
|
||||
* If you write modifications of your own for Harbour, it is your choice
|
||||
* whether to permit this exception to apply to your modifications.
|
||||
* If you do not wish that, delete this exception notice.
|
||||
*
|
||||
*/
|
||||
/*----------------------------------------------------------------------*/
|
||||
|
||||
#include "hbapi.h"
|
||||
#include "hbqt.h"
|
||||
|
||||
/*----------------------------------------------------------------------*/
|
||||
#if QT_VERSION >= 0x040500
|
||||
/*----------------------------------------------------------------------*/
|
||||
|
||||
|
||||
#include <QtGui/QStyleOptionToolBar>
|
||||
|
||||
|
||||
/*
|
||||
* QStyleOptionToolBar ()
|
||||
* QStyleOptionToolBar ( const QStyleOptionToolBar & other )
|
||||
*/
|
||||
HB_FUNC( QT_QSTYLEOPTIONTOOLBAR )
|
||||
{
|
||||
hb_retptr( ( QStyleOptionToolBar* ) new QStyleOptionToolBar() );
|
||||
}
|
||||
|
||||
/*
|
||||
* ToolBarFeatures features
|
||||
*/
|
||||
HB_FUNC( QT_QSTYLEOPTIONTOOLBAR_FEATURES )
|
||||
{
|
||||
hb_retni( ( QStyleOptionToolBar::ToolBarFeatures ) hbqt_par_QStyleOptionToolBar( 1 )->features );
|
||||
}
|
||||
|
||||
/*
|
||||
* int lineWidth
|
||||
*/
|
||||
HB_FUNC( QT_QSTYLEOPTIONTOOLBAR_LINEWIDTH )
|
||||
{
|
||||
hb_retni( hbqt_par_QStyleOptionToolBar( 1 )->lineWidth );
|
||||
}
|
||||
|
||||
/*
|
||||
* int midLineWidth
|
||||
*/
|
||||
HB_FUNC( QT_QSTYLEOPTIONTOOLBAR_MIDLINEWIDTH )
|
||||
{
|
||||
hb_retni( hbqt_par_QStyleOptionToolBar( 1 )->midLineWidth );
|
||||
}
|
||||
|
||||
/*
|
||||
* ToolBarPosition positionOfLine
|
||||
*/
|
||||
HB_FUNC( QT_QSTYLEOPTIONTOOLBAR_POSITIONOFLINE )
|
||||
{
|
||||
hb_retni( ( QStyleOptionToolBar::ToolBarPosition ) hbqt_par_QStyleOptionToolBar( 1 )->positionOfLine );
|
||||
}
|
||||
|
||||
/*
|
||||
* ToolBarPosition positionWithinLine
|
||||
*/
|
||||
HB_FUNC( QT_QSTYLEOPTIONTOOLBAR_POSITIONWITHINLINE )
|
||||
{
|
||||
hb_retni( ( QStyleOptionToolBar::ToolBarPosition ) hbqt_par_QStyleOptionToolBar( 1 )->positionWithinLine );
|
||||
}
|
||||
|
||||
/*
|
||||
* Qt::ToolBarArea toolBarArea
|
||||
*/
|
||||
HB_FUNC( QT_QSTYLEOPTIONTOOLBAR_TOOLBARAREA )
|
||||
{
|
||||
hb_retni( ( Qt::ToolBarArea ) hbqt_par_QStyleOptionToolBar( 1 )->toolBarArea );
|
||||
}
|
||||
|
||||
|
||||
/*----------------------------------------------------------------------*/
|
||||
#endif /* #if QT_VERSION >= 0x040500 */
|
||||
/*----------------------------------------------------------------------*/
|
||||
|
||||
95
harbour/contrib/hbqt/hbqt_qstyleoptiontoolbox.cpp
Normal file
95
harbour/contrib/hbqt/hbqt_qstyleoptiontoolbox.cpp
Normal file
@@ -0,0 +1,95 @@
|
||||
/*
|
||||
* $Id$
|
||||
*/
|
||||
|
||||
/*
|
||||
* Harbour Project source code:
|
||||
* QT wrapper main header
|
||||
*
|
||||
* Copyright 2009 Marcos Antonio Gambeta <marcosgambeta at gmail dot com>
|
||||
* Copyright 2009 Pritpal Bedi <pritpal@vouchcac.com>
|
||||
* www - http://www.harbour-project.org
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation; either version 2, or (at your option)
|
||||
* any later version.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with this software; see the file COPYING. If not, write to
|
||||
* the Free Software Foundation, Inc., 59 Temple Place, Suite 330,
|
||||
* Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/).
|
||||
*
|
||||
* As a special exception, the Harbour Project gives permission for
|
||||
* additional uses of the text contained in its release of Harbour.
|
||||
*
|
||||
* The exception is that, if you link the Harbour libraries with other
|
||||
* files to produce an executable, this does not by itself cause the
|
||||
* resulting executable to be covered by the GNU General Public License.
|
||||
* Your use of that executable is in no way restricted on account of
|
||||
* linking the Harbour library code into it.
|
||||
*
|
||||
* This exception does not however invalidate any other reasons why
|
||||
* the executable file might be covered by the GNU General Public License.
|
||||
*
|
||||
* This exception applies only to the code released by the Harbour
|
||||
* Project under the name Harbour. If you copy code from other
|
||||
* Harbour Project or Free Software Foundation releases into a copy of
|
||||
* Harbour, as the General Public License permits, the exception does
|
||||
* not apply to the code that you add in this way. To avoid misleading
|
||||
* anyone as to the status of such modified files, you must delete
|
||||
* this exception notice from them.
|
||||
*
|
||||
* If you write modifications of your own for Harbour, it is your choice
|
||||
* whether to permit this exception to apply to your modifications.
|
||||
* If you do not wish that, delete this exception notice.
|
||||
*
|
||||
*/
|
||||
/*----------------------------------------------------------------------*/
|
||||
|
||||
#include "hbapi.h"
|
||||
#include "hbqt.h"
|
||||
|
||||
/*----------------------------------------------------------------------*/
|
||||
#if QT_VERSION >= 0x040500
|
||||
/*----------------------------------------------------------------------*/
|
||||
|
||||
|
||||
#include <QtGui/QStyleOptionToolBox>
|
||||
|
||||
|
||||
/*
|
||||
* QStyleOptionToolBox ()
|
||||
* QStyleOptionToolBox ( const QStyleOptionToolBox & other )
|
||||
*/
|
||||
HB_FUNC( QT_QSTYLEOPTIONTOOLBOX )
|
||||
{
|
||||
hb_retptr( ( QStyleOptionToolBox* ) new QStyleOptionToolBox() );
|
||||
}
|
||||
|
||||
/*
|
||||
* QIcon icon
|
||||
*/
|
||||
HB_FUNC( QT_QSTYLEOPTIONTOOLBOX_ICON )
|
||||
{
|
||||
hb_retptr( new QIcon( hbqt_par_QStyleOptionToolBox( 1 )->icon ) );
|
||||
}
|
||||
|
||||
/*
|
||||
* QString text
|
||||
*/
|
||||
HB_FUNC( QT_QSTYLEOPTIONTOOLBOX_TEXT )
|
||||
{
|
||||
hb_retc( hbqt_par_QStyleOptionToolBox( 1 )->text.toLatin1().data() );
|
||||
}
|
||||
|
||||
|
||||
/*----------------------------------------------------------------------*/
|
||||
#endif /* #if QT_VERSION >= 0x040500 */
|
||||
/*----------------------------------------------------------------------*/
|
||||
|
||||
143
harbour/contrib/hbqt/hbqt_qstyleoptiontoolbutton.cpp
Normal file
143
harbour/contrib/hbqt/hbqt_qstyleoptiontoolbutton.cpp
Normal file
@@ -0,0 +1,143 @@
|
||||
/*
|
||||
* $Id$
|
||||
*/
|
||||
|
||||
/*
|
||||
* Harbour Project source code:
|
||||
* QT wrapper main header
|
||||
*
|
||||
* Copyright 2009 Marcos Antonio Gambeta <marcosgambeta at gmail dot com>
|
||||
* Copyright 2009 Pritpal Bedi <pritpal@vouchcac.com>
|
||||
* www - http://www.harbour-project.org
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation; either version 2, or (at your option)
|
||||
* any later version.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with this software; see the file COPYING. If not, write to
|
||||
* the Free Software Foundation, Inc., 59 Temple Place, Suite 330,
|
||||
* Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/).
|
||||
*
|
||||
* As a special exception, the Harbour Project gives permission for
|
||||
* additional uses of the text contained in its release of Harbour.
|
||||
*
|
||||
* The exception is that, if you link the Harbour libraries with other
|
||||
* files to produce an executable, this does not by itself cause the
|
||||
* resulting executable to be covered by the GNU General Public License.
|
||||
* Your use of that executable is in no way restricted on account of
|
||||
* linking the Harbour library code into it.
|
||||
*
|
||||
* This exception does not however invalidate any other reasons why
|
||||
* the executable file might be covered by the GNU General Public License.
|
||||
*
|
||||
* This exception applies only to the code released by the Harbour
|
||||
* Project under the name Harbour. If you copy code from other
|
||||
* Harbour Project or Free Software Foundation releases into a copy of
|
||||
* Harbour, as the General Public License permits, the exception does
|
||||
* not apply to the code that you add in this way. To avoid misleading
|
||||
* anyone as to the status of such modified files, you must delete
|
||||
* this exception notice from them.
|
||||
*
|
||||
* If you write modifications of your own for Harbour, it is your choice
|
||||
* whether to permit this exception to apply to your modifications.
|
||||
* If you do not wish that, delete this exception notice.
|
||||
*
|
||||
*/
|
||||
/*----------------------------------------------------------------------*/
|
||||
|
||||
#include "hbapi.h"
|
||||
#include "hbqt.h"
|
||||
|
||||
/*----------------------------------------------------------------------*/
|
||||
#if QT_VERSION >= 0x040500
|
||||
/*----------------------------------------------------------------------*/
|
||||
|
||||
|
||||
#include <QtGui/QStyleOptionToolButton>
|
||||
|
||||
|
||||
/*
|
||||
* QStyleOptionToolButton ()
|
||||
* QStyleOptionToolButton ( const QStyleOptionToolButton & other )
|
||||
*/
|
||||
HB_FUNC( QT_QSTYLEOPTIONTOOLBUTTON )
|
||||
{
|
||||
hb_retptr( ( QStyleOptionToolButton* ) new QStyleOptionToolButton() );
|
||||
}
|
||||
|
||||
/*
|
||||
* Qt::ArrowType arrowType
|
||||
*/
|
||||
HB_FUNC( QT_QSTYLEOPTIONTOOLBUTTON_ARROWTYPE )
|
||||
{
|
||||
hb_retni( ( Qt::ArrowType ) hbqt_par_QStyleOptionToolButton( 1 )->arrowType );
|
||||
}
|
||||
|
||||
/*
|
||||
* ToolButtonFeatures features
|
||||
*/
|
||||
HB_FUNC( QT_QSTYLEOPTIONTOOLBUTTON_FEATURES )
|
||||
{
|
||||
hb_retni( ( QStyleOptionToolButton::ToolButtonFeatures ) hbqt_par_QStyleOptionToolButton( 1 )->features );
|
||||
}
|
||||
|
||||
/*
|
||||
* QFont font
|
||||
*/
|
||||
HB_FUNC( QT_QSTYLEOPTIONTOOLBUTTON_FONT )
|
||||
{
|
||||
hb_retptr( new QFont( hbqt_par_QStyleOptionToolButton( 1 )->font ) );
|
||||
}
|
||||
|
||||
/*
|
||||
* QIcon icon
|
||||
*/
|
||||
HB_FUNC( QT_QSTYLEOPTIONTOOLBUTTON_ICON )
|
||||
{
|
||||
hb_retptr( new QIcon( hbqt_par_QStyleOptionToolButton( 1 )->icon ) );
|
||||
}
|
||||
|
||||
/*
|
||||
* QSize iconSize
|
||||
*/
|
||||
HB_FUNC( QT_QSTYLEOPTIONTOOLBUTTON_ICONSIZE )
|
||||
{
|
||||
hb_retptr( new QSize( hbqt_par_QStyleOptionToolButton( 1 )->iconSize ) );
|
||||
}
|
||||
|
||||
/*
|
||||
* QPoint pos
|
||||
*/
|
||||
HB_FUNC( QT_QSTYLEOPTIONTOOLBUTTON_POS )
|
||||
{
|
||||
hb_retptr( new QPoint( hbqt_par_QStyleOptionToolButton( 1 )->pos ) );
|
||||
}
|
||||
|
||||
/*
|
||||
* QString text
|
||||
*/
|
||||
HB_FUNC( QT_QSTYLEOPTIONTOOLBUTTON_TEXT )
|
||||
{
|
||||
hb_retc( hbqt_par_QStyleOptionToolButton( 1 )->text.toLatin1().data() );
|
||||
}
|
||||
|
||||
/*
|
||||
* Qt::ToolButtonStyle toolButtonStyle
|
||||
*/
|
||||
HB_FUNC( QT_QSTYLEOPTIONTOOLBUTTON_TOOLBUTTONSTYLE )
|
||||
{
|
||||
hb_retni( ( Qt::ToolButtonStyle ) hbqt_par_QStyleOptionToolButton( 1 )->toolButtonStyle );
|
||||
}
|
||||
|
||||
|
||||
/*----------------------------------------------------------------------*/
|
||||
#endif /* #if QT_VERSION >= 0x040500 */
|
||||
/*----------------------------------------------------------------------*/
|
||||
|
||||
135
harbour/contrib/hbqt/hbqt_qstyleoptionviewitem.cpp
Normal file
135
harbour/contrib/hbqt/hbqt_qstyleoptionviewitem.cpp
Normal file
@@ -0,0 +1,135 @@
|
||||
/*
|
||||
* $Id$
|
||||
*/
|
||||
|
||||
/*
|
||||
* Harbour Project source code:
|
||||
* QT wrapper main header
|
||||
*
|
||||
* Copyright 2009 Marcos Antonio Gambeta <marcosgambeta at gmail dot com>
|
||||
* Copyright 2009 Pritpal Bedi <pritpal@vouchcac.com>
|
||||
* www - http://www.harbour-project.org
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation; either version 2, or (at your option)
|
||||
* any later version.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with this software; see the file COPYING. If not, write to
|
||||
* the Free Software Foundation, Inc., 59 Temple Place, Suite 330,
|
||||
* Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/).
|
||||
*
|
||||
* As a special exception, the Harbour Project gives permission for
|
||||
* additional uses of the text contained in its release of Harbour.
|
||||
*
|
||||
* The exception is that, if you link the Harbour libraries with other
|
||||
* files to produce an executable, this does not by itself cause the
|
||||
* resulting executable to be covered by the GNU General Public License.
|
||||
* Your use of that executable is in no way restricted on account of
|
||||
* linking the Harbour library code into it.
|
||||
*
|
||||
* This exception does not however invalidate any other reasons why
|
||||
* the executable file might be covered by the GNU General Public License.
|
||||
*
|
||||
* This exception applies only to the code released by the Harbour
|
||||
* Project under the name Harbour. If you copy code from other
|
||||
* Harbour Project or Free Software Foundation releases into a copy of
|
||||
* Harbour, as the General Public License permits, the exception does
|
||||
* not apply to the code that you add in this way. To avoid misleading
|
||||
* anyone as to the status of such modified files, you must delete
|
||||
* this exception notice from them.
|
||||
*
|
||||
* If you write modifications of your own for Harbour, it is your choice
|
||||
* whether to permit this exception to apply to your modifications.
|
||||
* If you do not wish that, delete this exception notice.
|
||||
*
|
||||
*/
|
||||
/*----------------------------------------------------------------------*/
|
||||
|
||||
#include "hbapi.h"
|
||||
#include "hbqt.h"
|
||||
|
||||
/*----------------------------------------------------------------------*/
|
||||
#if QT_VERSION >= 0x040500
|
||||
/*----------------------------------------------------------------------*/
|
||||
|
||||
|
||||
#include <QtGui/QStyleOptionViewItem>
|
||||
|
||||
|
||||
/*
|
||||
* QStyleOptionViewItem ()
|
||||
* QStyleOptionViewItem ( const QStyleOptionViewItem & other )
|
||||
*/
|
||||
HB_FUNC( QT_QSTYLEOPTIONVIEWITEM )
|
||||
{
|
||||
hb_retptr( ( QStyleOptionViewItem* ) new QStyleOptionViewItem() );
|
||||
}
|
||||
|
||||
/*
|
||||
* Qt::Alignment decorationAlignment
|
||||
*/
|
||||
HB_FUNC( QT_QSTYLEOPTIONVIEWITEM_DECORATIONALIGNMENT )
|
||||
{
|
||||
hb_retni( ( Qt::Alignment ) hbqt_par_QStyleOptionViewItem( 1 )->decorationAlignment );
|
||||
}
|
||||
|
||||
/*
|
||||
* Position decorationPosition
|
||||
*/
|
||||
HB_FUNC( QT_QSTYLEOPTIONVIEWITEM_DECORATIONPOSITION )
|
||||
{
|
||||
hb_retni( ( QStyleOptionViewItem::Position ) hbqt_par_QStyleOptionViewItem( 1 )->decorationPosition );
|
||||
}
|
||||
|
||||
/*
|
||||
* QSize decorationSize
|
||||
*/
|
||||
HB_FUNC( QT_QSTYLEOPTIONVIEWITEM_DECORATIONSIZE )
|
||||
{
|
||||
hb_retptr( new QSize( hbqt_par_QStyleOptionViewItem( 1 )->decorationSize ) );
|
||||
}
|
||||
|
||||
/*
|
||||
* Qt::Alignment displayAlignment
|
||||
*/
|
||||
HB_FUNC( QT_QSTYLEOPTIONVIEWITEM_DISPLAYALIGNMENT )
|
||||
{
|
||||
hb_retni( ( Qt::Alignment ) hbqt_par_QStyleOptionViewItem( 1 )->displayAlignment );
|
||||
}
|
||||
|
||||
/*
|
||||
* QFont font
|
||||
*/
|
||||
HB_FUNC( QT_QSTYLEOPTIONVIEWITEM_FONT )
|
||||
{
|
||||
hb_retptr( new QFont( hbqt_par_QStyleOptionViewItem( 1 )->font ) );
|
||||
}
|
||||
|
||||
/*
|
||||
* bool showDecorationSelected
|
||||
*/
|
||||
HB_FUNC( QT_QSTYLEOPTIONVIEWITEM_SHOWDECORATIONSELECTED )
|
||||
{
|
||||
hb_retl( hbqt_par_QStyleOptionViewItem( 1 )->showDecorationSelected );
|
||||
}
|
||||
|
||||
/*
|
||||
* Qt::TextElideMode textElideMode
|
||||
*/
|
||||
HB_FUNC( QT_QSTYLEOPTIONVIEWITEM_TEXTELIDEMODE )
|
||||
{
|
||||
hb_retni( ( Qt::TextElideMode ) hbqt_par_QStyleOptionViewItem( 1 )->textElideMode );
|
||||
}
|
||||
|
||||
|
||||
/*----------------------------------------------------------------------*/
|
||||
#endif /* #if QT_VERSION >= 0x040500 */
|
||||
/*----------------------------------------------------------------------*/
|
||||
|
||||
144
harbour/contrib/hbqt/hbqt_qstylepainter.cpp
Normal file
144
harbour/contrib/hbqt/hbqt_qstylepainter.cpp
Normal file
@@ -0,0 +1,144 @@
|
||||
/*
|
||||
* $Id$
|
||||
*/
|
||||
|
||||
/*
|
||||
* Harbour Project source code:
|
||||
* QT wrapper main header
|
||||
*
|
||||
* Copyright 2009 Marcos Antonio Gambeta <marcosgambeta at gmail dot com>
|
||||
* Copyright 2009 Pritpal Bedi <pritpal@vouchcac.com>
|
||||
* www - http://www.harbour-project.org
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation; either version 2, or (at your option)
|
||||
* any later version.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with this software; see the file COPYING. If not, write to
|
||||
* the Free Software Foundation, Inc., 59 Temple Place, Suite 330,
|
||||
* Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/).
|
||||
*
|
||||
* As a special exception, the Harbour Project gives permission for
|
||||
* additional uses of the text contained in its release of Harbour.
|
||||
*
|
||||
* The exception is that, if you link the Harbour libraries with other
|
||||
* files to produce an executable, this does not by itself cause the
|
||||
* resulting executable to be covered by the GNU General Public License.
|
||||
* Your use of that executable is in no way restricted on account of
|
||||
* linking the Harbour library code into it.
|
||||
*
|
||||
* This exception does not however invalidate any other reasons why
|
||||
* the executable file might be covered by the GNU General Public License.
|
||||
*
|
||||
* This exception applies only to the code released by the Harbour
|
||||
* Project under the name Harbour. If you copy code from other
|
||||
* Harbour Project or Free Software Foundation releases into a copy of
|
||||
* Harbour, as the General Public License permits, the exception does
|
||||
* not apply to the code that you add in this way. To avoid misleading
|
||||
* anyone as to the status of such modified files, you must delete
|
||||
* this exception notice from them.
|
||||
*
|
||||
* If you write modifications of your own for Harbour, it is your choice
|
||||
* whether to permit this exception to apply to your modifications.
|
||||
* If you do not wish that, delete this exception notice.
|
||||
*
|
||||
*/
|
||||
/*----------------------------------------------------------------------*/
|
||||
|
||||
#include "hbapi.h"
|
||||
#include "hbqt.h"
|
||||
|
||||
/*----------------------------------------------------------------------*/
|
||||
#if QT_VERSION >= 0x040500
|
||||
/*----------------------------------------------------------------------*/
|
||||
|
||||
|
||||
#include <QtGui/QStylePainter>
|
||||
|
||||
|
||||
/*
|
||||
* QStylePainter ()
|
||||
* QStylePainter ( QWidget * widget )
|
||||
* QStylePainter ( QPaintDevice * pd, QWidget * widget )
|
||||
*/
|
||||
HB_FUNC( QT_QSTYLEPAINTER )
|
||||
{
|
||||
hb_retptr( ( QStylePainter* ) new QStylePainter() );
|
||||
}
|
||||
|
||||
/*
|
||||
* bool begin ( QWidget * widget )
|
||||
*/
|
||||
HB_FUNC( QT_QSTYLEPAINTER_BEGIN )
|
||||
{
|
||||
hb_retl( hbqt_par_QStylePainter( 1 )->begin( hbqt_par_QWidget( 2 ) ) );
|
||||
}
|
||||
|
||||
/*
|
||||
* bool begin ( QPaintDevice * pd, QWidget * widget )
|
||||
*/
|
||||
HB_FUNC( QT_QSTYLEPAINTER_BEGIN_1 )
|
||||
{
|
||||
hb_retl( hbqt_par_QStylePainter( 1 )->begin( hbqt_par_QPaintDevice( 2 ), hbqt_par_QWidget( 3 ) ) );
|
||||
}
|
||||
|
||||
/*
|
||||
* void drawComplexControl ( QStyle::ComplexControl cc, const QStyleOptionComplex & option )
|
||||
*/
|
||||
HB_FUNC( QT_QSTYLEPAINTER_DRAWCOMPLEXCONTROL )
|
||||
{
|
||||
hbqt_par_QStylePainter( 1 )->drawComplexControl( ( QStyle::ComplexControl ) hb_parni( 2 ), *hbqt_par_QStyleOptionComplex( 3 ) );
|
||||
}
|
||||
|
||||
/*
|
||||
* void drawControl ( QStyle::ControlElement ce, const QStyleOption & option )
|
||||
*/
|
||||
HB_FUNC( QT_QSTYLEPAINTER_DRAWCONTROL )
|
||||
{
|
||||
hbqt_par_QStylePainter( 1 )->drawControl( ( QStyle::ControlElement ) hb_parni( 2 ), *hbqt_par_QStyleOption( 3 ) );
|
||||
}
|
||||
|
||||
/*
|
||||
* void drawItemPixmap ( const QRect & rect, int flags, const QPixmap & pixmap )
|
||||
*/
|
||||
HB_FUNC( QT_QSTYLEPAINTER_DRAWITEMPIXMAP )
|
||||
{
|
||||
hbqt_par_QStylePainter( 1 )->drawItemPixmap( *hbqt_par_QRect( 2 ), hb_parni( 3 ), *hbqt_par_QPixmap( 4 ) );
|
||||
}
|
||||
|
||||
/*
|
||||
* void drawItemText ( const QRect & rect, int flags, const QPalette & pal, bool enabled, const QString & text, QPalette::ColorRole textRole = QPalette::NoRole )
|
||||
*/
|
||||
HB_FUNC( QT_QSTYLEPAINTER_DRAWITEMTEXT )
|
||||
{
|
||||
hbqt_par_QStylePainter( 1 )->drawItemText( *hbqt_par_QRect( 2 ), hb_parni( 3 ), *hbqt_par_QPalette( 4 ), hb_parl( 5 ), hbqt_par_QString( 6 ), ( HB_ISNUM( 7 ) ? ( QPalette::ColorRole ) hb_parni( 7 ) : ( QPalette::ColorRole ) QPalette::NoRole ) );
|
||||
}
|
||||
|
||||
/*
|
||||
* void drawPrimitive ( QStyle::PrimitiveElement pe, const QStyleOption & option )
|
||||
*/
|
||||
HB_FUNC( QT_QSTYLEPAINTER_DRAWPRIMITIVE )
|
||||
{
|
||||
hbqt_par_QStylePainter( 1 )->drawPrimitive( ( QStyle::PrimitiveElement ) hb_parni( 2 ), *hbqt_par_QStyleOption( 3 ) );
|
||||
}
|
||||
|
||||
/*
|
||||
* QStyle * style () const
|
||||
*/
|
||||
HB_FUNC( QT_QSTYLEPAINTER_STYLE )
|
||||
{
|
||||
hb_retptr( ( QStyle* ) hbqt_par_QStylePainter( 1 )->style() );
|
||||
}
|
||||
|
||||
|
||||
/*----------------------------------------------------------------------*/
|
||||
#endif /* #if QT_VERSION >= 0x040500 */
|
||||
/*----------------------------------------------------------------------*/
|
||||
|
||||
107
harbour/contrib/hbqt/qth/QStyleOptionSlider.qth
Normal file
107
harbour/contrib/hbqt/qth/QStyleOptionSlider.qth
Normal file
@@ -0,0 +1,107 @@
|
||||
/*
|
||||
* $Id$
|
||||
*/
|
||||
|
||||
/*
|
||||
* Harbour Project source code:
|
||||
* QT Source Generator for Harbour
|
||||
*
|
||||
* Copyright 2009 Pritpal Bedi <pritpal@vouchcac.com>
|
||||
* www - http://www.harbour-project.org
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation; either version 2, or (at your option)
|
||||
* any later version.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with this software; see the file COPYING. If not, write to
|
||||
* the Free Software Foundation, Inc., 59 Temple Place, Suite 330,
|
||||
* Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/).
|
||||
*
|
||||
* As a special exception, the Harbour Project gives permission for
|
||||
* additional uses of the text contained in its release of Harbour.
|
||||
*
|
||||
* The exception is that, if you link the Harbour libraries with other
|
||||
* files to produce an executable, this does not by itself cause the
|
||||
* resulting executable to be covered by the GNU General Public License.
|
||||
* Your use of that executable is in no way restricted on account of
|
||||
* linking the Harbour library code into it.
|
||||
*
|
||||
* This exception does not however invalidate any other reasons why
|
||||
* the executable file might be covered by the GNU General Public License.
|
||||
*
|
||||
* This exception applies only to the code released by the Harbour
|
||||
* Project under the name Harbour. If you copy code from other
|
||||
* Harbour Project or Free Software Foundation releases into a copy of
|
||||
* Harbour, as the General Public License permits, the exception does
|
||||
* not apply to the code that you add in this way. To avoid misleading
|
||||
* anyone as to the status of such modified files, you must delete
|
||||
* this exception notice from them.
|
||||
*
|
||||
* If you write modifications of your own for Harbour, it is your choice
|
||||
* whether to permit this exception to apply to your modifications.
|
||||
* If you do not wish that, delete this exception notice.
|
||||
*
|
||||
*/
|
||||
/*----------------------------------------------------------------------*/
|
||||
;
|
||||
; Header File to Generate QT Wrapper Sources
|
||||
;
|
||||
|
||||
<CLASS>
|
||||
Inherits = QStyleOptionComplex
|
||||
Type = Core
|
||||
New =
|
||||
</CLASS>
|
||||
|
||||
<CODE>
|
||||
#include <QtGui/QStyleOptionSlider>
|
||||
|
||||
|
||||
/*
|
||||
* QStyleOptionSlider ()
|
||||
* QStyleOptionSlider ( const QStyleOptionSlider & other )
|
||||
*/
|
||||
HB_FUNC( QT_QSTYLEOPTIONSLIDER )
|
||||
{
|
||||
hb_retptr( ( QStyleOptionSlider* ) new QStyleOptionSlider() );
|
||||
}
|
||||
</CODE>
|
||||
|
||||
<ENUMS>
|
||||
enum StyleOptionType { Type }
|
||||
enum StyleOptionVersion { Version }
|
||||
</ENUMS>
|
||||
|
||||
<PROTOS>
|
||||
</PROTOS>
|
||||
|
||||
<SLOTS>
|
||||
</SLOTS>
|
||||
|
||||
<SIGNALS>
|
||||
</SIGNALS>
|
||||
|
||||
<VARIABLES>
|
||||
bool dialWrapping
|
||||
int maximum
|
||||
int minimum
|
||||
qreal notchTarget
|
||||
Qt::Orientation orientation
|
||||
int pageStep
|
||||
int singleStep
|
||||
int sliderPosition
|
||||
int sliderValue
|
||||
int tickInterval
|
||||
QSlider::TickPosition tickPosition
|
||||
bool upsideDown
|
||||
</VARIABLES>
|
||||
|
||||
|
||||
|
||||
98
harbour/contrib/hbqt/qth/QStyleOptionSpinBox.qth
Normal file
98
harbour/contrib/hbqt/qth/QStyleOptionSpinBox.qth
Normal file
@@ -0,0 +1,98 @@
|
||||
/*
|
||||
* $Id$
|
||||
*/
|
||||
|
||||
/*
|
||||
* Harbour Project source code:
|
||||
* QT Source Generator for Harbour
|
||||
*
|
||||
* Copyright 2009 Pritpal Bedi <pritpal@vouchcac.com>
|
||||
* www - http://www.harbour-project.org
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation; either version 2, or (at your option)
|
||||
* any later version.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with this software; see the file COPYING. If not, write to
|
||||
* the Free Software Foundation, Inc., 59 Temple Place, Suite 330,
|
||||
* Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/).
|
||||
*
|
||||
* As a special exception, the Harbour Project gives permission for
|
||||
* additional uses of the text contained in its release of Harbour.
|
||||
*
|
||||
* The exception is that, if you link the Harbour libraries with other
|
||||
* files to produce an executable, this does not by itself cause the
|
||||
* resulting executable to be covered by the GNU General Public License.
|
||||
* Your use of that executable is in no way restricted on account of
|
||||
* linking the Harbour library code into it.
|
||||
*
|
||||
* This exception does not however invalidate any other reasons why
|
||||
* the executable file might be covered by the GNU General Public License.
|
||||
*
|
||||
* This exception applies only to the code released by the Harbour
|
||||
* Project under the name Harbour. If you copy code from other
|
||||
* Harbour Project or Free Software Foundation releases into a copy of
|
||||
* Harbour, as the General Public License permits, the exception does
|
||||
* not apply to the code that you add in this way. To avoid misleading
|
||||
* anyone as to the status of such modified files, you must delete
|
||||
* this exception notice from them.
|
||||
*
|
||||
* If you write modifications of your own for Harbour, it is your choice
|
||||
* whether to permit this exception to apply to your modifications.
|
||||
* If you do not wish that, delete this exception notice.
|
||||
*
|
||||
*/
|
||||
/*----------------------------------------------------------------------*/
|
||||
;
|
||||
; Header File to Generate QT Wrapper Sources
|
||||
;
|
||||
|
||||
<CLASS>
|
||||
Inherits = QStyleOptionComplex
|
||||
Type = Core
|
||||
New =
|
||||
</CLASS>
|
||||
|
||||
<CODE>
|
||||
#include <QtGui/QStyleOptionSpinBox>
|
||||
|
||||
|
||||
/*
|
||||
* QStyleOptionSpinBox ()
|
||||
* QStyleOptionSpinBox ( const QStyleOptionSpinBox & other )
|
||||
*/
|
||||
HB_FUNC( QT_QSTYLEOPTIONSPINBOX )
|
||||
{
|
||||
hb_retptr( ( QStyleOptionSpinBox* ) new QStyleOptionSpinBox() );
|
||||
}
|
||||
</CODE>
|
||||
|
||||
<ENUMS>
|
||||
enum StyleOptionType { Type }
|
||||
enum StyleOptionVersion { Version }
|
||||
</ENUMS>
|
||||
|
||||
<PROTOS>
|
||||
</PROTOS>
|
||||
|
||||
<SLOTS>
|
||||
</SLOTS>
|
||||
|
||||
<SIGNALS>
|
||||
</SIGNALS>
|
||||
|
||||
<VARIABLES>
|
||||
QAbstractSpinBox::ButtonSymbols buttonSymbols
|
||||
bool frame
|
||||
QAbstractSpinBox::StepEnabled stepEnabled
|
||||
</VARIABLES>
|
||||
|
||||
|
||||
|
||||
106
harbour/contrib/hbqt/qth/QStyleOptionTab.qth
Normal file
106
harbour/contrib/hbqt/qth/QStyleOptionTab.qth
Normal file
@@ -0,0 +1,106 @@
|
||||
/*
|
||||
* $Id$
|
||||
*/
|
||||
|
||||
/*
|
||||
* Harbour Project source code:
|
||||
* QT Source Generator for Harbour
|
||||
*
|
||||
* Copyright 2009 Pritpal Bedi <pritpal@vouchcac.com>
|
||||
* www - http://www.harbour-project.org
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation; either version 2, or (at your option)
|
||||
* any later version.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with this software; see the file COPYING. If not, write to
|
||||
* the Free Software Foundation, Inc., 59 Temple Place, Suite 330,
|
||||
* Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/).
|
||||
*
|
||||
* As a special exception, the Harbour Project gives permission for
|
||||
* additional uses of the text contained in its release of Harbour.
|
||||
*
|
||||
* The exception is that, if you link the Harbour libraries with other
|
||||
* files to produce an executable, this does not by itself cause the
|
||||
* resulting executable to be covered by the GNU General Public License.
|
||||
* Your use of that executable is in no way restricted on account of
|
||||
* linking the Harbour library code into it.
|
||||
*
|
||||
* This exception does not however invalidate any other reasons why
|
||||
* the executable file might be covered by the GNU General Public License.
|
||||
*
|
||||
* This exception applies only to the code released by the Harbour
|
||||
* Project under the name Harbour. If you copy code from other
|
||||
* Harbour Project or Free Software Foundation releases into a copy of
|
||||
* Harbour, as the General Public License permits, the exception does
|
||||
* not apply to the code that you add in this way. To avoid misleading
|
||||
* anyone as to the status of such modified files, you must delete
|
||||
* this exception notice from them.
|
||||
*
|
||||
* If you write modifications of your own for Harbour, it is your choice
|
||||
* whether to permit this exception to apply to your modifications.
|
||||
* If you do not wish that, delete this exception notice.
|
||||
*
|
||||
*/
|
||||
/*----------------------------------------------------------------------*/
|
||||
;
|
||||
; Header File to Generate QT Wrapper Sources
|
||||
;
|
||||
|
||||
<CLASS>
|
||||
Inherits = QStyleOption
|
||||
Type = Core
|
||||
New =
|
||||
</CLASS>
|
||||
|
||||
<CODE>
|
||||
#include <QtGui/QStyleOptionTab>
|
||||
|
||||
|
||||
/*
|
||||
* QStyleOptionTab ()
|
||||
* QStyleOptionTab ( const QStyleOptionTab & other )
|
||||
*/
|
||||
HB_FUNC( QT_QSTYLEOPTIONTAB )
|
||||
{
|
||||
hb_retptr( ( QStyleOptionTab* ) new QStyleOptionTab() );
|
||||
}
|
||||
</CODE>
|
||||
|
||||
<ENUMS>
|
||||
enum CornerWidget { NoCornerWidgets, LeftCornerWidget, RightCornerWidget }
|
||||
flags CornerWidgets
|
||||
enum SelectedPosition { NotAdjacent, NextIsSelected, PreviousIsSelected }
|
||||
enum StyleOptionType { Type }
|
||||
enum StyleOptionVersion { Version }
|
||||
enum TabPosition { Beginning, Middle, End, OnlyOneTab }
|
||||
</ENUMS>
|
||||
|
||||
<PROTOS>
|
||||
</PROTOS>
|
||||
|
||||
<SLOTS>
|
||||
</SLOTS>
|
||||
|
||||
<SIGNALS>
|
||||
</SIGNALS>
|
||||
|
||||
<VARIABLES>
|
||||
CornerWidgets cornerWidgets
|
||||
QIcon icon
|
||||
TabPosition position
|
||||
int row
|
||||
SelectedPosition selectedPosition
|
||||
QTabBar::Shape shape
|
||||
QString text
|
||||
</VARIABLES>
|
||||
|
||||
|
||||
|
||||
98
harbour/contrib/hbqt/qth/QStyleOptionTabBarBase.qth
Normal file
98
harbour/contrib/hbqt/qth/QStyleOptionTabBarBase.qth
Normal file
@@ -0,0 +1,98 @@
|
||||
/*
|
||||
* $Id$
|
||||
*/
|
||||
|
||||
/*
|
||||
* Harbour Project source code:
|
||||
* QT Source Generator for Harbour
|
||||
*
|
||||
* Copyright 2009 Pritpal Bedi <pritpal@vouchcac.com>
|
||||
* www - http://www.harbour-project.org
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation; either version 2, or (at your option)
|
||||
* any later version.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with this software; see the file COPYING. If not, write to
|
||||
* the Free Software Foundation, Inc., 59 Temple Place, Suite 330,
|
||||
* Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/).
|
||||
*
|
||||
* As a special exception, the Harbour Project gives permission for
|
||||
* additional uses of the text contained in its release of Harbour.
|
||||
*
|
||||
* The exception is that, if you link the Harbour libraries with other
|
||||
* files to produce an executable, this does not by itself cause the
|
||||
* resulting executable to be covered by the GNU General Public License.
|
||||
* Your use of that executable is in no way restricted on account of
|
||||
* linking the Harbour library code into it.
|
||||
*
|
||||
* This exception does not however invalidate any other reasons why
|
||||
* the executable file might be covered by the GNU General Public License.
|
||||
*
|
||||
* This exception applies only to the code released by the Harbour
|
||||
* Project under the name Harbour. If you copy code from other
|
||||
* Harbour Project or Free Software Foundation releases into a copy of
|
||||
* Harbour, as the General Public License permits, the exception does
|
||||
* not apply to the code that you add in this way. To avoid misleading
|
||||
* anyone as to the status of such modified files, you must delete
|
||||
* this exception notice from them.
|
||||
*
|
||||
* If you write modifications of your own for Harbour, it is your choice
|
||||
* whether to permit this exception to apply to your modifications.
|
||||
* If you do not wish that, delete this exception notice.
|
||||
*
|
||||
*/
|
||||
/*----------------------------------------------------------------------*/
|
||||
;
|
||||
; Header File to Generate QT Wrapper Sources
|
||||
;
|
||||
|
||||
<CLASS>
|
||||
Inherits = QStyleOption
|
||||
Type = Core
|
||||
New =
|
||||
</CLASS>
|
||||
|
||||
<CODE>
|
||||
#include <QtGui/QStyleOptionTabBarBase>
|
||||
|
||||
|
||||
/*
|
||||
* QStyleOptionTabBarBase ()
|
||||
* QStyleOptionTabBarBase ( const QStyleOptionTabBarBase & other )
|
||||
*/
|
||||
HB_FUNC( QT_QSTYLEOPTIONTABBARBASE )
|
||||
{
|
||||
hb_retptr( ( QStyleOptionTabBarBase* ) new QStyleOptionTabBarBase() );
|
||||
}
|
||||
</CODE>
|
||||
|
||||
<ENUMS>
|
||||
enum StyleOptionType { Type }
|
||||
enum StyleOptionVersion { Version }
|
||||
</ENUMS>
|
||||
|
||||
<PROTOS>
|
||||
</PROTOS>
|
||||
|
||||
<SLOTS>
|
||||
</SLOTS>
|
||||
|
||||
<SIGNALS>
|
||||
</SIGNALS>
|
||||
|
||||
<VARIABLES>
|
||||
QRect selectedTabRect
|
||||
QTabBar::Shape shape
|
||||
QRect tabBarRect
|
||||
</VARIABLES>
|
||||
|
||||
|
||||
|
||||
101
harbour/contrib/hbqt/qth/QStyleOptionTabWidgetFrame.qth
Normal file
101
harbour/contrib/hbqt/qth/QStyleOptionTabWidgetFrame.qth
Normal file
@@ -0,0 +1,101 @@
|
||||
/*
|
||||
* $Id$
|
||||
*/
|
||||
|
||||
/*
|
||||
* Harbour Project source code:
|
||||
* QT Source Generator for Harbour
|
||||
*
|
||||
* Copyright 2009 Pritpal Bedi <pritpal@vouchcac.com>
|
||||
* www - http://www.harbour-project.org
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation; either version 2, or (at your option)
|
||||
* any later version.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with this software; see the file COPYING. If not, write to
|
||||
* the Free Software Foundation, Inc., 59 Temple Place, Suite 330,
|
||||
* Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/).
|
||||
*
|
||||
* As a special exception, the Harbour Project gives permission for
|
||||
* additional uses of the text contained in its release of Harbour.
|
||||
*
|
||||
* The exception is that, if you link the Harbour libraries with other
|
||||
* files to produce an executable, this does not by itself cause the
|
||||
* resulting executable to be covered by the GNU General Public License.
|
||||
* Your use of that executable is in no way restricted on account of
|
||||
* linking the Harbour library code into it.
|
||||
*
|
||||
* This exception does not however invalidate any other reasons why
|
||||
* the executable file might be covered by the GNU General Public License.
|
||||
*
|
||||
* This exception applies only to the code released by the Harbour
|
||||
* Project under the name Harbour. If you copy code from other
|
||||
* Harbour Project or Free Software Foundation releases into a copy of
|
||||
* Harbour, as the General Public License permits, the exception does
|
||||
* not apply to the code that you add in this way. To avoid misleading
|
||||
* anyone as to the status of such modified files, you must delete
|
||||
* this exception notice from them.
|
||||
*
|
||||
* If you write modifications of your own for Harbour, it is your choice
|
||||
* whether to permit this exception to apply to your modifications.
|
||||
* If you do not wish that, delete this exception notice.
|
||||
*
|
||||
*/
|
||||
/*----------------------------------------------------------------------*/
|
||||
;
|
||||
; Header File to Generate QT Wrapper Sources
|
||||
;
|
||||
|
||||
<CLASS>
|
||||
Inherits = QStyleOption
|
||||
Type = Core
|
||||
New =
|
||||
</CLASS>
|
||||
|
||||
<CODE>
|
||||
#include <QtGui/QStyleOptionTabWidgetFrame>
|
||||
|
||||
|
||||
/*
|
||||
* QStyleOptionTabWidgetFrame ()
|
||||
* QStyleOptionTabWidgetFrame ( const QStyleOptionTabWidgetFrame & other )
|
||||
*/
|
||||
HB_FUNC( QT_QSTYLEOPTIONTABWIDGETFRAME )
|
||||
{
|
||||
hb_retptr( ( QStyleOptionTabWidgetFrame* ) new QStyleOptionTabWidgetFrame() );
|
||||
}
|
||||
</CODE>
|
||||
|
||||
<ENUMS>
|
||||
enum StyleOptionType { Type }
|
||||
enum StyleOptionVersion { Version }
|
||||
</ENUMS>
|
||||
|
||||
<PROTOS>
|
||||
</PROTOS>
|
||||
|
||||
<SLOTS>
|
||||
</SLOTS>
|
||||
|
||||
<SIGNALS>
|
||||
</SIGNALS>
|
||||
|
||||
<VARIABLES>
|
||||
QSize leftCornerWidgetSize
|
||||
int lineWidth
|
||||
int midLineWidth
|
||||
QSize rightCornerWidgetSize
|
||||
QTabBar::Shape shape
|
||||
QSize tabBarSize
|
||||
</VARIABLES>
|
||||
|
||||
|
||||
|
||||
99
harbour/contrib/hbqt/qth/QStyleOptionTitleBar.qth
Normal file
99
harbour/contrib/hbqt/qth/QStyleOptionTitleBar.qth
Normal file
@@ -0,0 +1,99 @@
|
||||
/*
|
||||
* $Id$
|
||||
*/
|
||||
|
||||
/*
|
||||
* Harbour Project source code:
|
||||
* QT Source Generator for Harbour
|
||||
*
|
||||
* Copyright 2009 Pritpal Bedi <pritpal@vouchcac.com>
|
||||
* www - http://www.harbour-project.org
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation; either version 2, or (at your option)
|
||||
* any later version.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with this software; see the file COPYING. If not, write to
|
||||
* the Free Software Foundation, Inc., 59 Temple Place, Suite 330,
|
||||
* Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/).
|
||||
*
|
||||
* As a special exception, the Harbour Project gives permission for
|
||||
* additional uses of the text contained in its release of Harbour.
|
||||
*
|
||||
* The exception is that, if you link the Harbour libraries with other
|
||||
* files to produce an executable, this does not by itself cause the
|
||||
* resulting executable to be covered by the GNU General Public License.
|
||||
* Your use of that executable is in no way restricted on account of
|
||||
* linking the Harbour library code into it.
|
||||
*
|
||||
* This exception does not however invalidate any other reasons why
|
||||
* the executable file might be covered by the GNU General Public License.
|
||||
*
|
||||
* This exception applies only to the code released by the Harbour
|
||||
* Project under the name Harbour. If you copy code from other
|
||||
* Harbour Project or Free Software Foundation releases into a copy of
|
||||
* Harbour, as the General Public License permits, the exception does
|
||||
* not apply to the code that you add in this way. To avoid misleading
|
||||
* anyone as to the status of such modified files, you must delete
|
||||
* this exception notice from them.
|
||||
*
|
||||
* If you write modifications of your own for Harbour, it is your choice
|
||||
* whether to permit this exception to apply to your modifications.
|
||||
* If you do not wish that, delete this exception notice.
|
||||
*
|
||||
*/
|
||||
/*----------------------------------------------------------------------*/
|
||||
;
|
||||
; Header File to Generate QT Wrapper Sources
|
||||
;
|
||||
|
||||
<CLASS>
|
||||
Inherits = QStyleOptionComplex
|
||||
Type = Core
|
||||
New =
|
||||
</CLASS>
|
||||
|
||||
<CODE>
|
||||
#include <QtGui/QStyleOptionTitleBar>
|
||||
|
||||
|
||||
/*
|
||||
* QStyleOptionTitleBar ()
|
||||
* QStyleOptionTitleBar ( const QStyleOptionTitleBar & other )
|
||||
*/
|
||||
HB_FUNC( QT_QSTYLEOPTIONTITLEBAR )
|
||||
{
|
||||
hb_retptr( ( QStyleOptionTitleBar* ) new QStyleOptionTitleBar() );
|
||||
}
|
||||
</CODE>
|
||||
|
||||
<ENUMS>
|
||||
enum StyleOptionType { Type }
|
||||
enum StyleOptionVersion { Version }
|
||||
</ENUMS>
|
||||
|
||||
<PROTOS>
|
||||
</PROTOS>
|
||||
|
||||
<SLOTS>
|
||||
</SLOTS>
|
||||
|
||||
<SIGNALS>
|
||||
</SIGNALS>
|
||||
|
||||
<VARIABLES>
|
||||
QIcon icon
|
||||
QString text
|
||||
Qt::WindowFlags titleBarFlags
|
||||
int titleBarState
|
||||
</VARIABLES>
|
||||
|
||||
|
||||
|
||||
104
harbour/contrib/hbqt/qth/QStyleOptionToolBar.qth
Normal file
104
harbour/contrib/hbqt/qth/QStyleOptionToolBar.qth
Normal file
@@ -0,0 +1,104 @@
|
||||
/*
|
||||
* $Id$
|
||||
*/
|
||||
|
||||
/*
|
||||
* Harbour Project source code:
|
||||
* QT Source Generator for Harbour
|
||||
*
|
||||
* Copyright 2009 Pritpal Bedi <pritpal@vouchcac.com>
|
||||
* www - http://www.harbour-project.org
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation; either version 2, or (at your option)
|
||||
* any later version.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with this software; see the file COPYING. If not, write to
|
||||
* the Free Software Foundation, Inc., 59 Temple Place, Suite 330,
|
||||
* Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/).
|
||||
*
|
||||
* As a special exception, the Harbour Project gives permission for
|
||||
* additional uses of the text contained in its release of Harbour.
|
||||
*
|
||||
* The exception is that, if you link the Harbour libraries with other
|
||||
* files to produce an executable, this does not by itself cause the
|
||||
* resulting executable to be covered by the GNU General Public License.
|
||||
* Your use of that executable is in no way restricted on account of
|
||||
* linking the Harbour library code into it.
|
||||
*
|
||||
* This exception does not however invalidate any other reasons why
|
||||
* the executable file might be covered by the GNU General Public License.
|
||||
*
|
||||
* This exception applies only to the code released by the Harbour
|
||||
* Project under the name Harbour. If you copy code from other
|
||||
* Harbour Project or Free Software Foundation releases into a copy of
|
||||
* Harbour, as the General Public License permits, the exception does
|
||||
* not apply to the code that you add in this way. To avoid misleading
|
||||
* anyone as to the status of such modified files, you must delete
|
||||
* this exception notice from them.
|
||||
*
|
||||
* If you write modifications of your own for Harbour, it is your choice
|
||||
* whether to permit this exception to apply to your modifications.
|
||||
* If you do not wish that, delete this exception notice.
|
||||
*
|
||||
*/
|
||||
/*----------------------------------------------------------------------*/
|
||||
;
|
||||
; Header File to Generate QT Wrapper Sources
|
||||
;
|
||||
|
||||
<CLASS>
|
||||
Inherits = QStyleOption
|
||||
Type = Core
|
||||
New =
|
||||
</CLASS>
|
||||
|
||||
<CODE>
|
||||
#include <QtGui/QStyleOptionToolBar>
|
||||
|
||||
|
||||
/*
|
||||
* QStyleOptionToolBar ()
|
||||
* QStyleOptionToolBar ( const QStyleOptionToolBar & other )
|
||||
*/
|
||||
HB_FUNC( QT_QSTYLEOPTIONTOOLBAR )
|
||||
{
|
||||
hb_retptr( ( QStyleOptionToolBar* ) new QStyleOptionToolBar() );
|
||||
}
|
||||
</CODE>
|
||||
|
||||
<ENUMS>
|
||||
enum StyleOptionType { Type }
|
||||
enum StyleOptionVersion { Version }
|
||||
enum ToolBarFeature { None, Movable }
|
||||
flags ToolBarFeatures
|
||||
enum ToolBarPosition { Beginning, Middle, End, OnlyOne }
|
||||
</ENUMS>
|
||||
|
||||
<PROTOS>
|
||||
</PROTOS>
|
||||
|
||||
<SLOTS>
|
||||
</SLOTS>
|
||||
|
||||
<SIGNALS>
|
||||
</SIGNALS>
|
||||
|
||||
<VARIABLES>
|
||||
ToolBarFeatures features
|
||||
int lineWidth
|
||||
int midLineWidth
|
||||
ToolBarPosition positionOfLine
|
||||
ToolBarPosition positionWithinLine
|
||||
Qt::ToolBarArea toolBarArea
|
||||
</VARIABLES>
|
||||
|
||||
|
||||
|
||||
97
harbour/contrib/hbqt/qth/QStyleOptionToolBox.qth
Normal file
97
harbour/contrib/hbqt/qth/QStyleOptionToolBox.qth
Normal file
@@ -0,0 +1,97 @@
|
||||
/*
|
||||
* $Id$
|
||||
*/
|
||||
|
||||
/*
|
||||
* Harbour Project source code:
|
||||
* QT Source Generator for Harbour
|
||||
*
|
||||
* Copyright 2009 Pritpal Bedi <pritpal@vouchcac.com>
|
||||
* www - http://www.harbour-project.org
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation; either version 2, or (at your option)
|
||||
* any later version.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with this software; see the file COPYING. If not, write to
|
||||
* the Free Software Foundation, Inc., 59 Temple Place, Suite 330,
|
||||
* Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/).
|
||||
*
|
||||
* As a special exception, the Harbour Project gives permission for
|
||||
* additional uses of the text contained in its release of Harbour.
|
||||
*
|
||||
* The exception is that, if you link the Harbour libraries with other
|
||||
* files to produce an executable, this does not by itself cause the
|
||||
* resulting executable to be covered by the GNU General Public License.
|
||||
* Your use of that executable is in no way restricted on account of
|
||||
* linking the Harbour library code into it.
|
||||
*
|
||||
* This exception does not however invalidate any other reasons why
|
||||
* the executable file might be covered by the GNU General Public License.
|
||||
*
|
||||
* This exception applies only to the code released by the Harbour
|
||||
* Project under the name Harbour. If you copy code from other
|
||||
* Harbour Project or Free Software Foundation releases into a copy of
|
||||
* Harbour, as the General Public License permits, the exception does
|
||||
* not apply to the code that you add in this way. To avoid misleading
|
||||
* anyone as to the status of such modified files, you must delete
|
||||
* this exception notice from them.
|
||||
*
|
||||
* If you write modifications of your own for Harbour, it is your choice
|
||||
* whether to permit this exception to apply to your modifications.
|
||||
* If you do not wish that, delete this exception notice.
|
||||
*
|
||||
*/
|
||||
/*----------------------------------------------------------------------*/
|
||||
;
|
||||
; Header File to Generate QT Wrapper Sources
|
||||
;
|
||||
|
||||
<CLASS>
|
||||
Inherits = QStyleOption
|
||||
Type = Core
|
||||
New =
|
||||
</CLASS>
|
||||
|
||||
<CODE>
|
||||
#include <QtGui/QStyleOptionToolBox>
|
||||
|
||||
|
||||
/*
|
||||
* QStyleOptionToolBox ()
|
||||
* QStyleOptionToolBox ( const QStyleOptionToolBox & other )
|
||||
*/
|
||||
HB_FUNC( QT_QSTYLEOPTIONTOOLBOX )
|
||||
{
|
||||
hb_retptr( ( QStyleOptionToolBox* ) new QStyleOptionToolBox() );
|
||||
}
|
||||
</CODE>
|
||||
|
||||
<ENUMS>
|
||||
enum StyleOptionType { Type }
|
||||
enum StyleOptionVersion { Version }
|
||||
</ENUMS>
|
||||
|
||||
<PROTOS>
|
||||
</PROTOS>
|
||||
|
||||
<SLOTS>
|
||||
</SLOTS>
|
||||
|
||||
<SIGNALS>
|
||||
</SIGNALS>
|
||||
|
||||
<VARIABLES>
|
||||
QIcon icon
|
||||
QString text
|
||||
</VARIABLES>
|
||||
|
||||
|
||||
|
||||
105
harbour/contrib/hbqt/qth/QStyleOptionToolButton.qth
Normal file
105
harbour/contrib/hbqt/qth/QStyleOptionToolButton.qth
Normal file
@@ -0,0 +1,105 @@
|
||||
/*
|
||||
* $Id$
|
||||
*/
|
||||
|
||||
/*
|
||||
* Harbour Project source code:
|
||||
* QT Source Generator for Harbour
|
||||
*
|
||||
* Copyright 2009 Pritpal Bedi <pritpal@vouchcac.com>
|
||||
* www - http://www.harbour-project.org
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation; either version 2, or (at your option)
|
||||
* any later version.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with this software; see the file COPYING. If not, write to
|
||||
* the Free Software Foundation, Inc., 59 Temple Place, Suite 330,
|
||||
* Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/).
|
||||
*
|
||||
* As a special exception, the Harbour Project gives permission for
|
||||
* additional uses of the text contained in its release of Harbour.
|
||||
*
|
||||
* The exception is that, if you link the Harbour libraries with other
|
||||
* files to produce an executable, this does not by itself cause the
|
||||
* resulting executable to be covered by the GNU General Public License.
|
||||
* Your use of that executable is in no way restricted on account of
|
||||
* linking the Harbour library code into it.
|
||||
*
|
||||
* This exception does not however invalidate any other reasons why
|
||||
* the executable file might be covered by the GNU General Public License.
|
||||
*
|
||||
* This exception applies only to the code released by the Harbour
|
||||
* Project under the name Harbour. If you copy code from other
|
||||
* Harbour Project or Free Software Foundation releases into a copy of
|
||||
* Harbour, as the General Public License permits, the exception does
|
||||
* not apply to the code that you add in this way. To avoid misleading
|
||||
* anyone as to the status of such modified files, you must delete
|
||||
* this exception notice from them.
|
||||
*
|
||||
* If you write modifications of your own for Harbour, it is your choice
|
||||
* whether to permit this exception to apply to your modifications.
|
||||
* If you do not wish that, delete this exception notice.
|
||||
*
|
||||
*/
|
||||
/*----------------------------------------------------------------------*/
|
||||
;
|
||||
; Header File to Generate QT Wrapper Sources
|
||||
;
|
||||
|
||||
<CLASS>
|
||||
Inherits = QStyleOptionComplex
|
||||
Type = Core
|
||||
New =
|
||||
</CLASS>
|
||||
|
||||
<CODE>
|
||||
#include <QtGui/QStyleOptionToolButton>
|
||||
|
||||
|
||||
/*
|
||||
* QStyleOptionToolButton ()
|
||||
* QStyleOptionToolButton ( const QStyleOptionToolButton & other )
|
||||
*/
|
||||
HB_FUNC( QT_QSTYLEOPTIONTOOLBUTTON )
|
||||
{
|
||||
hb_retptr( ( QStyleOptionToolButton* ) new QStyleOptionToolButton() );
|
||||
}
|
||||
</CODE>
|
||||
|
||||
<ENUMS>
|
||||
enum StyleOptionType { Type }
|
||||
enum StyleOptionVersion { Version }
|
||||
enum ToolButtonFeature { None, Arrow, Menu, PopupDelay, HasMenu, MenuButtonPopup }
|
||||
flags ToolButtonFeatures
|
||||
</ENUMS>
|
||||
|
||||
<PROTOS>
|
||||
</PROTOS>
|
||||
|
||||
<SLOTS>
|
||||
</SLOTS>
|
||||
|
||||
<SIGNALS>
|
||||
</SIGNALS>
|
||||
|
||||
<VARIABLES>
|
||||
Qt::ArrowType arrowType
|
||||
ToolButtonFeatures features
|
||||
QFont font
|
||||
QIcon icon
|
||||
QSize iconSize
|
||||
QPoint pos
|
||||
QString text
|
||||
Qt::ToolButtonStyle toolButtonStyle
|
||||
</VARIABLES>
|
||||
|
||||
|
||||
|
||||
103
harbour/contrib/hbqt/qth/QStyleOptionViewItem.qth
Normal file
103
harbour/contrib/hbqt/qth/QStyleOptionViewItem.qth
Normal file
@@ -0,0 +1,103 @@
|
||||
/*
|
||||
* $Id$
|
||||
*/
|
||||
|
||||
/*
|
||||
* Harbour Project source code:
|
||||
* QT Source Generator for Harbour
|
||||
*
|
||||
* Copyright 2009 Pritpal Bedi <pritpal@vouchcac.com>
|
||||
* www - http://www.harbour-project.org
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation; either version 2, or (at your option)
|
||||
* any later version.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with this software; see the file COPYING. If not, write to
|
||||
* the Free Software Foundation, Inc., 59 Temple Place, Suite 330,
|
||||
* Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/).
|
||||
*
|
||||
* As a special exception, the Harbour Project gives permission for
|
||||
* additional uses of the text contained in its release of Harbour.
|
||||
*
|
||||
* The exception is that, if you link the Harbour libraries with other
|
||||
* files to produce an executable, this does not by itself cause the
|
||||
* resulting executable to be covered by the GNU General Public License.
|
||||
* Your use of that executable is in no way restricted on account of
|
||||
* linking the Harbour library code into it.
|
||||
*
|
||||
* This exception does not however invalidate any other reasons why
|
||||
* the executable file might be covered by the GNU General Public License.
|
||||
*
|
||||
* This exception applies only to the code released by the Harbour
|
||||
* Project under the name Harbour. If you copy code from other
|
||||
* Harbour Project or Free Software Foundation releases into a copy of
|
||||
* Harbour, as the General Public License permits, the exception does
|
||||
* not apply to the code that you add in this way. To avoid misleading
|
||||
* anyone as to the status of such modified files, you must delete
|
||||
* this exception notice from them.
|
||||
*
|
||||
* If you write modifications of your own for Harbour, it is your choice
|
||||
* whether to permit this exception to apply to your modifications.
|
||||
* If you do not wish that, delete this exception notice.
|
||||
*
|
||||
*/
|
||||
/*----------------------------------------------------------------------*/
|
||||
;
|
||||
; Header File to Generate QT Wrapper Sources
|
||||
;
|
||||
|
||||
<CLASS>
|
||||
Inherits = QStyleOption
|
||||
Type = Core
|
||||
New =
|
||||
</CLASS>
|
||||
|
||||
<CODE>
|
||||
#include <QtGui/QStyleOptionViewItem>
|
||||
|
||||
|
||||
/*
|
||||
* QStyleOptionViewItem ()
|
||||
* QStyleOptionViewItem ( const QStyleOptionViewItem & other )
|
||||
*/
|
||||
HB_FUNC( QT_QSTYLEOPTIONVIEWITEM )
|
||||
{
|
||||
hb_retptr( ( QStyleOptionViewItem* ) new QStyleOptionViewItem() );
|
||||
}
|
||||
</CODE>
|
||||
|
||||
<ENUMS>
|
||||
enum Position { Left, Right, Top, Bottom }
|
||||
enum StyleOptionType { Type }
|
||||
enum StyleOptionVersion { Version }
|
||||
</ENUMS>
|
||||
|
||||
<PROTOS>
|
||||
</PROTOS>
|
||||
|
||||
<SLOTS>
|
||||
</SLOTS>
|
||||
|
||||
<SIGNALS>
|
||||
</SIGNALS>
|
||||
|
||||
<VARIABLES>
|
||||
Qt::Alignment decorationAlignment
|
||||
Position decorationPosition
|
||||
QSize decorationSize
|
||||
Qt::Alignment displayAlignment
|
||||
QFont font
|
||||
bool showDecorationSelected
|
||||
Qt::TextElideMode textElideMode
|
||||
</VARIABLES>
|
||||
|
||||
|
||||
|
||||
102
harbour/contrib/hbqt/qth/QStylePainter.qth
Normal file
102
harbour/contrib/hbqt/qth/QStylePainter.qth
Normal file
@@ -0,0 +1,102 @@
|
||||
/*
|
||||
* $Id$
|
||||
*/
|
||||
|
||||
/*
|
||||
* Harbour Project source code:
|
||||
* QT Source Generator for Harbour
|
||||
*
|
||||
* Copyright 2009 Pritpal Bedi <pritpal@vouchcac.com>
|
||||
* www - http://www.harbour-project.org
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation; either version 2, or (at your option)
|
||||
* any later version.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with this software; see the file COPYING. If not, write to
|
||||
* the Free Software Foundation, Inc., 59 Temple Place, Suite 330,
|
||||
* Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/).
|
||||
*
|
||||
* As a special exception, the Harbour Project gives permission for
|
||||
* additional uses of the text contained in its release of Harbour.
|
||||
*
|
||||
* The exception is that, if you link the Harbour libraries with other
|
||||
* files to produce an executable, this does not by itself cause the
|
||||
* resulting executable to be covered by the GNU General Public License.
|
||||
* Your use of that executable is in no way restricted on account of
|
||||
* linking the Harbour library code into it.
|
||||
*
|
||||
* This exception does not however invalidate any other reasons why
|
||||
* the executable file might be covered by the GNU General Public License.
|
||||
*
|
||||
* This exception applies only to the code released by the Harbour
|
||||
* Project under the name Harbour. If you copy code from other
|
||||
* Harbour Project or Free Software Foundation releases into a copy of
|
||||
* Harbour, as the General Public License permits, the exception does
|
||||
* not apply to the code that you add in this way. To avoid misleading
|
||||
* anyone as to the status of such modified files, you must delete
|
||||
* this exception notice from them.
|
||||
*
|
||||
* If you write modifications of your own for Harbour, it is your choice
|
||||
* whether to permit this exception to apply to your modifications.
|
||||
* If you do not wish that, delete this exception notice.
|
||||
*
|
||||
*/
|
||||
/*----------------------------------------------------------------------*/
|
||||
;
|
||||
; Header File to Generate QT Wrapper Sources
|
||||
;
|
||||
|
||||
<CLASS>
|
||||
Inherits = QPainter
|
||||
Type = Core
|
||||
New =
|
||||
</CLASS>
|
||||
|
||||
<CODE>
|
||||
#include <QtGui/QStylePainter>
|
||||
|
||||
|
||||
/*
|
||||
* QStylePainter ()
|
||||
* QStylePainter ( QWidget * widget )
|
||||
* QStylePainter ( QPaintDevice * pd, QWidget * widget )
|
||||
*/
|
||||
HB_FUNC( QT_QSTYLEPAINTER )
|
||||
{
|
||||
hb_retptr( ( QStylePainter* ) new QStylePainter() );
|
||||
}
|
||||
</CODE>
|
||||
|
||||
<ENUMS>
|
||||
</ENUMS>
|
||||
|
||||
<PROTOS>
|
||||
bool begin ( QWidget * widget )
|
||||
bool begin ( QPaintDevice * pd, QWidget * widget )
|
||||
void drawComplexControl ( QStyle::ComplexControl cc, const QStyleOptionComplex & option )
|
||||
void drawControl ( QStyle::ControlElement ce, const QStyleOption & option )
|
||||
void drawItemPixmap ( const QRect & rect, int flags, const QPixmap & pixmap )
|
||||
void drawItemText ( const QRect & rect, int flags, const QPalette & pal, bool enabled, const QString & text, QPalette::ColorRole textRole = QPalette::NoRole )
|
||||
void drawPrimitive ( QStyle::PrimitiveElement pe, const QStyleOption & option )
|
||||
QStyle * style () const
|
||||
</PROTOS>
|
||||
|
||||
<SLOTS>
|
||||
</SLOTS>
|
||||
|
||||
<SIGNALS>
|
||||
</SIGNALS>
|
||||
|
||||
<VARIABLES>
|
||||
</VARIABLES>
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user