2012-07-18 01:29 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/hbide/hbide.qrc
+ contrib/hbide/resources/maximize.png
+ contrib/hbide/resources/maximize_all.png
+ contrib/hbide/resources/minimize.png
+ contrib/hbide/resources/minimize_all.png
+ Added: more images.
* contrib/hbide/ideprojectwizard.prg
* contrib/hbide/projectwizard.ui
! Advanced: user interface is almost done and is ready for
final show-down. Please review the working of the components.
; QUESTION: should everything go inside .hbp or should I introduce
templates to hold the project sections and be reloadable
by 1) only switches and parameters, 2) sources also.
This commit is contained in:
@@ -16,6 +16,23 @@
|
||||
The license applies to all entries newer than 2009-04-28.
|
||||
*/
|
||||
|
||||
2012-07-18 01:29 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
|
||||
* contrib/hbide/hbide.qrc
|
||||
+ contrib/hbide/resources/maximize.png
|
||||
+ contrib/hbide/resources/maximize_all.png
|
||||
+ contrib/hbide/resources/minimize.png
|
||||
+ contrib/hbide/resources/minimize_all.png
|
||||
+ Added: more images.
|
||||
|
||||
* contrib/hbide/ideprojectwizard.prg
|
||||
* contrib/hbide/projectwizard.ui
|
||||
! Advanced: user interface is almost done and is ready for
|
||||
final show-down. Please review the working of the components.
|
||||
|
||||
; QUESTION: should everything go inside .hbp or should I introduce
|
||||
templates to hold the project sections and be reloadable
|
||||
by 1) only switches and parameters, 2) sources also.
|
||||
|
||||
2012-07-18 09:41 UTC+0200 Viktor Szakats (harbour syenar.net)
|
||||
* contrib/hbide/resources/collapse_m.png
|
||||
* contrib/hbide/resources/expand_m.png
|
||||
|
||||
@@ -1,295 +1,299 @@
|
||||
<!DOCTYPE RCC><RCC version="1.0">
|
||||
<qresource>
|
||||
<file>resources/arguments.png</file>
|
||||
<file>resources/blockcomment.png</file>
|
||||
<file>resources/blockindentl.png</file>
|
||||
<file>resources/blockindentr.png</file>
|
||||
<file>resources/bookmark.png</file>
|
||||
<file>resources/browser.png</file>
|
||||
<file>resources/build.png</file>
|
||||
<file>resources/builderror.png</file>
|
||||
<file>resources/buildlaunch.png</file>
|
||||
<file>resources/buildrun.png</file>
|
||||
<file>resources/buildsource.png</file>
|
||||
<file>resources/check.png</file>
|
||||
<file>resources/clean.png</file>
|
||||
<file>resources/cleanrun.png</file>
|
||||
<file>resources/close.png</file>
|
||||
<file>resources/close3.png</file>
|
||||
<file>resources/closeall.png</file>
|
||||
<file>resources/closeexcept.png</file>
|
||||
<file>resources/closetab.png</file>
|
||||
<file>resources/codeskeletons.png</file>
|
||||
<file>resources/column.png</file>
|
||||
<file>resources/compile.png</file>
|
||||
<file>resources/copy-filname.png</file>
|
||||
<file>resources/copy.png</file>
|
||||
<file>resources/curlinehilight.png</file>
|
||||
<file>resources/cut.png</file>
|
||||
<file>resources/cutb16.png</file>
|
||||
<file>resources/database.png</file>
|
||||
<file>resources/database_accept.png</file>
|
||||
<file>resources/database_add.png</file>
|
||||
<file>resources/database_remove.png</file>
|
||||
<file>resources/database_lock.png</file>
|
||||
<file>resources/database_process.png</file>
|
||||
<file>resources/database_up.png</file>
|
||||
<file>resources/database_down.png</file>
|
||||
<file>resources/database_previous.png</file>
|
||||
<file>resources/database_next.png</file>
|
||||
<file>resources/database_search.png</file>
|
||||
<file>resources/dbl2sglquote.png</file>
|
||||
<file>resources/dbstruct.png</file>
|
||||
<file>resources/dbf_p1.png</file>
|
||||
<file>resources/dbf_p2.png</file>
|
||||
<file>resources/dbf_p3.png</file>
|
||||
<file>resources/dbf_p4.png</file>
|
||||
<file>resources/dbf_p5.png</file>
|
||||
<file>resources/dbf_p6.png</file>
|
||||
<file>resources/dbf_p7.png</file>
|
||||
<file>resources/dbf_p8.png</file>
|
||||
<file>resources/dbf_p9.png</file>
|
||||
<file>resources/dbf_p10.png</file>
|
||||
<file>resources/dc_delete.png</file>
|
||||
<file>resources/dc_down.png</file>
|
||||
<file>resources/dc_folder.png</file>
|
||||
<file>resources/dc_function.png</file>
|
||||
<file>resources/dc_home.png</file>
|
||||
<file>resources/dc_left.png</file>
|
||||
<file>resources/dc_pdffile.png</file>
|
||||
<file>resources/dc_plus.png</file>
|
||||
<file>resources/dc_print.png</file>
|
||||
<file>resources/dc_quit.png</file>
|
||||
<file>resources/dc_refresh.png</file>
|
||||
<file>resources/dc_right.png</file>
|
||||
<file>resources/dc_textdoc.png</file>
|
||||
<file>resources/dc_textdocument.png</file>
|
||||
<file>resources/dc_up.png</file>
|
||||
<file>resources/debug.png</file>
|
||||
<file>resources/decreaseindent.png</file>
|
||||
<file>resources/deleteline.png</file>
|
||||
<file>resources/description.png</file>
|
||||
<file>resources/designer.png</file>
|
||||
<file>resources/docwriter.png</file>
|
||||
<file>resources/down.png</file>
|
||||
<file>resources/down16.png</file>
|
||||
<file>resources/duplicateline.png</file>
|
||||
<file>resources/editstree.png</file>
|
||||
<file>resources/envconfig.png</file>
|
||||
<file>resources/example.png</file>
|
||||
<file>resources/exit.png</file>
|
||||
<file>resources/exit3.png</file>
|
||||
<file>resources/exporthtml.png</file>
|
||||
<file>resources/ffn.png</file>
|
||||
<file>resources/filec.png</file>
|
||||
<file>resources/fileprg.png</file>
|
||||
<file>resources/find.png</file>
|
||||
<file>resources/fl_c.png</file>
|
||||
<file>resources/fl_dll.png</file>
|
||||
<file>resources/fl_exe.png</file>
|
||||
<file>resources/fl_ini.png</file>
|
||||
<file>resources/fl_lib.png</file>
|
||||
<file>resources/fl_prg.png</file>
|
||||
<file>resources/fl_res.png</file>
|
||||
<file>resources/fl_txt.png</file>
|
||||
<file>resources/file-open.png</file>
|
||||
<file>resources/folder.png</file>
|
||||
<file>resources/font.png</file>
|
||||
<file>resources/formview.png</file>
|
||||
<file>resources/fullscreen.png</file>
|
||||
<file>resources/go-bottom.png</file>
|
||||
<file>resources/go-down.png</file>
|
||||
<file>resources/go-first.png</file>
|
||||
<file>resources/go-jump.png</file>
|
||||
<file>resources/go-last.png</file>
|
||||
<file>resources/go-next.png</file>
|
||||
<file>resources/go-prev.png</file>
|
||||
<file>resources/go-top.png</file>
|
||||
<file>resources/go-up.png</file>
|
||||
<file>resources/gotoline.png</file>
|
||||
<file>resources/gotoline3.png</file>
|
||||
<file>resources/gotomark.png</file>
|
||||
<file>resources/grid.png</file>
|
||||
<file>resources/harbour.png</file>
|
||||
<file>resources/harbourhelp.png</file>
|
||||
<file>resources/hb-16x16.png</file>
|
||||
<file>resources/hb-32x32.png</file>
|
||||
<file>resources/hbide.png</file>
|
||||
<file>resources/hbidesplash.png</file>
|
||||
<file>resources/hbidesplashwatermark.png</file>
|
||||
<file>resources/help.png</file>
|
||||
<file>resources/help1.png</file>
|
||||
<file>resources/helpdoc.png</file>
|
||||
<file>resources/hilight-all.png</file>
|
||||
<file>resources/home3.png</file>
|
||||
<file>resources/horzruler.png</file>
|
||||
<file>resources/idepreferences.png</file>
|
||||
<file>resources/increaseindent.png</file>
|
||||
<file>resources/indent-more.png</file>
|
||||
<file>resources/indent-less.png</file>
|
||||
<file>resources/info.png</file>
|
||||
<file>resources/infotips.png</file>
|
||||
<file>resources/insert-datetime.png</file>
|
||||
<file>resources/insert-external-file.png</file>
|
||||
<file>resources/insert-procname.png</file>
|
||||
<file>resources/insert-separator.png</file>
|
||||
<file>resources/invertcase.png</file>
|
||||
<file>resources/keyboardmappings.png</file>
|
||||
<file>resources/launch.png</file>
|
||||
<file>resources/lense.png</file>
|
||||
<file>resources/list-developers.png</file>
|
||||
<file>resources/list-users.png</file>
|
||||
<file>resources/load_1.png</file>
|
||||
<file>resources/load_2.png</file>
|
||||
<file>resources/load_3.png</file>
|
||||
<file>resources/Lookup.png</file>
|
||||
<file>resources/matchobj.png</file>
|
||||
<file>resources/minus.png</file>
|
||||
<file>resources/modulelist.png</file>
|
||||
<file>resources/movelinedown.png</file>
|
||||
<file>resources/movelineup.png</file>
|
||||
<file>resources/new.png</file>
|
||||
<file>resources/new2.png</file>
|
||||
<file>resources/next.png</file>
|
||||
<file>resources/notepad.png</file>
|
||||
<file>resources/open.png</file>
|
||||
<file>resources/open2.png</file>
|
||||
<file>resources/open3.png</file>
|
||||
<file>resources/panel_1.png</file>
|
||||
<file>resources/panel_2.png</file>
|
||||
<file>resources/panel_3.png</file>
|
||||
<file>resources/panel_4.png</file>
|
||||
<file>resources/panel_5.png</file>
|
||||
<file>resources/panel_6.png</file>
|
||||
<file>resources/panel_7.png</file>
|
||||
<file>resources/panel_8.png</file>
|
||||
<file>resources/panel_9.png</file>
|
||||
<file>resources/panel_10.png</file>
|
||||
<file>resources/panel_11.png</file>
|
||||
<file>resources/panel_12.png</file>
|
||||
<file>resources/panel_13.png</file>
|
||||
<file>resources/paste.png</file>
|
||||
<file>resources/placeremovemark.png</file>
|
||||
<file>resources/ppo.png</file>
|
||||
<file>resources/previous.png</file>
|
||||
<file>resources/print.png</file>
|
||||
<file>resources/project.png</file>
|
||||
<file>resources/projectadd.png</file>
|
||||
<file>resources/projectdel.png</file>
|
||||
<file>resources/projectstree.png</file>
|
||||
<file>resources/projtree.png</file>
|
||||
<file>resources/properties.png</file>
|
||||
<file>resources/readonly.png</file>
|
||||
<file>resources/rebuild.png</file>
|
||||
<file>resources/rebuildlaunch.png</file>
|
||||
<file>resources/redo.png</file>
|
||||
<file>resources/richtext.png</file>
|
||||
<file>resources/run.png</file>
|
||||
<file>resources/runscript.png</file>
|
||||
<file>resources/runnodebug.png</file>
|
||||
<file>resources/save.png</file>
|
||||
<file>resources/save3.png</file>
|
||||
<file>resources/saveall.png</file>
|
||||
<file>resources/saveas.png</file>
|
||||
<file>resources/search.png</file>
|
||||
<file>resources/selectall.png</file>
|
||||
<file>resources/selectionline.png</file>
|
||||
<file>resources/setmain.png</file>
|
||||
<file>resources/sgl2dblquote.png</file>
|
||||
<file>resources/sort.png</file>
|
||||
<file>resources/sortdescend.png</file>
|
||||
<file>resources/source_c.png</file>
|
||||
<file>resources/source_cpp.png</file>
|
||||
<file>resources/source_h.png</file>
|
||||
<file>resources/source_o.png</file>
|
||||
<file>resources/source_prg.png</file>
|
||||
<file>resources/source_res.png</file>
|
||||
<file>resources/source_txt.png</file>
|
||||
<file>resources/source_unknown.png</file>
|
||||
<file>resources/statistics.png</file>
|
||||
<file>resources/spacestotabs.png</file>
|
||||
<file>resources/stream.png</file>
|
||||
<file>resources/streamcomment.png</file>
|
||||
<file>resources/syntaxhiliter.png</file>
|
||||
<file>resources/tabcmodified.png</file>
|
||||
<file>resources/tabmodified.png</file>
|
||||
<file>resources/tabreadonly.png</file>
|
||||
<file>resources/tabs.png</file>
|
||||
<file>resources/tabstospaces.png</file>
|
||||
<file>resources/tabunmodified.png</file>
|
||||
<file>resources/tests.png</file>
|
||||
<file>resources/text.png</file>
|
||||
<file>resources/thumbnail.png</file>
|
||||
<file>resources/togglelinenumber.png</file>
|
||||
<file>resources/tolower.png</file>
|
||||
<file>resources/tools.png</file>
|
||||
<file>resources/toupper.png</file>
|
||||
<file>resources/trashpage.png</file>
|
||||
<file>resources/undo.png</file>
|
||||
<file>resources/unload_1.png</file>
|
||||
<file>resources/up.png</file>
|
||||
<file>resources/up16.png</file>
|
||||
<file>resources/view_cascaded.png</file>
|
||||
<file>resources/view_organized.png</file>
|
||||
<file>resources/view_tabbed.png</file>
|
||||
<file>resources/view_tiled.png</file>
|
||||
<file>resources/view_vertstacked.png</file>
|
||||
<file>resources/view_horzstacked.png</file>
|
||||
<file>resources/view_zoomin.png</file>
|
||||
<file>resources/view_zoomout.png</file>
|
||||
<file>resources/view_refresh.png</file>
|
||||
<file>resources/vr-16x16.png</file>
|
||||
<file>resources/vr.png</file>
|
||||
<file>resources/xmate.png</file>
|
||||
<file>resources/zoomin.png</file>
|
||||
<file>resources/zoomout.png</file>
|
||||
<file>resources/zoomin3.png</file>
|
||||
<file>resources/zoomout3.png</file>
|
||||
<file>resources/f_align_left.png</file>
|
||||
<file>resources/f_align_right.png</file>
|
||||
<file>resources/f_align_center.png</file>
|
||||
<file>resources/f_align_justify.png</file>
|
||||
<file>resources/f_align_top.png</file>
|
||||
<file>resources/f_align_middle.png</file>
|
||||
<file>resources/f_align_bottom.png</file>
|
||||
<file>resources/f_box_top.png</file>
|
||||
<file>resources/f_box_left.png</file>
|
||||
<file>resources/f_box_bottom.png</file>
|
||||
<file>resources/f_box_right.png</file>
|
||||
<file>resources/f_box_all.png</file>
|
||||
<file>resources/f_box_plain.png</file>
|
||||
<file>resources/f_box_shadow.png</file>
|
||||
<file>resources/f-generic.png</file>
|
||||
<file>resources/f-image.png</file>
|
||||
<file>resources/f_chart.png</file>
|
||||
<file>resources/f_gradient.png</file>
|
||||
<file>resources/f_barcode.png</file>
|
||||
<file>resources/f-bold-1.png</file>
|
||||
<file>resources/f-italic-1.png</file>
|
||||
<file>resources/f-underline-1.png</file>
|
||||
<file>resources/f-strike-1.png</file>
|
||||
<file>resources/toback.png</file>
|
||||
<file>resources/tofront.png</file>
|
||||
<file>resources/r-page.png</file>
|
||||
<file>resources/r-report.png</file>
|
||||
<file>resources/r-landscape.png</file>
|
||||
<file>resources/r-portrait.png</file>
|
||||
<file>resources/rp_arc.png</file>
|
||||
<file>resources/rp_chord.png</file>
|
||||
<file>resources/rp_diamond.png</file>
|
||||
<file>resources/rp_triangle.png</file>
|
||||
<file>resources/rp_rectangle.png</file>
|
||||
<file>resources/rp_roundrectangle.png</file>
|
||||
<file>resources/rp_linevert.png</file>
|
||||
<file>resources/rp_linehorz.png</file>
|
||||
<file>resources/rp_linediagright.png</file>
|
||||
<file>resources/rp_linediagleft.png</file>
|
||||
<file>resources/rp_ellipse.png</file>
|
||||
<file>resources/rp_shapes.png</file>
|
||||
<file>resources/memo.png</file>
|
||||
<file>resources/hideshow.png</file>
|
||||
<file>resources/cuied.png</file>
|
||||
<file>resources/expand_m.png</file>
|
||||
<file>resources/collapse_m.png</file>
|
||||
</qresource>
|
||||
<RCC>
|
||||
<qresource>
|
||||
<file>resources/minimize_all.png</file>
|
||||
<file>resources/maximize_all.png</file>
|
||||
<file>resources/maximize.png</file>
|
||||
<file>resources/minimize.png</file>
|
||||
<file>resources/arguments.png</file>
|
||||
<file>resources/blockcomment.png</file>
|
||||
<file>resources/blockindentl.png</file>
|
||||
<file>resources/blockindentr.png</file>
|
||||
<file>resources/bookmark.png</file>
|
||||
<file>resources/browser.png</file>
|
||||
<file>resources/build.png</file>
|
||||
<file>resources/builderror.png</file>
|
||||
<file>resources/buildlaunch.png</file>
|
||||
<file>resources/buildrun.png</file>
|
||||
<file>resources/buildsource.png</file>
|
||||
<file>resources/check.png</file>
|
||||
<file>resources/clean.png</file>
|
||||
<file>resources/cleanrun.png</file>
|
||||
<file>resources/close.png</file>
|
||||
<file>resources/close3.png</file>
|
||||
<file>resources/closeall.png</file>
|
||||
<file>resources/closeexcept.png</file>
|
||||
<file>resources/closetab.png</file>
|
||||
<file>resources/codeskeletons.png</file>
|
||||
<file>resources/column.png</file>
|
||||
<file>resources/compile.png</file>
|
||||
<file>resources/copy-filname.png</file>
|
||||
<file>resources/copy.png</file>
|
||||
<file>resources/curlinehilight.png</file>
|
||||
<file>resources/cut.png</file>
|
||||
<file>resources/cutb16.png</file>
|
||||
<file>resources/database.png</file>
|
||||
<file>resources/database_accept.png</file>
|
||||
<file>resources/database_add.png</file>
|
||||
<file>resources/database_remove.png</file>
|
||||
<file>resources/database_lock.png</file>
|
||||
<file>resources/database_process.png</file>
|
||||
<file>resources/database_up.png</file>
|
||||
<file>resources/database_down.png</file>
|
||||
<file>resources/database_previous.png</file>
|
||||
<file>resources/database_next.png</file>
|
||||
<file>resources/database_search.png</file>
|
||||
<file>resources/dbl2sglquote.png</file>
|
||||
<file>resources/dbstruct.png</file>
|
||||
<file>resources/dbf_p1.png</file>
|
||||
<file>resources/dbf_p2.png</file>
|
||||
<file>resources/dbf_p3.png</file>
|
||||
<file>resources/dbf_p4.png</file>
|
||||
<file>resources/dbf_p5.png</file>
|
||||
<file>resources/dbf_p6.png</file>
|
||||
<file>resources/dbf_p7.png</file>
|
||||
<file>resources/dbf_p8.png</file>
|
||||
<file>resources/dbf_p9.png</file>
|
||||
<file>resources/dbf_p10.png</file>
|
||||
<file>resources/dc_delete.png</file>
|
||||
<file>resources/dc_down.png</file>
|
||||
<file>resources/dc_folder.png</file>
|
||||
<file>resources/dc_function.png</file>
|
||||
<file>resources/dc_home.png</file>
|
||||
<file>resources/dc_left.png</file>
|
||||
<file>resources/dc_pdffile.png</file>
|
||||
<file>resources/dc_plus.png</file>
|
||||
<file>resources/dc_print.png</file>
|
||||
<file>resources/dc_quit.png</file>
|
||||
<file>resources/dc_refresh.png</file>
|
||||
<file>resources/dc_right.png</file>
|
||||
<file>resources/dc_textdoc.png</file>
|
||||
<file>resources/dc_textdocument.png</file>
|
||||
<file>resources/dc_up.png</file>
|
||||
<file>resources/debug.png</file>
|
||||
<file>resources/decreaseindent.png</file>
|
||||
<file>resources/deleteline.png</file>
|
||||
<file>resources/description.png</file>
|
||||
<file>resources/designer.png</file>
|
||||
<file>resources/docwriter.png</file>
|
||||
<file>resources/down.png</file>
|
||||
<file>resources/down16.png</file>
|
||||
<file>resources/duplicateline.png</file>
|
||||
<file>resources/editstree.png</file>
|
||||
<file>resources/envconfig.png</file>
|
||||
<file>resources/example.png</file>
|
||||
<file>resources/exit.png</file>
|
||||
<file>resources/exit3.png</file>
|
||||
<file>resources/exporthtml.png</file>
|
||||
<file>resources/ffn.png</file>
|
||||
<file>resources/filec.png</file>
|
||||
<file>resources/fileprg.png</file>
|
||||
<file>resources/find.png</file>
|
||||
<file>resources/fl_c.png</file>
|
||||
<file>resources/fl_dll.png</file>
|
||||
<file>resources/fl_exe.png</file>
|
||||
<file>resources/fl_ini.png</file>
|
||||
<file>resources/fl_lib.png</file>
|
||||
<file>resources/fl_prg.png</file>
|
||||
<file>resources/fl_res.png</file>
|
||||
<file>resources/fl_txt.png</file>
|
||||
<file>resources/file-open.png</file>
|
||||
<file>resources/folder.png</file>
|
||||
<file>resources/font.png</file>
|
||||
<file>resources/formview.png</file>
|
||||
<file>resources/fullscreen.png</file>
|
||||
<file>resources/go-bottom.png</file>
|
||||
<file>resources/go-down.png</file>
|
||||
<file>resources/go-first.png</file>
|
||||
<file>resources/go-jump.png</file>
|
||||
<file>resources/go-last.png</file>
|
||||
<file>resources/go-next.png</file>
|
||||
<file>resources/go-prev.png</file>
|
||||
<file>resources/go-top.png</file>
|
||||
<file>resources/go-up.png</file>
|
||||
<file>resources/gotoline.png</file>
|
||||
<file>resources/gotoline3.png</file>
|
||||
<file>resources/gotomark.png</file>
|
||||
<file>resources/grid.png</file>
|
||||
<file>resources/harbour.png</file>
|
||||
<file>resources/harbourhelp.png</file>
|
||||
<file>resources/hb-16x16.png</file>
|
||||
<file>resources/hb-32x32.png</file>
|
||||
<file>resources/hbide.png</file>
|
||||
<file>resources/hbidesplash.png</file>
|
||||
<file>resources/hbidesplashwatermark.png</file>
|
||||
<file>resources/help.png</file>
|
||||
<file>resources/help1.png</file>
|
||||
<file>resources/helpdoc.png</file>
|
||||
<file>resources/hilight-all.png</file>
|
||||
<file>resources/home3.png</file>
|
||||
<file>resources/horzruler.png</file>
|
||||
<file>resources/idepreferences.png</file>
|
||||
<file>resources/increaseindent.png</file>
|
||||
<file>resources/indent-more.png</file>
|
||||
<file>resources/indent-less.png</file>
|
||||
<file>resources/info.png</file>
|
||||
<file>resources/infotips.png</file>
|
||||
<file>resources/insert-datetime.png</file>
|
||||
<file>resources/insert-external-file.png</file>
|
||||
<file>resources/insert-procname.png</file>
|
||||
<file>resources/insert-separator.png</file>
|
||||
<file>resources/invertcase.png</file>
|
||||
<file>resources/keyboardmappings.png</file>
|
||||
<file>resources/launch.png</file>
|
||||
<file>resources/lense.png</file>
|
||||
<file>resources/list-developers.png</file>
|
||||
<file>resources/list-users.png</file>
|
||||
<file>resources/load_1.png</file>
|
||||
<file>resources/load_2.png</file>
|
||||
<file>resources/load_3.png</file>
|
||||
<file>resources/Lookup.png</file>
|
||||
<file>resources/matchobj.png</file>
|
||||
<file>resources/minus.png</file>
|
||||
<file>resources/modulelist.png</file>
|
||||
<file>resources/movelinedown.png</file>
|
||||
<file>resources/movelineup.png</file>
|
||||
<file>resources/new.png</file>
|
||||
<file>resources/new2.png</file>
|
||||
<file>resources/next.png</file>
|
||||
<file>resources/notepad.png</file>
|
||||
<file>resources/open.png</file>
|
||||
<file>resources/open2.png</file>
|
||||
<file>resources/open3.png</file>
|
||||
<file>resources/panel_1.png</file>
|
||||
<file>resources/panel_2.png</file>
|
||||
<file>resources/panel_3.png</file>
|
||||
<file>resources/panel_4.png</file>
|
||||
<file>resources/panel_5.png</file>
|
||||
<file>resources/panel_6.png</file>
|
||||
<file>resources/panel_7.png</file>
|
||||
<file>resources/panel_8.png</file>
|
||||
<file>resources/panel_9.png</file>
|
||||
<file>resources/panel_10.png</file>
|
||||
<file>resources/panel_11.png</file>
|
||||
<file>resources/panel_12.png</file>
|
||||
<file>resources/panel_13.png</file>
|
||||
<file>resources/paste.png</file>
|
||||
<file>resources/placeremovemark.png</file>
|
||||
<file>resources/ppo.png</file>
|
||||
<file>resources/previous.png</file>
|
||||
<file>resources/print.png</file>
|
||||
<file>resources/project.png</file>
|
||||
<file>resources/projectadd.png</file>
|
||||
<file>resources/projectdel.png</file>
|
||||
<file>resources/projectstree.png</file>
|
||||
<file>resources/projtree.png</file>
|
||||
<file>resources/properties.png</file>
|
||||
<file>resources/readonly.png</file>
|
||||
<file>resources/rebuild.png</file>
|
||||
<file>resources/rebuildlaunch.png</file>
|
||||
<file>resources/redo.png</file>
|
||||
<file>resources/richtext.png</file>
|
||||
<file>resources/run.png</file>
|
||||
<file>resources/runscript.png</file>
|
||||
<file>resources/runnodebug.png</file>
|
||||
<file>resources/save.png</file>
|
||||
<file>resources/save3.png</file>
|
||||
<file>resources/saveall.png</file>
|
||||
<file>resources/saveas.png</file>
|
||||
<file>resources/search.png</file>
|
||||
<file>resources/selectall.png</file>
|
||||
<file>resources/selectionline.png</file>
|
||||
<file>resources/setmain.png</file>
|
||||
<file>resources/sgl2dblquote.png</file>
|
||||
<file>resources/sort.png</file>
|
||||
<file>resources/sortdescend.png</file>
|
||||
<file>resources/source_c.png</file>
|
||||
<file>resources/source_cpp.png</file>
|
||||
<file>resources/source_h.png</file>
|
||||
<file>resources/source_o.png</file>
|
||||
<file>resources/source_prg.png</file>
|
||||
<file>resources/source_res.png</file>
|
||||
<file>resources/source_txt.png</file>
|
||||
<file>resources/source_unknown.png</file>
|
||||
<file>resources/statistics.png</file>
|
||||
<file>resources/spacestotabs.png</file>
|
||||
<file>resources/stream.png</file>
|
||||
<file>resources/streamcomment.png</file>
|
||||
<file>resources/syntaxhiliter.png</file>
|
||||
<file>resources/tabcmodified.png</file>
|
||||
<file>resources/tabmodified.png</file>
|
||||
<file>resources/tabreadonly.png</file>
|
||||
<file>resources/tabs.png</file>
|
||||
<file>resources/tabstospaces.png</file>
|
||||
<file>resources/tabunmodified.png</file>
|
||||
<file>resources/tests.png</file>
|
||||
<file>resources/text.png</file>
|
||||
<file>resources/thumbnail.png</file>
|
||||
<file>resources/togglelinenumber.png</file>
|
||||
<file>resources/tolower.png</file>
|
||||
<file>resources/tools.png</file>
|
||||
<file>resources/toupper.png</file>
|
||||
<file>resources/trashpage.png</file>
|
||||
<file>resources/undo.png</file>
|
||||
<file>resources/unload_1.png</file>
|
||||
<file>resources/up.png</file>
|
||||
<file>resources/up16.png</file>
|
||||
<file>resources/view_cascaded.png</file>
|
||||
<file>resources/view_organized.png</file>
|
||||
<file>resources/view_tabbed.png</file>
|
||||
<file>resources/view_tiled.png</file>
|
||||
<file>resources/view_vertstacked.png</file>
|
||||
<file>resources/view_horzstacked.png</file>
|
||||
<file>resources/view_zoomin.png</file>
|
||||
<file>resources/view_zoomout.png</file>
|
||||
<file>resources/view_refresh.png</file>
|
||||
<file>resources/vr-16x16.png</file>
|
||||
<file>resources/vr.png</file>
|
||||
<file>resources/xmate.png</file>
|
||||
<file>resources/zoomin.png</file>
|
||||
<file>resources/zoomout.png</file>
|
||||
<file>resources/zoomin3.png</file>
|
||||
<file>resources/zoomout3.png</file>
|
||||
<file>resources/f_align_left.png</file>
|
||||
<file>resources/f_align_right.png</file>
|
||||
<file>resources/f_align_center.png</file>
|
||||
<file>resources/f_align_justify.png</file>
|
||||
<file>resources/f_align_top.png</file>
|
||||
<file>resources/f_align_middle.png</file>
|
||||
<file>resources/f_align_bottom.png</file>
|
||||
<file>resources/f_box_top.png</file>
|
||||
<file>resources/f_box_left.png</file>
|
||||
<file>resources/f_box_bottom.png</file>
|
||||
<file>resources/f_box_right.png</file>
|
||||
<file>resources/f_box_all.png</file>
|
||||
<file>resources/f_box_plain.png</file>
|
||||
<file>resources/f_box_shadow.png</file>
|
||||
<file>resources/f-generic.png</file>
|
||||
<file>resources/f-image.png</file>
|
||||
<file>resources/f_chart.png</file>
|
||||
<file>resources/f_gradient.png</file>
|
||||
<file>resources/f_barcode.png</file>
|
||||
<file>resources/f-bold-1.png</file>
|
||||
<file>resources/f-italic-1.png</file>
|
||||
<file>resources/f-underline-1.png</file>
|
||||
<file>resources/f-strike-1.png</file>
|
||||
<file>resources/toback.png</file>
|
||||
<file>resources/tofront.png</file>
|
||||
<file>resources/r-page.png</file>
|
||||
<file>resources/r-report.png</file>
|
||||
<file>resources/r-landscape.png</file>
|
||||
<file>resources/r-portrait.png</file>
|
||||
<file>resources/rp_arc.png</file>
|
||||
<file>resources/rp_chord.png</file>
|
||||
<file>resources/rp_diamond.png</file>
|
||||
<file>resources/rp_triangle.png</file>
|
||||
<file>resources/rp_rectangle.png</file>
|
||||
<file>resources/rp_roundrectangle.png</file>
|
||||
<file>resources/rp_linevert.png</file>
|
||||
<file>resources/rp_linehorz.png</file>
|
||||
<file>resources/rp_linediagright.png</file>
|
||||
<file>resources/rp_linediagleft.png</file>
|
||||
<file>resources/rp_ellipse.png</file>
|
||||
<file>resources/rp_shapes.png</file>
|
||||
<file>resources/memo.png</file>
|
||||
<file>resources/hideshow.png</file>
|
||||
<file>resources/cuied.png</file>
|
||||
<file>resources/expand_m.png</file>
|
||||
<file>resources/collapse_m.png</file>
|
||||
</qresource>
|
||||
</RCC>
|
||||
|
||||
@@ -94,6 +94,8 @@ CREATE CLASS IdeProjectWizard INHERIT IdeObject
|
||||
METHOD loadSwichesSections()
|
||||
METHOD deleteTreeItem( oChild )
|
||||
METHOD addTreeItem( oParent )
|
||||
METHOD addDropIndicator( oTree, oNode, cMsg, cCSS, nIndex )
|
||||
METHOD addSourceFile( cFile )
|
||||
|
||||
ENDCLASS
|
||||
|
||||
@@ -209,7 +211,6 @@ METHOD IdeProjectWizard:show()
|
||||
::oUI := ui_projectWizard():new( ::oIde:oDlg:oWidget )
|
||||
::oUI:oWidget:connect( QEvent_Close, {|| ::oUI:oWidget:done( 0 ) } )
|
||||
|
||||
::oUI:btnSwPlus : connect( "clicked()", {|| ::execEvent( "btnSw_clicked", "plus" ) } )
|
||||
::oUI:btnSwAZ : connect( "clicked()", {|| ::execEvent( "btnSw_clicked", "az" ) } )
|
||||
::oUI:btnSwZA : connect( "clicked()", {|| ::execEvent( "btnSw_clicked", "za" ) } )
|
||||
::oUI:btnSwUpper : connect( "clicked()", {|| ::execEvent( "btnSw_clicked", "upper" ) } )
|
||||
@@ -222,12 +223,18 @@ METHOD IdeProjectWizard:show()
|
||||
::oUI:btnSave : connect( "clicked()", {|| ::execEvent( "btnSave_clicked" ) } )
|
||||
::oUI:btnCancel : connect( "clicked()", {|| ::oUI:oWidget:done( 0 ) } )
|
||||
|
||||
::oUI:toolGetSrc : connect( "clicked()", {|| ::execEvent( "toolGetSrc_clicked" ) } )
|
||||
::oUI:btnSwMax : connect( "clicked()", {|| ::execEvent( "btnSwMax_clicked" ) } )
|
||||
::oUI:btnSwMin : connect( "clicked()", {|| ::execEvent( "btnSwMin_clicked" ) } )
|
||||
|
||||
::oUI:comboProjType : addItem( "Executable" )
|
||||
::oUI:comboProjType : addItem( "Library" )
|
||||
::oUI:toolSrcGet : connect( "clicked()", {|| ::execEvent( "toolSrcGet_clicked" ) } )
|
||||
::oUI:toolSrcMax : connect( "clicked()", {|| ::execEvent( "toolSrcMax_clicked" ) } )
|
||||
::oUI:toolSrcMin : connect( "clicked()", {|| ::execEvent( "toolSrcMin_clicked" ) } )
|
||||
::oUI:toolSrcDel : connect( "clicked()", {|| ::execEvent( "toolSrcDel_clicked" ) } )
|
||||
|
||||
::oUI:comboProjType : addItem( "Executable" )
|
||||
::oUI:comboProjType : addItem( "Library" )
|
||||
::oUI:comboProjType : addItem( "DLL - Without HVM" )
|
||||
::oUI:comboProjType : addItem( "DLL - With HVM" )
|
||||
::oUI:comboProjType : addItem( "DLL - With HVM" )
|
||||
|
||||
::oUI:comboGT : addItem( "gtCGI" )
|
||||
::oUI:comboGT : addItem( "gtCRS" )
|
||||
@@ -288,6 +295,12 @@ METHOD IdeProjectWizard:show()
|
||||
|
||||
|
||||
::clear()
|
||||
|
||||
::oUI:frameSrc:setAcceptDrops( .t. )
|
||||
::oUI:frameSrc:connect( QEvent_DragEnter, {|p| ::execEvent( "frameSrc_dragEnterEvent", p ) } )
|
||||
::oUI:frameSrc:connect( QEvent_DragMove , {|p| ::execEvent( "frameSrc_dragMoveEvent" , p ) } )
|
||||
::oUI:frameSrc:connect( QEvent_Drop , {|p| ::execEvent( "frameSrc_dropEvent" , p ) } )
|
||||
|
||||
ENDIF
|
||||
|
||||
IF ::loadDefaults()
|
||||
@@ -299,94 +312,30 @@ METHOD IdeProjectWizard:show()
|
||||
|
||||
/*----------------------------------------------------------------------*/
|
||||
|
||||
STATIC FUNCTION blockBtnClicked( o, cEvent, nAct )
|
||||
RETURN {|| o:execEvent( cEvent, nAct ) }
|
||||
|
||||
/*----------------------------------------------------------------------*/
|
||||
|
||||
METHOD IdeProjectWizard:loadSwichesSections()
|
||||
LOCAL oTree := ::oUI:treeProps
|
||||
LOCAL qItm, aAct, oFont, qTBtn
|
||||
|
||||
oFont := QTreeWidgetItem():font( 0 )
|
||||
oFont:setBold( .t. )
|
||||
FOR EACH aAct IN ::aItmProps
|
||||
qItm := QTreeWidgetItem()
|
||||
aAct[ 1 ] := qItm
|
||||
qItm:setFlags( 0 )
|
||||
qItm:setFlags( hb_bitOr( Qt_ItemIsSelectable, Qt_ItemIsDropEnabled, Qt_ItemIsEnabled ) )
|
||||
qItm:setText( 0, space( 7 ) + aAct[ 2 ] )
|
||||
qItm:setBackground( 0, aAct[ 3 ] )
|
||||
qItm:setForeground( 0, QBrush( QColor( 255,255,255 ) ) )
|
||||
qItm:setFont( 0, oFont )
|
||||
qItm:setTooltip( 0, "Double-click to add a value !" )
|
||||
oTree:addTopLevelItem( qItm )
|
||||
oTree:setFirstItemColumnSpanned( qItm, .t. )
|
||||
qItm:setChildIndicatorPolicy( QTreeWidgetItem_ShowIndicator )
|
||||
NEXT
|
||||
FOR EACH aAct IN ::aItmProps
|
||||
qTBtn := QToolButton()
|
||||
aAct[ 6 ] := qTBtn
|
||||
qTBtn:setIcon( QIcon( hbide_image( "expand_m" ) ) )
|
||||
qTBtn:setAutoFillBackground( .t. )
|
||||
qTBtn:setAutoRaise( .t. )
|
||||
qTBtn:setMaximumWidth( 20 )
|
||||
qTBtn:setMaximumHeight( 20 )
|
||||
qTBtn:setStyleSheet( "" )
|
||||
qTBtn:setStyleSheet( aAct[ 7 ] )
|
||||
qTBtn:connect( "clicked()", blockBtnClicked( Self, "qTBtn_clicked", aAct:__enumIndex() ) )
|
||||
oTree:setItemWidget( aAct[ 1 ], 1, qTBtn )
|
||||
NEXT
|
||||
RETURN Self
|
||||
|
||||
/*----------------------------------------------------------------------*/
|
||||
|
||||
METHOD IdeProjectWizard:loadSourcesSections()
|
||||
LOCAL oTree := ::oUI:treeSrc
|
||||
LOCAL qItm, aAct, oFont, qTBtn
|
||||
|
||||
oFont := QTreeWidgetItem():font( 0 )
|
||||
oFont:setBold( .t. )
|
||||
FOR EACH aAct IN ::aItmSrc
|
||||
qItm := QTreeWidgetItem()
|
||||
aAct[ 1 ] := qItm
|
||||
qItm:setFlags( 0 )
|
||||
qItm:setFlags( hb_bitOr( Qt_ItemIsSelectable, Qt_ItemIsDropEnabled, Qt_ItemIsEnabled ) )
|
||||
qItm:setText( 0, " " + aAct[ 2 ] )
|
||||
qItm:setBackground( 0, aAct[ 3 ] )
|
||||
qItm:setForeground( 0, QBrush( QColor( 255,255,255 ) ) )
|
||||
qItm:setFont( 0, oFont )
|
||||
qItm:setTooltip( 0, "Drag and drop a source OR select with open icon at the top !" )
|
||||
oTree:addTopLevelItem( qItm )
|
||||
oTree:setFirstItemColumnSpanned( qItm, .t. )
|
||||
qItm:setChildIndicatorPolicy( QTreeWidgetItem_ShowIndicator )
|
||||
NEXT
|
||||
FOR EACH aAct IN ::aItmSrc
|
||||
qTBtn := QToolButton()
|
||||
aAct[ 6 ] := qTBtn
|
||||
qTBtn:setIcon( QIcon( hbide_image( "expand_m" ) ) )
|
||||
qTBtn:setAutoFillBackground( .t. )
|
||||
qTBtn:setAutoRaise( .t. )
|
||||
qTBtn:setMaximumWidth( 20 )
|
||||
qTBtn:setMaximumHeight( 20 )
|
||||
qTBtn:setStyleSheet( "" )
|
||||
qTBtn:setStyleSheet( aAct[ 7 ] )
|
||||
qTBtn:connect( "clicked()", blockBtnClicked( Self, "qSBtn_clicked", aAct:__enumIndex() ) )
|
||||
oTree:setItemWidget( aAct[ 1 ], 1, qTBtn )
|
||||
NEXT
|
||||
|
||||
RETURN Self
|
||||
|
||||
/*----------------------------------------------------------------------*/
|
||||
|
||||
METHOD IdeProjectWizard:execEvent( xEvent, p, p1 )
|
||||
LOCAL cText, qItm, n, i, oFont, aMenu, oParent, aFiles, aFilt, cFile, cExt, lTop, nChildren, qChild
|
||||
LOCAL cText, qItm, n, i, oFont, aMenu, aFiles, aFilt, cFile, lTop, nChildren, qChild
|
||||
LOCAL qMime, qUrl, qList, aItm
|
||||
|
||||
HB_SYMBOL_UNUSED( p )
|
||||
HB_SYMBOL_UNUSED( p1 )
|
||||
|
||||
SWITCH xEvent
|
||||
|
||||
CASE "frameSrc_dragMoveEvent"
|
||||
CASE "frameSrc_dragEnterEvent"
|
||||
p:acceptProposedAction()
|
||||
EXIT
|
||||
CASE "frameSrc_dropEvent"
|
||||
qMime := p:mimeData()
|
||||
IF qMime:hasUrls()
|
||||
qList := qMime:urls()
|
||||
FOR i := 0 TO qList:size() - 1
|
||||
qUrl := qList:at( i )
|
||||
::addSourceFile( hbide_pathToOSPath( qUrl:toLocalFile() ) )
|
||||
NEXT
|
||||
p:setDropAction( Qt_CopyAction )
|
||||
p:accept()
|
||||
ENDIF
|
||||
EXIT
|
||||
CASE "treeProps_itemSelectionChanged"
|
||||
IF ! empty( qItm := ::oUI:treeProps:currentItem() )
|
||||
lTop := ::oUI:treeProps:indexOfTopLevelItem( qItm ) >= 0
|
||||
@@ -440,7 +389,47 @@ METHOD IdeProjectWizard:execEvent( xEvent, p, p1 )
|
||||
ENDIF
|
||||
::aItmSrc[ p,1 ]:setSelected( .t. )
|
||||
EXIT
|
||||
CASE "toolGetSrc_clicked"
|
||||
CASE "toolSrcDel_clicked"
|
||||
IF hbide_getYesNo( "Do you really want to delete all sources ?", "Dangerous Action", "Confirmation Required!", ::oUI:oWidget )
|
||||
FOR EACH aItm IN ::aItmSrc
|
||||
IF ! empty( aItm[ 1 ] )
|
||||
n := aItm[ 1 ]:childCount()
|
||||
FOR i := 1 TO n
|
||||
aItm[ 1 ]:removeChild( aItm[ 1 ]:child( 0 ) )
|
||||
NEXT
|
||||
ENDIF
|
||||
NEXT
|
||||
ENDIF
|
||||
EXIT
|
||||
CASE "toolSrcMin_clicked"
|
||||
FOR EACH aItm IN ::aItmSrc
|
||||
IF ! empty( aItm[ 1 ] )
|
||||
aItm[ 1 ]:setExpanded( .F. )
|
||||
ENDIF
|
||||
NEXT
|
||||
EXIT
|
||||
CASE "toolSrcMax_clicked"
|
||||
FOR EACH aItm IN ::aItmSrc
|
||||
IF ! empty( aItm[ 1 ] )
|
||||
aItm[ 1 ]:setExpanded( .T. )
|
||||
ENDIF
|
||||
NEXT
|
||||
EXIT
|
||||
CASE "btnSwMin_clicked"
|
||||
FOR EACH aItm IN ::aItmProps
|
||||
IF ! empty( aItm[ 1 ] )
|
||||
aItm[ 1 ]:setExpanded( .F. )
|
||||
ENDIF
|
||||
NEXT
|
||||
EXIT
|
||||
CASE "btnSwMax_clicked"
|
||||
FOR EACH aItm IN ::aItmProps
|
||||
IF ! empty( aItm[ 1 ] )
|
||||
aItm[ 1 ]:setExpanded( .T. )
|
||||
ENDIF
|
||||
NEXT
|
||||
EXIT
|
||||
CASE "toolSrcGet_clicked"
|
||||
aFilt := {}
|
||||
aadd( aFilt, { "Program Files", "*.prg" } )
|
||||
aadd( aFilt, { "C Files" , "*.c" } )
|
||||
@@ -454,19 +443,7 @@ METHOD IdeProjectWizard:execEvent( xEvent, p, p1 )
|
||||
oFont := QFont( "Courier New" )
|
||||
oFont:setPointSize( 8 )
|
||||
FOR EACH cFile IN aFiles
|
||||
hb_fNameSplit( cFile, , , @cExt )
|
||||
IF ( n := ascan( ::aItmSrc, {|e_| e_[ 5 ] == lower( cExt ) } ) ) == 0
|
||||
n := len( ::aItmSrc )
|
||||
ENDIF
|
||||
oParent := ::aItmSrc[ n,1 ]
|
||||
::oUI:treeSrc:expandItem( oParent )
|
||||
qItm := QTreeWidgetItem()
|
||||
oParent:addChild( qItm )
|
||||
qItm:setFlags( 0 )
|
||||
qItm:setFlags( hb_bitOr( Qt_ItemIsSelectable, Qt_ItemIsDragEnabled, Qt_ItemIsEnabled ) )
|
||||
qItm:setText( 0, cFile )
|
||||
qItm:setFont( 0, oFont )
|
||||
qItm:setBackground( 0, ::aItmSrc[ 1, 4 ] )
|
||||
::addSourceFile( cFile )
|
||||
NEXT
|
||||
ENDIF
|
||||
EXIT
|
||||
@@ -474,15 +451,21 @@ METHOD IdeProjectWizard:execEvent( xEvent, p, p1 )
|
||||
IF ! empty( qItm := ::oUI:treeSrc:itemAt( p ) )
|
||||
cText := substr( qItm:text( 0 ), 8 )
|
||||
aMenu := {}
|
||||
IF ( n := ascan( ::aItmSrc, {|e_| e_[ 2 ] == cText } ) ) == 0
|
||||
aadd( aMenu, { ::oAC:getAction( "Delete" ) } )
|
||||
ELSE
|
||||
aadd( aMenu, { ::oAC:getAction( "Delete" ) } )
|
||||
IF ( n := ascan( ::aItmSrc, {|e_| e_[ 2 ] == cText } ) ) > 0
|
||||
aadd( aMenu, { ::oAC:getAction( "SortAZ" ) } )
|
||||
aadd( aMenu, { ::oAC:getAction( "SortZA" ) } )
|
||||
ENDIF
|
||||
cText := hbide_execPopup( aMenu, ::oUI:treeSrc:mapToGlobal( p ), ::oUI:treeSrc )
|
||||
IF cText == "Delete"
|
||||
::deleteTreeItem( qItm )
|
||||
IF n > 0
|
||||
n := qItm:childCount()
|
||||
FOR i := 1 TO n
|
||||
::deleteTreeItem( qItm:child( 0 ) )
|
||||
NEXT
|
||||
ELSE
|
||||
::deleteTreeItem( qItm )
|
||||
ENDIF
|
||||
ELSEIF cText == "Sort Ascending"
|
||||
::aItmSrc[ n,1 ]:sortChildren( 0, Qt_AscendingOrder )
|
||||
ELSEIF cText == "Sort Descending"
|
||||
@@ -494,15 +477,21 @@ METHOD IdeProjectWizard:execEvent( xEvent, p, p1 )
|
||||
IF ! empty( qItm := ::oUI:treeProps:itemAt( p ) )
|
||||
cText := substr( qItm:text( 0 ), 8 )
|
||||
aMenu := {}
|
||||
IF ( n := ascan( ::aItmProps, {|e_| e_[ 2 ] == cText } ) ) == 0
|
||||
aadd( aMenu, { ::oAC:getAction( "Delete" ) } )
|
||||
ELSE
|
||||
aadd( aMenu, { ::oAC:getAction( "Delete" ) } )
|
||||
IF ( n := ascan( ::aItmProps, {|e_| e_[ 2 ] == cText } ) ) > 0
|
||||
aadd( aMenu, { ::oAC:getAction( "SortAZ" ) } )
|
||||
aadd( aMenu, { ::oAC:getAction( "SortZA" ) } )
|
||||
ENDIF
|
||||
cText := hbide_execPopup( aMenu, ::oUI:treeProps:mapToGlobal( p ), ::oUI:treeProps )
|
||||
IF cText == "Delete"
|
||||
::deleteTreeItem( qItm )
|
||||
IF n > 0
|
||||
n := qItm:childCount()
|
||||
FOR i := 1 TO n
|
||||
::deleteTreeItem( qItm:child( 0 ) )
|
||||
NEXT
|
||||
ELSE
|
||||
::deleteTreeItem( qItm )
|
||||
ENDIF
|
||||
ELSEIF cText == "Sort Ascending"
|
||||
::aItmProps[ n,1 ]:sortChildren( 0, Qt_AscendingOrder )
|
||||
ELSEIF cText == "Sort Descending"
|
||||
@@ -578,6 +567,48 @@ METHOD IdeProjectWizard:execEvent( xEvent, p, p1 )
|
||||
|
||||
/*----------------------------------------------------------------------*/
|
||||
|
||||
METHOD IdeProjectWizard:addSourceFile( cFile )
|
||||
LOCAL oParent, qItm, cExt, n, cSource, lExists, i
|
||||
LOCAL oFont := QFont( "Courier New" )
|
||||
|
||||
oFont:setPointSize( 8 )
|
||||
|
||||
IF hbide_isValidText( cFile )
|
||||
hb_fNameSplit( cFile, , , @cExt )
|
||||
IF ( n := ascan( ::aItmSrc, {|e_| e_[ 5 ] == lower( cExt ) } ) ) == 0
|
||||
n := len( ::aItmSrc )
|
||||
ENDIF
|
||||
oParent := ::aItmSrc[ n,1 ]
|
||||
|
||||
cSource := hbide_prepareSourceForHbp( hbide_stripRoot( ::cProjPath, cFile ) )
|
||||
|
||||
lExists := .f.
|
||||
IF ( n := oParent:childCount() ) > 0
|
||||
FOR i := 1 TO n
|
||||
IF lower( oParent:child( i-1 ):text( 0 ) ) == lower( cSource )
|
||||
lExists := .t.
|
||||
EXIT
|
||||
ENDIF
|
||||
NEXT
|
||||
ENDIF
|
||||
|
||||
IF ! lExists
|
||||
oParent:setExpanded( .t. )
|
||||
qItm := QTreeWidgetItem()
|
||||
oParent:addChild( qItm )
|
||||
qItm:setFlags( 0 )
|
||||
qItm:setFlags( hb_bitOr( Qt_ItemIsSelectable, Qt_ItemIsDragEnabled, Qt_ItemIsEnabled ) )
|
||||
qItm:setText( 0, cSource )
|
||||
qItm:setTooltip( 0, cFile )
|
||||
qItm:setFont( 0, oFont )
|
||||
qItm:setBackground( 0, QBrush( QColor( 250, 250, 250 ) ) )
|
||||
ENDIF
|
||||
ENDIF
|
||||
|
||||
RETURN .t.
|
||||
|
||||
/*----------------------------------------------------------------------*/
|
||||
|
||||
METHOD IdeProjectWizard:addTreeItem( oParent )
|
||||
LOCAL oFont, qItm
|
||||
|
||||
@@ -592,7 +623,7 @@ METHOD IdeProjectWizard:addTreeItem( oParent )
|
||||
qItm:setFlags( hb_bitOr( Qt_ItemIsSelectable, Qt_ItemIsDragEnabled, Qt_ItemIsEnabled, Qt_ItemIsEditable ) )
|
||||
qItm:setText( 0, "" )
|
||||
qItm:setFont( 0, oFont )
|
||||
qItm:setBackground( 0, QBrush( QColor( 245,245,245 ) ) )
|
||||
qItm:setBackground( 0, QBrush( QColor( 250, 250, 250 ) ) )
|
||||
qItm:setFirstColumnSpanned( .t. )
|
||||
|
||||
oParent:treeWidget():editItem( qItm, 0 )
|
||||
@@ -615,6 +646,77 @@ METHOD IdeProjectWizard:deleteTreeItem( oChild )
|
||||
|
||||
/*----------------------------------------------------------------------*/
|
||||
|
||||
METHOD IdeProjectWizard:addDropIndicator( oTree, oNode, cMsg, cCSS, nIndex )
|
||||
LOCAL qTBtn := QToolButton()
|
||||
|
||||
qTBtn:setIcon( QIcon( hbide_image( "expand_m" ) ) )
|
||||
qTBtn:setAutoFillBackground( .t. )
|
||||
qTBtn:setAutoRaise( .t. )
|
||||
qTBtn:setMaximumWidth( 20 )
|
||||
qTBtn:setMaximumHeight( 20 )
|
||||
qTBtn:setStyleSheet( "" )
|
||||
qTBtn:setStyleSheet( cCSS )
|
||||
qTBtn:connect( "clicked()", {|| ::execEvent( cMsg, nIndex ) } )
|
||||
oTree:setItemWidget( oNode, 1, qTBtn )
|
||||
|
||||
RETURN qTBtn
|
||||
|
||||
/*----------------------------------------------------------------------*/
|
||||
|
||||
METHOD IdeProjectWizard:loadSwichesSections()
|
||||
LOCAL oTree := ::oUI:treeProps
|
||||
LOCAL qItm, aAct, oFont
|
||||
|
||||
oFont := QTreeWidgetItem():font( 0 )
|
||||
oFont:setBold( .t. )
|
||||
FOR EACH aAct IN ::aItmProps
|
||||
qItm := QTreeWidgetItem()
|
||||
aAct[ 1 ] := qItm
|
||||
qItm:setFlags( 0 )
|
||||
qItm:setFlags( hb_bitOr( Qt_ItemIsSelectable, Qt_ItemIsDropEnabled, Qt_ItemIsEnabled ) )
|
||||
qItm:setText( 0, space( 7 ) + aAct[ 2 ] )
|
||||
qItm:setBackground( 0, aAct[ 3 ] )
|
||||
qItm:setForeground( 0, QBrush( QColor( 255,255,255 ) ) )
|
||||
qItm:setFont( 0, oFont )
|
||||
qItm:setTooltip( 0, "Double-click to add a value !" )
|
||||
oTree:addTopLevelItem( qItm )
|
||||
oTree:setFirstItemColumnSpanned( qItm, .t. )
|
||||
qItm:setChildIndicatorPolicy( QTreeWidgetItem_ShowIndicator )
|
||||
|
||||
aAct[ 6 ] := ::addDropIndicator( oTree, aAct[ 1 ], "qTBtn_clicked", aAct[ 7 ], aAct:__enumIndex() )
|
||||
NEXT
|
||||
|
||||
RETURN Self
|
||||
|
||||
/*----------------------------------------------------------------------*/
|
||||
|
||||
METHOD IdeProjectWizard:loadSourcesSections()
|
||||
LOCAL oTree := ::oUI:treeSrc
|
||||
LOCAL qItm, aAct, oFont
|
||||
|
||||
oFont := QTreeWidgetItem():font( 0 )
|
||||
oFont:setBold( .t. )
|
||||
FOR EACH aAct IN ::aItmSrc
|
||||
qItm := QTreeWidgetItem()
|
||||
aAct[ 1 ] := qItm
|
||||
qItm:setFlags( 0 )
|
||||
qItm:setFlags( hb_bitOr( Qt_ItemIsSelectable, Qt_ItemIsDropEnabled, Qt_ItemIsEnabled ) )
|
||||
qItm:setText( 0, space( 7 ) + aAct[ 2 ] )
|
||||
qItm:setBackground( 0, aAct[ 3 ] )
|
||||
qItm:setForeground( 0, QBrush( QColor( 255,255,255 ) ) )
|
||||
qItm:setFont( 0, oFont )
|
||||
qItm:setTooltip( 0, "Drag and drop a source OR select with open icon at the top !" )
|
||||
oTree:addTopLevelItem( qItm )
|
||||
oTree:setFirstItemColumnSpanned( qItm, .t. )
|
||||
qItm:setChildIndicatorPolicy( QTreeWidgetItem_ShowIndicator )
|
||||
|
||||
aAct[ 6 ] := ::addDropIndicator( oTree, aAct[ 1 ], "qSBtn_clicked", aAct[ 7 ], aAct:__enumIndex() )
|
||||
NEXT
|
||||
|
||||
RETURN Self
|
||||
|
||||
/*----------------------------------------------------------------------*/
|
||||
|
||||
METHOD IdeProjectWizard:loadDefaults()
|
||||
LOCAL cProjPath, cPath, cName, cExt
|
||||
|
||||
|
||||
@@ -784,7 +784,7 @@
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>292</x>
|
||||
<y>8</y>
|
||||
<y>56</y>
|
||||
<width>25</width>
|
||||
<height>20</height>
|
||||
</rect>
|
||||
@@ -807,7 +807,7 @@
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>292</x>
|
||||
<y>32</y>
|
||||
<y>76</y>
|
||||
<width>25</width>
|
||||
<height>20</height>
|
||||
</rect>
|
||||
@@ -830,7 +830,7 @@
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>292</x>
|
||||
<y>56</y>
|
||||
<y>96</y>
|
||||
<width>25</width>
|
||||
<height>20</height>
|
||||
</rect>
|
||||
@@ -853,7 +853,7 @@
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>292</x>
|
||||
<y>80</y>
|
||||
<y>112</y>
|
||||
<width>25</width>
|
||||
<height>20</height>
|
||||
</rect>
|
||||
@@ -876,7 +876,7 @@
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>292</x>
|
||||
<y>100</y>
|
||||
<y>128</y>
|
||||
<width>25</width>
|
||||
<height>20</height>
|
||||
</rect>
|
||||
@@ -918,6 +918,46 @@
|
||||
<bool>true</bool>
|
||||
</property>
|
||||
</widget>
|
||||
<widget class="QToolButton" name="btnSwMax">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>292</x>
|
||||
<y>8</y>
|
||||
<width>25</width>
|
||||
<height>19</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>...</string>
|
||||
</property>
|
||||
<property name="icon">
|
||||
<iconset resource="hbide.qrc">
|
||||
<normaloff>:/resources/maximize_all.png</normaloff>:/resources/maximize_all.png</iconset>
|
||||
</property>
|
||||
<property name="autoRaise">
|
||||
<bool>true</bool>
|
||||
</property>
|
||||
</widget>
|
||||
<widget class="QToolButton" name="btnSwMin">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>292</x>
|
||||
<y>28</y>
|
||||
<width>25</width>
|
||||
<height>19</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>...</string>
|
||||
</property>
|
||||
<property name="icon">
|
||||
<iconset resource="hbide.qrc">
|
||||
<normaloff>:/resources/minimize_all.png</normaloff>:/resources/minimize_all.png</iconset>
|
||||
</property>
|
||||
<property name="autoRaise">
|
||||
<bool>true</bool>
|
||||
</property>
|
||||
</widget>
|
||||
</widget>
|
||||
<widget class="QFrame" name="framePaths">
|
||||
<property name="geometry">
|
||||
@@ -1283,7 +1323,7 @@
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>12</x>
|
||||
<y>11</y>
|
||||
<y>0</y>
|
||||
<width>449</width>
|
||||
<height>33</height>
|
||||
</rect>
|
||||
@@ -1294,10 +1334,10 @@
|
||||
<property name="frameShadow">
|
||||
<enum>QFrame::Raised</enum>
|
||||
</property>
|
||||
<widget class="QToolButton" name="toolGetSrc">
|
||||
<widget class="QToolButton" name="toolSrcGet">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>12</x>
|
||||
<x>4</x>
|
||||
<y>8</y>
|
||||
<width>25</width>
|
||||
<height>19</height>
|
||||
@@ -1317,7 +1357,7 @@
|
||||
<bool>true</bool>
|
||||
</property>
|
||||
</widget>
|
||||
<widget class="QToolButton" name="toolUp">
|
||||
<widget class="QToolButton" name="toolSrcMax">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>92</x>
|
||||
@@ -1326,41 +1366,47 @@
|
||||
<height>19</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="toolTip">
|
||||
<string>Expand all sections</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>...</string>
|
||||
</property>
|
||||
<property name="icon">
|
||||
<iconset resource="hbide.qrc">
|
||||
<normaloff>:/resources/go-up.png</normaloff>:/resources/go-up.png</iconset>
|
||||
<normaloff>:/resources/maximize_all.png</normaloff>:/resources/maximize_all.png</iconset>
|
||||
</property>
|
||||
<property name="autoRaise">
|
||||
<bool>true</bool>
|
||||
</property>
|
||||
</widget>
|
||||
<widget class="QToolButton" name="toolDown">
|
||||
<widget class="QToolButton" name="toolSrcMin">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>128</x>
|
||||
<x>120</x>
|
||||
<y>8</y>
|
||||
<width>25</width>
|
||||
<height>19</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="toolTip">
|
||||
<string>Collapse all sections</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>...</string>
|
||||
</property>
|
||||
<property name="icon">
|
||||
<iconset resource="hbide.qrc">
|
||||
<normaloff>:/resources/go-down.png</normaloff>:/resources/go-down.png</iconset>
|
||||
<normaloff>:/resources/minimize_all.png</normaloff>:/resources/minimize_all.png</iconset>
|
||||
</property>
|
||||
<property name="autoRaise">
|
||||
<bool>true</bool>
|
||||
</property>
|
||||
</widget>
|
||||
<widget class="QToolButton" name="toolDelete">
|
||||
<widget class="QToolButton" name="toolSrcDel">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>204</x>
|
||||
<x>416</x>
|
||||
<y>8</y>
|
||||
<width>25</width>
|
||||
<height>19</height>
|
||||
@@ -1378,13 +1424,13 @@
|
||||
</property>
|
||||
</widget>
|
||||
</widget>
|
||||
<widget class="QFrame" name="frame_2">
|
||||
<widget class="QFrame" name="frameSrc">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>12</x>
|
||||
<y>48</y>
|
||||
<y>32</y>
|
||||
<width>449</width>
|
||||
<height>533</height>
|
||||
<height>549</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="frameShape">
|
||||
@@ -1399,7 +1445,7 @@
|
||||
<x>8</x>
|
||||
<y>8</y>
|
||||
<width>433</width>
|
||||
<height>517</height>
|
||||
<height>533</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="selectionBehavior">
|
||||
|
||||
BIN
harbour/contrib/hbide/resources/maximize.png
Normal file
BIN
harbour/contrib/hbide/resources/maximize.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 2.0 KiB |
BIN
harbour/contrib/hbide/resources/maximize_all.png
Normal file
BIN
harbour/contrib/hbide/resources/maximize_all.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 1.1 KiB |
BIN
harbour/contrib/hbide/resources/minimize.png
Normal file
BIN
harbour/contrib/hbide/resources/minimize.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 2.1 KiB |
BIN
harbour/contrib/hbide/resources/minimize_all.png
Normal file
BIN
harbour/contrib/hbide/resources/minimize_all.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 975 B |
Reference in New Issue
Block a user