Commit Graph

11 Commits

Author SHA1 Message Date
Pritpal Bedi
b90666e364 2012-06-12 16:22 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/hbqt/gtqtc/gtqtc.cpp
  
  * contrib/hbqt/hbmk2_qt.hb
  
  * contrib/hbqt/qtcore/hbqt.h
  * contrib/hbqt/qtcore/hbqt_bind.cpp
  * contrib/hbqt/qtcore/hbqt_hbqevents.cpp
  * contrib/hbqt/qtcore/hbqt_hbqslots.cpp
  * contrib/hbqt/qtcore/hbqt_init.cpp
  * contrib/hbqt/qtcore/hbqt_misc.prg
  * contrib/hbqt/qtcore/hbqt_pointer.cpp
  
  * contrib/hbqt/qtcore/qth/HBQEvents.qth
  * contrib/hbqt/qtcore/qth/HBQSlots.qth
  * contrib/hbqt/qtcore/qth/QLibraryInfo.qth
  * contrib/hbqt/qtcore/qth/QMimeData.qth
  
  * contrib/hbqt/qtgui/hbqt_hbqabstractitemmodel.cpp
  * contrib/hbqt/qtgui/hbqt_hbqgraphicsitem.cpp
  * contrib/hbqt/qtgui/hbqt_hbqgraphicsscene.cpp
  * contrib/hbqt/qtgui/hbqt_hbqplaintextedit.cpp
  * contrib/hbqt/qtgui/hbqt_hbqtableview.cpp
  * contrib/hbqt/qtgui/hbqt_init.cpp
  
  * contrib/hbqt/qtgui/qth/HBQAbstractItemModel.qth
  * contrib/hbqt/qtgui/qth/HBQGraphicsItem.qth
  * contrib/hbqt/qtgui/qth/HBQGraphicsScene.qth
  * contrib/hbqt/qtgui/qth/HBQPlainTextEdit.qth
  * contrib/hbqt/qtgui/qth/HBQTableView.qth
  * contrib/hbqt/qtgui/qth/QApplication.qth
  * contrib/hbqt/qtgui/qth/QClipboard.qth
  * contrib/hbqt/qtgui/qth/QDirModel.qth
  * contrib/hbqt/qtgui/qth/QDropEvent.qth
  * contrib/hbqt/qtgui/qth/QFileSystemModel.qth
  * contrib/hbqt/qtgui/qth/QGraphicsSceneDragDropEvent.qth
  
  * contrib/hbqt/qtnetwork/hbqt_init.cpp
  
  * contrib/hbqt/tests/draggable.prg
  
  * contrib/hbxbp/xbpbrowse.prg

  * contrib/hbide/ideedit.prg
  * contrib/hbide/idefindreplace.prg
    
    + Implemented: Revamped HBQT. 
        The complete code base has been cleaned as per new API
        and there is no leftover is kept inside the sources.
        All demos and hbIDE seems TO be working fine with few 
        exceptions here and there, but usually all seems fine.
        The only issue left, so far I can assess is that no object 
        is subject to destrution if a connect is issued onto that.
        And I have no idea how TO handle this situation. It is the 
        programmers responsibility to disconnect whenever an object 
        is supposed to go out of scope.
        
        TODO: still debug tracelog entries ( under HB_TR_DEBUG ) are 
              retained in hbqt_bind.c which are schduled TO be 
              removed once code base stabilizes enough.
2012-06-12 23:45:33 +00:00
Pritpal Bedi
71ba24298a 2012-06-07 20:00 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/hbqt/hbmk2_qt.hb
  * contrib/hbqt/qtcore/hbqt.h
  * contrib/hbqt/qtcore/hbqt_bind.cpp
  * contrib/hbqt/qtcore/hbqt_hbqevents.cpp
  * contrib/hbqt/qtcore/hbqt_hbqslots.cpp
  * contrib/hbqt/qtcore/hbqt_init.cpp
  * contrib/hbqt/qtcore/qth/QLibraryInfo.qth
  * contrib/hbqt/qtcore/qth/QMimeData.qth
  * contrib/hbqt/qtgui/hbqt_hbqgraphicsitem.cpp
  * contrib/hbqt/qtgui/hbqt_hbqgraphicsscene.cpp
  * contrib/hbqt/qtgui/hbqt_hbqplaintextedit.cpp
  * contrib/hbqt/qtgui/hbqt_hbqtableview.cpp
  * contrib/hbqt/qtgui/hbqt_init.cpp
  * contrib/hbqt/qtgui/qth/QApplication.qth
  * contrib/hbqt/qtgui/qth/QClipboard.qth
  * contrib/hbqt/qtgui/qth/QDirModel.qth
  * contrib/hbqt/qtgui/qth/QDropEvent.qth
  * contrib/hbqt/qtgui/qth/QFileSystemModel.qth
  * contrib/hbqt/qtgui/qth/QGraphicsSceneDragDropEvent.qth
    ! Changed:  
        PHB_ITEM hbqt_bindGetHbObject( PHB_ITEM pItem, void * qtObject, PHB_SYMB pClassName, PHBQT_DEL_FUNC pDelFunc, int iFlags )
            =>
        PHB_ITEM hbqt_bindGetHbObject( PHB_ITEM pItem, void * qtObject, const char * szClassName, PHBQT_DEL_FUNC pDelFunc, int iFlags )

      This facilitates the easy manipulation of objects and also a central 
      point to scale its usage. It is much easier to recognize the non-QObject
      derived classes, which are in plenty, and hence take corrective actions 
      in case of some exceptions are buried inside descriptions instead of headers.
2012-06-08 03:09:18 +00:00
Pritpal Bedi
e350128439 2012-06-04 13:34 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/hbqt/hbmk2_qt.hb
    ! Guarded: qth_is_QObject() function under __HBQT_REVAMP__.
      This facilitates to change how we would like to use this 
      construct in the future. Also there is a lot which may be 
      added to this protocol, apart from only detecting if a class
      is QObject() derived, and hence is subject to change.
      We will do what is proposed after all is settled on new 
      protocol.

    - Removed: QIcon() hack which was exploiting hbqt_par_Qstring()
      usage. Also it was not per Qt documantation. Now anywhere 
      an icon is needed, it has to be constructed explicitily 
      with a call to QIcon( cFileName ). Earlier QIcon() was passed
      as only a <cFileName>

      INCOMPATIBLE: 3rd party libs have to modify their code.

  * contrib/hbqt/qtcore/qth/QLibraryInfo.qth
  * contrib/hbqt/qtcore/qth/QMimeData.qth
  * contrib/hbqt/qtgui/qth/QClipboard.qth
  * contrib/hbqt/qtgui/qth/QDirModel.qth
  * contrib/hbqt/qtgui/qth/QDropEvent.qth
  * contrib/hbqt/qtgui/qth/QFileSystemModel.qth
  * contrib/hbqt/qtgui/qth/QGraphicsSceneDragDropEvent.qth
    + Implemented: _HBQT_REVAMP__ specific signal/slot firing objects.

  * contrib/hbqt/qtgui/qth/QPushButton.qth
    - Removed: <CLASS> PaintEvent = </CLASS> token.

  * contrib/hbqt/qtgui/hbqt_hbqgraphicsitem.cpp
  * contrib/hbqt/qtgui/hbqt_hbqgraphicsscene.cpp
  * contrib/hbqt/qtgui/hbqt_hbqplaintextedit.cpp
  * contrib/hbqt/qtgui/hbqt_hbqtableview.cpp
    + Implemented: _HBQT_REVAMP__ specific signal/slot firing objects.

  * contrib/hbqt/qtcore/hbqt_bind.cpp
  * contrib/hbqt/qtcore/hbqt_hbqevents.cpp
  * contrib/hbqt/qtcore/hbqt_hbqslots.cpp
  * contrib/hbqt/qtcore/hbqt_init.cpp
  * contrib/hbqt/qtcore/hbqt_pointer.cpp
  * contrib/hbqt/qtgui/hbqt_init.cpp
    + Implemented: _HBQT_REVAMP__ specific signal/slot/events management.

    ; NOTE: hbIDE is almost running under __HBQT_REVAMP__ methodoly
            with signal/slots/events catched anfired properly.
            This implementation is subject to a lot of improvements 
            but at of current shows up a good promise to achieve 
            the end-results soon.
2012-06-04 20:53:35 +00:00
Pritpal Bedi
79438d19a0 2012-06-02 14:40 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/hbqt/qtgui/qth/QCalendarWidget.qth
  * contrib/hbqt/qtgui/qth/QCheckBox.qth
  * contrib/hbqt/qtgui/qth/QCloseEvent.qth
  * contrib/hbqt/qtgui/qth/QCommandLinkButton.qth
  * contrib/hbqt/qtgui/qth/QCompleter.qth
  * contrib/hbqt/qtgui/qth/QConicalGradient.qth
  * contrib/hbqt/qtgui/qth/QDateEdit.qth
  * contrib/hbqt/qtgui/qth/QDateTimeEdit.qth
  * contrib/hbqt/qtgui/qth/QDeclarativeContext.qth
  * contrib/hbqt/qtgui/qth/QDial.qth
  * contrib/hbqt/qtgui/qth/QDialog.qth
  * contrib/hbqt/qtgui/qth/QDockWidget.qth
  * contrib/hbqt/qtgui/qth/QDoubleSpinBox.qth
  * contrib/hbqt/qtgui/qth/QDrag.qth
  * contrib/hbqt/qtgui/qth/QErrorMessage.qth
  * contrib/hbqt/qtgui/qth/QFileSystemModel.qth
  * contrib/hbqt/qtgui/qth/QFocusFrame.qth
  * contrib/hbqt/qtgui/qth/QFontComboBox.qth
  * contrib/hbqt/qtgui/qth/QFontMetrics.qth
  * contrib/hbqt/qtgui/qth/QFontMetricsF.qth
  * contrib/hbqt/qtgui/qth/QGroupBox.qth
  * contrib/hbqt/qtgui/qth/QInputDialog.qth
  * contrib/hbqt/qtgui/qth/QItemSelection.qth
  * contrib/hbqt/qtgui/qth/QKeySequence.qth
  * contrib/hbqt/qtgui/qth/QLCDNumber.qth
  * contrib/hbqt/qtgui/qth/QListView.qth
  * contrib/hbqt/qtgui/qth/QMatrix.qth
  * contrib/hbqt/qtgui/qth/QMessageBox.qth
  * contrib/hbqt/qtgui/qth/QMovie.qth
  * contrib/hbqt/qtgui/qth/QPainterPath.qth
  * contrib/hbqt/qtgui/qth/QPixmap.qth
  * contrib/hbqt/qtgui/qth/QProgressBar.qth
  * contrib/hbqt/qtgui/qth/QProgressDialog.qth
  * contrib/hbqt/qtgui/qth/QRadioButton.qth
  * contrib/hbqt/qtgui/qth/QSpacerItem.qth
    ! Fixed: constructors.
       This has been a tidious process and I could have 
       broken something in the process, though, all demoes 
       and hbIDE is working fine. If you find some inconsistency,
       please shout. Also if someone can overlook the .qth's 
       for remaining files yet needs the constructors reworked,
       it will be a great help.
2012-06-02 21:49:19 +00:00
Pritpal Bedi
fef080b8a0 2012-05-13 00:19 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/hbqt/qtcore/qth/*.qth
  * contrib/hbqt/qtgui/qth/*.qth
  * contrib/hbqt/qtnetwork/qth/*.qth
    ! Copyright year bump.
    + Formatting.
    - Long coptyright notice to short one.
2012-05-13 07:29:44 +00:00
Pritpal Bedi
a4e6d7fa68 2011-12-18 12:48 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/hbqt/qtgui/qth/QPrinter.qth
  * contrib/hbqt/qtgui/qth/QPrintPreviewDialog.qth
    * Fixed: constructors.
  * contrib/hbqt/qtcore/qth/QLibraryInfo.qth
  * contrib/hbqt/qtgui/qth/QFileSystemModel.qth
  * contrib/hbqt/qtgui/qth/QGraphicsGridLayout.qth
  * contrib/hbqt/qtgui/qth/QGraphicsLayout.qth
  * contrib/hbqt/qtgui/qth/QLineEdit.qth
  * contrib/hbqt/qtgui/qth/QPlainTextEdit.qth
  * contrib/hbqt/qtgui/qth/QWizard.qth
  * contrib/hbqt/qtwebkit/qth/QWebFrame.qth
  * contrib/hbqt/qtwebkit/qth/QWebPage.qth
    + Added: methods introduced in later versions of Qt than 4.5.3.
       Please speak-out if some are missing.

  * contrib/hbqt/hbmk2_qt.hbs
    + Implemented: Qt version dependant class and methods compilations.
       Current implementation does not generate any error for methods
       which are called in application but are not present in used
       Qt version. It can be changed to throw run-time error. 
       Classes are only compiled when version of Qt is what is intended.

    NOTE: this implemenattion opens the door to include any new classes
          and methods to existing classes no matter which version is 
          current on the users system.
2011-12-18 08:58:20 +00:00
Pritpal Bedi
6ac276d2f7 2011-11-25 14:23 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/hbqt/qtgui/qth/QClipboard.qth
  * contrib/hbqt/qtgui/qth/QDirModel.qth
  * contrib/hbqt/qtgui/qth/QFileSystemModel.qth
    + Implemented: commented out methods returning data of type QMimeData.
2011-11-25 22:26:14 +00:00
Viktor Szakats
3179ac92bf 2010-11-04 05:02 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* include/hbwmain.c
  * src/vm/cmdarg.c
    + Cygwin HB_PROGNAME()/HB_ARGV(0) patch from Tamas.

  * src/rtl/hbcom.c
    * Cygwin related comment added. Patch by Tamas.

  * hbqt/qtgui/qth/*.qth
  * hbqt/qtwebkit/qth/*.qth
  * hbqt/qtcore/qth/*.qth
  * hbqt/qtnetwork/qth/*.qth
  * hbqt/qscintilla/qth/*.qth
  * hbqt/qtuitools/qth/*.qth
  * hbqt/qtdesigner/qth/*.qth
    % Harbour license text changed to a one-liner reference to
      COPYING file. Copyright message kept as is.
      Overal .qth file size dropped to half.
    ! Deleted multiple empty lines at EOL.
2010-11-04 04:19:36 +00:00
Pritpal Bedi
e77873cfa3 2010-10-10 13:55 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/hbqt/qscintilla/qth/*.qth
  * contrib/hbqt/qtcore/qth/*.qth
  * contrib/hbqt/qtdesigner/qth/*.qth
  * contrib/hbqt/qtgui/qth/*.qth
  * contrib/hbqt/qtnetwork/qth/*.qth
  * contrib/hbqt/qtwebkit/qth/*.qth
    ! Cleaned: very old constructs needed no more. Code is more readable now.
    ! Changed: copyright info.

  * contrib/hbqt/qscintilla/g/*.cpp *.prg *.txt
  * contrib/hbqt/qtcore/g/*.cpp *.prg *.txt
  * contrib/hbqt/qtdesigner/g/*.cpp *.prg *.txt
  * contrib/hbqt/qtgui/g/*.cpp *.prg *.txt
  * contrib/hbqt/qtnetwork/g/*.cpp *.prg *.txt
  * contrib/hbqt/qtwebkit/g/*.cpp *.prg *.txt
    * Re-generated, whichever are affected.

    This commit prepares .qth(s) for next overhaul for constructors.
2010-10-10 21:20:35 +00:00
Viktor Szakats
50512a96f4 2010-10-03 11:16 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/gtwvg/wvgwing.c
    ! Fixed after prev.
      Suggested by YD0DKL

  * contrib/hbqt/utils/hbqtgen.prg
    + Added TOFIXes to some generated code lines.
      (missing const, hb_retptr(), char vs uchar)

  * contrib/hbqt/utils/hbqtgen.prg
  * contrib/hbqt/qtgui/qth/*.qth
  * contrib/hbqt/qtwebkit/qth/*.qth
  * contrib/hbqt/qtcore/qth/*.qth
  * contrib/hbqt/qtnetwork/qth/*.qth
  * contrib/hbqt/qscintilla/qth/*.qth
  * contrib/hbqt/qtdesigner/qth/*.qth
    * Changed to use '__HB_RETPTRGC__' macro instead of using
      (valid function) 'hb_retptr()' as code generation marker.

  * contrib/hbqt/qtgui/g/*
  * contrib/hbqt/qtwebkit/g/*
  * contrib/hbqt/qtcore/g/*
  * contrib/hbqt/qscintilla/g/*
  * contrib/hbqt/qtdesigner/g/*
    * Regenerated.
    ; TOFIX: Why is commented code in .qth spilling into generated code?

  * contrib/hbqt/qtcore/g/filelist.hbm
  * contrib/hbqt/qtcore/g/hbqtcore.h
    * Regenerated after prev commit.
2010-10-03 09:26:33 +00:00
Viktor Szakats
a033ea56f9 2010-08-01 18:27 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
- contrib/hbqt/qth
  - contrib/hbqt/doc
  * contrib/hbqt/generator/qtcore.qtp
  * contrib/hbqt/generator/qtnetwork.qtp
  * contrib/hbqt/generator/qtgui.qtp
  + contrib/hbqt/qtgui/qth
  + contrib/hbqt/qtgui/qth/*
  + contrib/hbqt/qtgui/doc
  + contrib/hbqt/qtgui/doc/en
  + contrib/hbqt/qtgui/doc/en/*
  + contrib/hbqt/qtcore/qth
  + contrib/hbqt/qtcore/qth/*
  + contrib/hbqt/qtcore/doc
  + contrib/hbqt/qtcore/doc/en
  + contrib/hbqt/qtcore/doc/en/*
  + contrib/hbqt/qtnetwork/qth
  + contrib/hbqt/qtnetwork/qth/*
  + contrib/hbqt/qtnetwork/doc
  + contrib/hbqt/qtnetwork/doc/en
  + contrib/hbqt/qtnetwork/doc/en/*
    + qth and doc files moved inside their own component dirs.
2010-08-01 16:41:15 +00:00