2012-09-21 10:41 UTC+0200 Viktor Szakats (harbour syenar.net)

+ contrib/hbide/idedbu
  + contrib/hbide/idedbu/idedbu.hbc
  + contrib/hbide/idedbu/idedbu.hbp
  + contrib/hbide/idedbu/dbstruct.ui
  + contrib/hbide/idedbu/dbu.prg
  + contrib/hbide/idedbu/dbu.qrc
  + contrib/hbide/idedbu/fetchdate.ui
  + contrib/hbide/idedbu/resources
  + contrib/hbide/idedbu/tables.ui
  - contrib/hbxbp/dbu.prg
  - contrib/hbxbp/resources
  - contrib/hbxbp/resources/closetab.png
  - contrib/hbxbp/resources/database_accept.png
  - contrib/hbxbp/resources/database_add.png
  - contrib/hbxbp/resources/database_down.png
  - contrib/hbxbp/resources/database_lock.png
  - contrib/hbxbp/resources/database_next.png
  - contrib/hbxbp/resources/database_previous.png
  - contrib/hbxbp/resources/database_process.png
  - contrib/hbxbp/resources/database_remove.png
  - contrib/hbxbp/resources/database_search.png
  - contrib/hbxbp/resources/database_up.png
  - contrib/hbxbp/resources/database.png
  - contrib/hbxbp/resources/dbf_p1.png
  - contrib/hbxbp/resources/dbf_p10.png
  - contrib/hbxbp/resources/dbf_p2.png
  - contrib/hbxbp/resources/dbf_p3.png
  - contrib/hbxbp/resources/dbf_p4.png
  - contrib/hbxbp/resources/dbf_p5.png
  - contrib/hbxbp/resources/dbf_p6.png
  - contrib/hbxbp/resources/dbf_p7.png
  - contrib/hbxbp/resources/dbf_p8.png
  - contrib/hbxbp/resources/dbf_p9.png
  - contrib/hbxbp/resources/dbstruct.png
  - contrib/hbxbp/resources/dc_delete.png
  - contrib/hbxbp/resources/find.png
  - contrib/hbxbp/resources/form.png
  - contrib/hbxbp/resources/formview.png
  - contrib/hbxbp/resources/fullscreen.png
  - contrib/hbxbp/resources/gotoline3.png
  - contrib/hbxbp/resources/open3.png
  - contrib/hbxbp/resources/panel_7.png
  - contrib/hbxbp/resources/panel_8.png
  - contrib/hbxbp/resources/save3.png
  - contrib/hbxbp/resources/sort.png
  - contrib/hbxbp/resources/table.png
  - contrib/hbxbp/resources/view_cascaded.png
  - contrib/hbxbp/resources/view_docks.png
  - contrib/hbxbp/resources/view_horzstacked.png
  - contrib/hbxbp/resources/view_organized.png
  - contrib/hbxbp/resources/view_refresh.png
  - contrib/hbxbp/resources/view_tabbed.png
  - contrib/hbxbp/resources/view_tiled.png
  - contrib/hbxbp/resources/view_vertstacked.png
  - contrib/hbxbp/resources/view_zoomin.png
  - contrib/hbxbp/resources/view_zoomout.png
  - contrib/hbxbp/xbp.qrc
  - contrib/hbxbp/xbpdbstruct.ui
  - contrib/hbxbp/xbpfetchdate.ui
  - contrib/hbxbp/xbptables.ui
  * contrib/hbide/hbide.hbp
  * contrib/hbxbp/generic.prg
  * contrib/hbxbp/hbxbp.hbp
    * HBIDE submodule DBU moved under HBIDE.
      Such module (complete with its own UI theme, GUI resources
      hard-wired texts) has nothing to do in a generic library.
      I can hardly imagine what the goal was with this move.
      It's also good idea to consult/ask questions before
      making such code rearrangement.
      Untested.
    ; TOFIX: Some more stuff (code) has been added to hbxbp,
             I didn't deal with those.
    ; TOFIX: Someone please remove the duplicate resources
             from hbide/resources.
             Also, please make use of 'svn move' when moving
             around objects inside the repository tree, otherwise
             such thing will happen and history is also lost
             along the way.
This commit is contained in:
Viktor Szakats
2012-09-21 08:47:28 +00:00
parent cad0b5ea1b
commit 95e0fdec7a
56 changed files with 154 additions and 47 deletions

View File

@@ -16,11 +16,91 @@
The license applies to all entries newer than 2009-04-28.
*/
2012-09-21 10:41 UTC+0200 Viktor Szakats (harbour syenar.net)
+ contrib/hbide/idedbu
+ contrib/hbide/idedbu/idedbu.hbc
+ contrib/hbide/idedbu/idedbu.hbp
+ contrib/hbide/idedbu/dbstruct.ui
+ contrib/hbide/idedbu/dbu.prg
+ contrib/hbide/idedbu/dbu.qrc
+ contrib/hbide/idedbu/fetchdate.ui
+ contrib/hbide/idedbu/resources
+ contrib/hbide/idedbu/tables.ui
- contrib/hbxbp/dbu.prg
- contrib/hbxbp/resources
- contrib/hbxbp/resources/closetab.png
- contrib/hbxbp/resources/database_accept.png
- contrib/hbxbp/resources/database_add.png
- contrib/hbxbp/resources/database_down.png
- contrib/hbxbp/resources/database_lock.png
- contrib/hbxbp/resources/database_next.png
- contrib/hbxbp/resources/database_previous.png
- contrib/hbxbp/resources/database_process.png
- contrib/hbxbp/resources/database_remove.png
- contrib/hbxbp/resources/database_search.png
- contrib/hbxbp/resources/database_up.png
- contrib/hbxbp/resources/database.png
- contrib/hbxbp/resources/dbf_p1.png
- contrib/hbxbp/resources/dbf_p10.png
- contrib/hbxbp/resources/dbf_p2.png
- contrib/hbxbp/resources/dbf_p3.png
- contrib/hbxbp/resources/dbf_p4.png
- contrib/hbxbp/resources/dbf_p5.png
- contrib/hbxbp/resources/dbf_p6.png
- contrib/hbxbp/resources/dbf_p7.png
- contrib/hbxbp/resources/dbf_p8.png
- contrib/hbxbp/resources/dbf_p9.png
- contrib/hbxbp/resources/dbstruct.png
- contrib/hbxbp/resources/dc_delete.png
- contrib/hbxbp/resources/find.png
- contrib/hbxbp/resources/form.png
- contrib/hbxbp/resources/formview.png
- contrib/hbxbp/resources/fullscreen.png
- contrib/hbxbp/resources/gotoline3.png
- contrib/hbxbp/resources/open3.png
- contrib/hbxbp/resources/panel_7.png
- contrib/hbxbp/resources/panel_8.png
- contrib/hbxbp/resources/save3.png
- contrib/hbxbp/resources/sort.png
- contrib/hbxbp/resources/table.png
- contrib/hbxbp/resources/view_cascaded.png
- contrib/hbxbp/resources/view_docks.png
- contrib/hbxbp/resources/view_horzstacked.png
- contrib/hbxbp/resources/view_organized.png
- contrib/hbxbp/resources/view_refresh.png
- contrib/hbxbp/resources/view_tabbed.png
- contrib/hbxbp/resources/view_tiled.png
- contrib/hbxbp/resources/view_vertstacked.png
- contrib/hbxbp/resources/view_zoomin.png
- contrib/hbxbp/resources/view_zoomout.png
- contrib/hbxbp/xbp.qrc
- contrib/hbxbp/xbpdbstruct.ui
- contrib/hbxbp/xbpfetchdate.ui
- contrib/hbxbp/xbptables.ui
* contrib/hbide/hbide.hbp
* contrib/hbxbp/generic.prg
* contrib/hbxbp/hbxbp.hbp
* HBIDE submodule DBU moved under HBIDE.
Such module (complete with its own UI theme, GUI resources
hard-wired texts) has nothing to do in a generic library.
I can hardly imagine what the goal was with this move.
It's also good idea to consult/ask questions before
making such code rearrangement.
Untested.
; TOFIX: Some more stuff (code) has been added to hbxbp,
I didn't deal with those.
; TOFIX: Someone please remove the duplicate resources
from hbide/resources.
Also, please make use of 'svn move' when moving
around objects inside the repository tree, otherwise
such thing will happen and history is also lost
along the way.
2012-09-20 22:18 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/hbqt/hbmk2_qt.hb
* contrib/hbqt/qtgui/qth/QWidget.qth
+ Enabled: "WId" casted calls.
WARNING: These are portable to the extent that Qt does not
+ Enabled: "WId" casted calls.
WARNING: These are portable to the extent that Qt does not
throw error. But what you do with the WId is non portable.
So be careful.

View File

@@ -23,6 +23,9 @@ hbxbp.hbc
hbqt.hbc
hbformat.hbc
idedbu/idedbu.hbp
idedbu/idedbu.hbc
-env:HB_DYNLOAD_RDDADS=yes
rddads.hbc

View File

@@ -1,10 +1,10 @@
/*
/*
* $Id$
*/
/*
* Harbour Project source code:
* Source file for the Xbp*Classes
* Source file for the HBIDE/DBU
*
* Copyright 2012 Pritpal Bedi <bedipritpal@hotmail.com>
* http://harbour-project.org
@@ -241,7 +241,7 @@ METHOD HbpDBU:init( oParent, oOwner, aPos, aSize, aPresParams, lVisible )
IF ! ::lRegistered
::lRegistered := .T.
QResource():registerResource_1( hbqtres_xbp() )
QResource():registerResource_1( hbqtres_dbu() )
ENDIF
::xbpWindow:init( oParent, oOwner, aPos, aSize, aPresParams, lVisible )
@@ -543,7 +543,7 @@ METHOD HbpDBU:addPanelsMenu( cPanel )
LOCAL qAct
IF HB_ISOBJECT( ::qPanelsMenu )
qAct := ::qPanelsMenu:addAction( cPanel )
qAct:setIcon( QIcon( xbp_image( "panel_7" ) ) )
qAct:setIcon( QIcon( dbu_Image( "panel_7" ) ) )
qAct:connect( "triggered(bool)", {|| ::setPanel( cPanel ) } )
aadd( ::aPanelsAct, qAct )
ENDIF
@@ -780,7 +780,7 @@ METHOD HbpDBU:showTablesTree()
LOCAL oUI, qTree, qParent, oPanel, qItm, aBrowser, q, aFld, qFont, nMax, nSz, oBrw
LOCAL a_:={}
oUI := hbqtui_xbpTables( ::oCurPanel:qWidget )
oUI := hbqtui_Tables( ::oCurPanel:qWidget )
qFont := QFont( "Courier New", 8 )
qTree := oUI:treeTables
@@ -912,7 +912,7 @@ METHOD HbpDBU:buildUiStruct()
LOCAL oTbl, n, qItm
LOCAL hdr_:= { { "", 50 }, { "Field Name",200 }, { "Type", 100 }, { "Len", 50 }, { "Dec", 70 } }
::qStruct := hbqtui_xbpDbStruct( ::oWidget )
::qStruct := hbqtui_DbStruct( ::oWidget )
::qStruct:setWindowFlags( Qt_Dialog )
::qStruct:setMaximumHeight( ::qStruct:height() )
@@ -1021,17 +1021,17 @@ METHOD HbpDBU:buildToolbar()
qTBar:addItem( ::sp0 )
::buildRddsCombo()
::buildConxnCombo()
qTBar:addItem( { "Open" , "Open a Table" , QIcon( xbp_image( "open3" ) ), {|| ::execEvent( __buttonOpen_clicked__ ) }, .F. } )
qTBar:addItem( { "Open" , "Open a Table" , QIcon( dbu_Image( "open3" ) ), {|| ::execEvent( __buttonOpen_clicked__ ) }, .F. } )
qTBar:addItem( ::sp1 )
qTBar:addItem( { "Toggle" , "Show/Hide Form View", QIcon( xbp_image( "form" ) ), {|| ::execEvent( __buttonShowForm_clicked__ ) }, .T. } )
qTBar:addItem( { "Toggle" , "Show/Hide Form View", QIcon( dbu_Image( "form" ) ), {|| ::execEvent( __buttonShowForm_clicked__ ) }, .T. } )
qTBar:addItem( , , , , , XBPTOOLBAR_BUTTON_SEPARATOR )
qTBar:addItem( { "Structure", "Table Structure" , QIcon( xbp_image( "dbstruct" ) ), {|| ::execEvent( __buttonDbStruct_clicked__ ) }, .F. } )
qTBar:addItem( { "Structure", "Table Structure" , QIcon( dbu_Image( "dbstruct" ) ), {|| ::execEvent( __buttonDbStruct_clicked__ ) }, .F. } )
qTBar:addItem( , , , , , XBPTOOLBAR_BUTTON_SEPARATOR )
::buildIndexButton()
qTBar:addItem( { "Search" , "Search in Table" , QIcon( xbp_image( "find" ) ), {|| ::execEvent( __buttonFind_clicked__ ) }, .F. } )
qTBar:addItem( { "Goto" , "Goto Record" , QIcon( xbp_image( "gotoline3" ) ), {|| ::execEvent( __buttonGoto_clicked__ ) }, .F. } )
qTBar:addItem( { "Search" , "Search in Table" , QIcon( dbu_Image( "find" ) ), {|| ::execEvent( __buttonFind_clicked__ ) }, .F. } )
qTBar:addItem( { "Goto" , "Goto Record" , QIcon( dbu_Image( "gotoline3" ) ), {|| ::execEvent( __buttonGoto_clicked__ ) }, .F. } )
qTBar:addItem( , , , , , XBPTOOLBAR_BUTTON_SEPARATOR )
qTBar:addItem( { "Close" , "Close Current Table", QIcon( xbp_image( "dc_delete" ) ), {|| ::execEvent( __buttonClose_clicked__ ) }, .F. } )
qTBar:addItem( { "Close" , "Close Current Table", QIcon( dbu_Image( "dc_delete" ) ), {|| ::execEvent( __buttonClose_clicked__ ) }, .F. } )
qTBar:addItem( ::sp2 )
::buildTablesButton()
@@ -1051,31 +1051,31 @@ METHOD HbpDBU:buildLeftToolbar()
::qToolbarL := qTBar
qTBar:addItem( { "view_tabbed" , "Toggle Tabbed View" , QIcon( xbp_image( "view_tabbed" ) ), {|| ::execEvent( __buttonViewTabbed_clicked__ ) }, .f. } )
qTBar:addItem( { "view_tabbed" , "Toggle Tabbed View" , QIcon( dbu_Image( "view_tabbed" ) ), {|| ::execEvent( __buttonViewTabbed_clicked__ ) }, .f. } )
qTBar:addItem( , , , , , XBPTOOLBAR_BUTTON_SEPARATOR )
qTBar:addItem( { "view_organized" , "View as Arranged" , QIcon( xbp_image( "view_organized" ) ), {|| ::execEvent( __buttonViewOrganized_clicked__ ) }, .f. } )
qTBar:addItem( { "save3" , "Save Layout" , QIcon( xbp_image( "save3" ) ), {|| ::execEvent( __buttonSaveLayout_clicked__ ) }, .f. } )
qTBar:addItem( { "view_organized" , "View as Arranged" , QIcon( dbu_Image( "view_organized" ) ), {|| ::execEvent( __buttonViewOrganized_clicked__ ) }, .f. } )
qTBar:addItem( { "save3" , "Save Layout" , QIcon( dbu_Image( "save3" ) ), {|| ::execEvent( __buttonSaveLayout_clicked__ ) }, .f. } )
qTBar:addItem( , , , , , XBPTOOLBAR_BUTTON_SEPARATOR )
qTBar:addItem( { "view_cascaded" , "View as Cascaded" , QIcon( xbp_image( "view_cascaded" ) ), {|| ::execEvent( __buttonViewCascaded_clicked__ ) }, .f. } )
qTBar:addItem( { "view_tiled" , "View as Tiled" , QIcon( xbp_image( "view_tiled" ) ), {|| ::execEvent( __buttonViewTiled_clicked__ ) }, .f. } )
qTBar:addItem( { "fullscreen" , "View Maximized" , QIcon( xbp_image( "fullscreen" ) ), {|| ::execEvent( __buttonViewMaximized_clicked__ ) }, .f. } )
qTBar:addItem( { "view_vertstacked" , "View Vertically Tiled" , QIcon( xbp_image( "view_vertstacked" ) ), {|| ::execEvent( __buttonViewStackedVert_clicked__ ) }, .f. } )
qTBar:addItem( { "view_horzstacked" , "View Horizontally Tiled" , QIcon( xbp_image( "view_horzstacked" ) ), {|| ::execEvent( __buttonViewStackedHorz_clicked__ ) }, .f. } )
qTBar:addItem( { "view_zoomin" , "View Zoom In" , QIcon( xbp_image( "view_zoomin" ) ), {|| ::execEvent( __buttonViewZoomedIn_clicked__ ) }, .f. } )
qTBar:addItem( { "view_zoomout" , "View Zoom Out" , QIcon( xbp_image( "view_zoomout" ) ), {|| ::execEvent( __buttonViewZoomedOut_clicked__ ) }, .f. } )
qTBar:addItem( { "view_cascaded" , "View as Cascaded" , QIcon( dbu_Image( "view_cascaded" ) ), {|| ::execEvent( __buttonViewCascaded_clicked__ ) }, .f. } )
qTBar:addItem( { "view_tiled" , "View as Tiled" , QIcon( dbu_Image( "view_tiled" ) ), {|| ::execEvent( __buttonViewTiled_clicked__ ) }, .f. } )
qTBar:addItem( { "fullscreen" , "View Maximized" , QIcon( dbu_Image( "fullscreen" ) ), {|| ::execEvent( __buttonViewMaximized_clicked__ ) }, .f. } )
qTBar:addItem( { "view_vertstacked" , "View Vertically Tiled" , QIcon( dbu_Image( "view_vertstacked" ) ), {|| ::execEvent( __buttonViewStackedVert_clicked__ ) }, .f. } )
qTBar:addItem( { "view_horzstacked" , "View Horizontally Tiled" , QIcon( dbu_Image( "view_horzstacked" ) ), {|| ::execEvent( __buttonViewStackedHorz_clicked__ ) }, .f. } )
qTBar:addItem( { "view_zoomin" , "View Zoom In" , QIcon( dbu_Image( "view_zoomin" ) ), {|| ::execEvent( __buttonViewZoomedIn_clicked__ ) }, .f. } )
qTBar:addItem( { "view_zoomout" , "View Zoom Out" , QIcon( dbu_Image( "view_zoomout" ) ), {|| ::execEvent( __buttonViewZoomedOut_clicked__ ) }, .f. } )
qTBar:addItem( , , , , , XBPTOOLBAR_BUTTON_SEPARATOR )
qTBar:addItem( { "database_add" , "Append Record" , QIcon( xbp_image( "database_add" ) ), {|| ::execEvent( __buttonAppendRecord_clicked__ ) }, .f. } )
qTBar:addItem( { "database_remove" , "Delete Record" , QIcon( xbp_image( "database_remove" ) ), {|| ::execEvent( __buttonDelRecord_clicked__ ) }, .f. } )
qTBar:addItem( { "database_lock" , "Lock/Unlock Record" , QIcon( xbp_image( "database_lock" ) ), {|| ::execEvent( __buttonLockRecord_clicked__ ) }, .f. } )
qTBar:addItem( { "database_add" , "Append Record" , QIcon( dbu_Image( "database_add" ) ), {|| ::execEvent( __buttonAppendRecord_clicked__ ) }, .f. } )
qTBar:addItem( { "database_remove" , "Delete Record" , QIcon( dbu_Image( "database_remove" ) ), {|| ::execEvent( __buttonDelRecord_clicked__ ) }, .f. } )
qTBar:addItem( { "database_lock" , "Lock/Unlock Record" , QIcon( dbu_Image( "database_lock" ) ), {|| ::execEvent( __buttonLockRecord_clicked__ ) }, .f. } )
qTBar:addItem( , , , , , XBPTOOLBAR_BUTTON_SEPARATOR )
qTBar:addItem( { "database_up" , "Goto Top" , QIcon( xbp_image( "database_up" ) ), {|| ::execEvent( __buttonGoTop_clicked__ ) }, .f. } )
qTBar:addItem( { "database_down" , "Goto Bottom" , QIcon( xbp_image( "database_down" ) ), {|| ::execEvent( __buttonGoBottom_clicked__ ) }, .f. } )
qTBar:addItem( { "database_previous", "Scroll to First Column" , QIcon( xbp_image( "database_previous" ) ), {|| ::execEvent( __buttonScrollToFirst_clicked__ ) }, .f. } )
qTBar:addItem( { "database_next" , "Scroll to Last Column" , QIcon( xbp_image( "database_next" ) ), {|| ::execEvent( __buttonScrollToLast_clicked__ ) }, .f. } )
qTBar:addItem( { "database_up" , "Goto Top" , QIcon( dbu_Image( "database_up" ) ), {|| ::execEvent( __buttonGoTop_clicked__ ) }, .f. } )
qTBar:addItem( { "database_down" , "Goto Bottom" , QIcon( dbu_Image( "database_down" ) ), {|| ::execEvent( __buttonGoBottom_clicked__ ) }, .f. } )
qTBar:addItem( { "database_previous", "Scroll to First Column" , QIcon( dbu_Image( "database_previous" ) ), {|| ::execEvent( __buttonScrollToFirst_clicked__ ) }, .f. } )
qTBar:addItem( { "database_next" , "Scroll to Last Column" , QIcon( dbu_Image( "database_next" ) ), {|| ::execEvent( __buttonScrollToLast_clicked__ ) }, .f. } )
qTBar:addItem( , , , , , XBPTOOLBAR_BUTTON_SEPARATOR )
qTBar:addItem( { "database_search" , "Search in Table" , QIcon( xbp_image( "database_search" ) ), {|| ::execEvent( __buttonSearchInTable_clicked__ ) }, .f. } )
qTBar:addItem( { "database_search" , "Search in Table" , QIcon( dbu_Image( "database_search" ) ), {|| ::execEvent( __buttonSearchInTable_clicked__ ) }, .f. } )
qTBar:addItem( , , , , , XBPTOOLBAR_BUTTON_SEPARATOR )
qTBar:addItem( { "database_process" , "Zap Table" , QIcon( xbp_image( "database_process" ) ), {|| ::execEvent( __buttonZaptable_clicked__ ) }, .f. } )
qTBar:addItem( { "database_process" , "Zap Table" , QIcon( dbu_Image( "database_process" ) ), {|| ::execEvent( __buttonZaptable_clicked__ ) }, .f. } )
RETURN NIL
@@ -1087,7 +1087,7 @@ METHOD HbpDBU:buildPanelsButton()
::qPanelsButton := QToolButton()
::qPanelsButton:setTooltip( "HbpDBU Panels" )
::qPanelsButton:setIcon( QIcon( xbp_image( "panel_8" ) ) )
::qPanelsButton:setIcon( QIcon( dbu_Image( "panel_8" ) ) )
::qPanelsButton:setPopupMode( QToolButton_MenuButtonPopup )
::qPanelsButton:setMenu( ::qPanelsMenu )
@@ -1135,7 +1135,7 @@ METHOD HbpDBU:buildTablesButton()
::qTablesButton := QToolButton()
::qTablesButton:setTooltip( "Tables" )
::qTablesButton:setIcon( QIcon( xbp_image( "table" ) ) )
::qTablesButton:setIcon( QIcon( dbu_Image( "table" ) ) )
::qTablesButton:setPopupMode( QToolButton_MenuButtonPopup )
::qTablesButton:setMenu( ::qTablesMenu )
@@ -1153,7 +1153,7 @@ METHOD HbpDBU:buildIndexButton()
::qIndexButton := QToolButton()
::qIndexButton:setTooltip( "Indexes" )
::qIndexButton:setIcon( QIcon( xbp_image( "sort" ) ) )
::qIndexButton:setIcon( QIcon( dbu_Image( "sort" ) ) )
::qIndexButton:setPopupMode( QToolButton_MenuButtonPopup )
::qIndexButton:setMenu( ::qIndexMenu )
@@ -1916,7 +1916,7 @@ METHOD HbpBrowse:buildMdiWindow()
::qMdi:setWindowTitle( ::cTable )
::qMdi:setObjectName( hb_ntos( nID ) )
::qMdi:setWindowIcon( QIcon( xbp_image( "dbf_p" + hb_ntos( ::nID ) ) ) )
::qMdi:setWindowIcon( QIcon( dbu_Image( "dbf_p" + hb_ntos( ::nID ) ) ) )
IF ! empty( ::aInfo[ TBL_GEOMETRY ] )
qRect := hb_aTokens( ::aInfo[ TBL_GEOMETRY ], " " )
@@ -2823,7 +2823,7 @@ STATIC FUNCTION hbide_fetchADate( qParent, cTitle, cPrompt, dDefault )
DEFAULT cTitle TO "A Date Value"
DEFAULT cPrompt TO "What"
oUI := hbqtui_xbpFetchDate( qParent )
oUI := hbqtui_FetchDate( qParent )
oUI:setWindowTitle( cTitle )
oUI:labelPrompt:setText( cPrompt )
@@ -2896,3 +2896,8 @@ STATIC FUNCTION hbide_fldType2Desc( cType )
/*----------------------------------------------------------------------*/
FUNCTION dbu_Image( cName )
RETURN ":/dbu/resources" + "/" + cName + ".png"
/*----------------------------------------------------------------------*/

View File

@@ -1,5 +1,5 @@
<RCC>
<qresource prefix="xbp">
<qresource prefix="dbu">
<file>resources/view_cascaded.png</file>
<file>resources/view_organized.png</file>
<file>resources/view_tabbed.png</file>

View File

@@ -0,0 +1,9 @@
#
# $Id$
#
incpaths=.
libs=${_HB_DYNPREF}${hb_name}${_HB_DYNSUFF}
libs=hbxbp.hbc

View File

@@ -0,0 +1,18 @@
#
# $Id$
#
-hblib
-inc
-o${hb_name}
-w3 -es2
hbxbp.hbc
dbu.prg
dbu.qrc
dbstruct.ui
fetchdate.ui
tables.ui

View File

Before

Width:  |  Height:  |  Size: 375 B

After

Width:  |  Height:  |  Size: 375 B

View File

Before

Width:  |  Height:  |  Size: 787 B

After

Width:  |  Height:  |  Size: 787 B

View File

Before

Width:  |  Height:  |  Size: 960 B

After

Width:  |  Height:  |  Size: 960 B

View File

Before

Width:  |  Height:  |  Size: 962 B

After

Width:  |  Height:  |  Size: 962 B

View File

Before

Width:  |  Height:  |  Size: 960 B

After

Width:  |  Height:  |  Size: 960 B

View File

Before

Width:  |  Height:  |  Size: 919 B

After

Width:  |  Height:  |  Size: 919 B

View File

Before

Width:  |  Height:  |  Size: 959 B

After

Width:  |  Height:  |  Size: 959 B

View File

Before

Width:  |  Height:  |  Size: 960 B

After

Width:  |  Height:  |  Size: 960 B

View File

Before

Width:  |  Height:  |  Size: 952 B

After

Width:  |  Height:  |  Size: 952 B

View File

Before

Width:  |  Height:  |  Size: 958 B

After

Width:  |  Height:  |  Size: 958 B

View File

Before

Width:  |  Height:  |  Size: 907 B

After

Width:  |  Height:  |  Size: 907 B

View File

Before

Width:  |  Height:  |  Size: 955 B

After

Width:  |  Height:  |  Size: 955 B

View File

Before

Width:  |  Height:  |  Size: 121 B

After

Width:  |  Height:  |  Size: 121 B

View File

Before

Width:  |  Height:  |  Size: 119 B

After

Width:  |  Height:  |  Size: 119 B

View File

Before

Width:  |  Height:  |  Size: 110 B

After

Width:  |  Height:  |  Size: 110 B

View File

Before

Width:  |  Height:  |  Size: 114 B

After

Width:  |  Height:  |  Size: 114 B

View File

Before

Width:  |  Height:  |  Size: 114 B

After

Width:  |  Height:  |  Size: 114 B

View File

Before

Width:  |  Height:  |  Size: 112 B

After

Width:  |  Height:  |  Size: 112 B

View File

Before

Width:  |  Height:  |  Size: 117 B

After

Width:  |  Height:  |  Size: 117 B

View File

Before

Width:  |  Height:  |  Size: 123 B

After

Width:  |  Height:  |  Size: 123 B

View File

Before

Width:  |  Height:  |  Size: 116 B

After

Width:  |  Height:  |  Size: 116 B

View File

Before

Width:  |  Height:  |  Size: 123 B

After

Width:  |  Height:  |  Size: 123 B

View File

Before

Width:  |  Height:  |  Size: 262 B

After

Width:  |  Height:  |  Size: 262 B

View File

Before

Width:  |  Height:  |  Size: 489 B

After

Width:  |  Height:  |  Size: 489 B

View File

Before

Width:  |  Height:  |  Size: 342 B

After

Width:  |  Height:  |  Size: 342 B

View File

Before

Width:  |  Height:  |  Size: 1.2 KiB

After

Width:  |  Height:  |  Size: 1.2 KiB

View File

Before

Width:  |  Height:  |  Size: 475 B

After

Width:  |  Height:  |  Size: 475 B

View File

Before

Width:  |  Height:  |  Size: 349 B

After

Width:  |  Height:  |  Size: 349 B

View File

Before

Width:  |  Height:  |  Size: 329 B

After

Width:  |  Height:  |  Size: 329 B

View File

Before

Width:  |  Height:  |  Size: 639 B

After

Width:  |  Height:  |  Size: 639 B

View File

Before

Width:  |  Height:  |  Size: 243 B

After

Width:  |  Height:  |  Size: 243 B

View File

Before

Width:  |  Height:  |  Size: 398 B

After

Width:  |  Height:  |  Size: 398 B

View File

Before

Width:  |  Height:  |  Size: 564 B

After

Width:  |  Height:  |  Size: 564 B

View File

Before

Width:  |  Height:  |  Size: 162 B

After

Width:  |  Height:  |  Size: 162 B

View File

Before

Width:  |  Height:  |  Size: 920 B

After

Width:  |  Height:  |  Size: 920 B

View File

Before

Width:  |  Height:  |  Size: 576 B

After

Width:  |  Height:  |  Size: 576 B

View File

Before

Width:  |  Height:  |  Size: 564 B

After

Width:  |  Height:  |  Size: 564 B

View File

Before

Width:  |  Height:  |  Size: 279 B

After

Width:  |  Height:  |  Size: 279 B

View File

Before

Width:  |  Height:  |  Size: 302 B

After

Width:  |  Height:  |  Size: 302 B

View File

Before

Width:  |  Height:  |  Size: 753 B

After

Width:  |  Height:  |  Size: 753 B

View File

Before

Width:  |  Height:  |  Size: 293 B

After

Width:  |  Height:  |  Size: 293 B

View File

Before

Width:  |  Height:  |  Size: 330 B

After

Width:  |  Height:  |  Size: 330 B

View File

Before

Width:  |  Height:  |  Size: 327 B

After

Width:  |  Height:  |  Size: 327 B

View File

Before

Width:  |  Height:  |  Size: 769 B

After

Width:  |  Height:  |  Size: 769 B

View File

Before

Width:  |  Height:  |  Size: 772 B

After

Width:  |  Height:  |  Size: 772 B

View File

@@ -624,10 +624,3 @@ FUNCTION Xbp_getNextIdAsString( cString )
RETURN cString + "_" + hb_ntos( ++hIDs[ cString ] )
/*----------------------------------------------------------------------*/
FUNCTION Xbp_Image( cName )
RETURN ":/xbp/resources" + "/" + cName + ".png"
/*----------------------------------------------------------------------*/

View File

@@ -55,7 +55,6 @@ tabpage.prg
toolbar.prg
treeview.prg
window.prg
dbu.prg
xbp.qrc