Commit graph

1890 commits

Author SHA1 Message Date
Fabien Bodard
aa1673056c [GB.REPORT]
* BUG: Some bugs in LabelSizeHints have been corrected
* New: a new example


git-svn-id: svn://localhost/gambas/trunk@3527 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-01-31 17:57:28 +00:00
Fabien Bodard
54d0e8b146 [DEVELOPMENT ENVIRONMENT]
* NEW: Begin to implement a CoordBox to replace the Coord Dialog.


git-svn-id: svn://localhost/gambas/trunk@3526 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-01-31 15:53:22 +00:00
Benoît Minisini
02ae50a0d4 [DEVELOPMENT ENVIRONMENT]
* BUG: Really fix the report size dialog.


git-svn-id: svn://localhost/gambas/trunk@3525 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-01-31 03:22:33 +00:00
Benoît Minisini
84d09b1bc1 [DEVELOPMENT ENVIRONMENT]
* BUG: Revert the last change in the report size dialog. The CSS-like 
  syntax is better. But correctly interprets it then!


git-svn-id: svn://localhost/gambas/trunk@3524 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-01-31 03:15:17 +00:00
Benoît Minisini
75b21f6a1e [GB.GTK]
* BUG: Fix inversion of column and row in many GridView properties and 
  methods. I hope all have been fixed!


git-svn-id: svn://localhost/gambas/trunk@3523 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-01-30 23:43:10 +00:00
Benoît Minisini
50b23be17a [DEVELOPMENT ENVIRONMENT]
* BUG: Use the menu editor only for GUI forms.


git-svn-id: svn://localhost/gambas/trunk@3522 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-01-30 20:58:46 +00:00
Fabien Bodard
308023afe8 [GB.REPORT]
* BUG: Now the Section Object know his report


git-svn-id: svn://localhost/gambas/trunk@3521 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-01-30 20:34:32 +00:00
Benoît Minisini
644e472c3f [GB.GTK]
* BUG: Menu events are propagated to the parent if they are not handled in 
  the child.


git-svn-id: svn://localhost/gambas/trunk@3520 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-01-30 19:58:21 +00:00
Benoît Minisini
c3d0079235 [GB.GTK]
* BUG: Default and cancel buttons shortcuts work correctly again.


git-svn-id: svn://localhost/gambas/trunk@3519 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-01-30 19:31:50 +00:00
Fabien Bodard
87e3b668f9 [GB.REPORT]
* BUG: Correct a bug in the Report.Count property.
* BUG: Correct as bug in the layout function.
* NEW: Try to begin to implement the round corners


git-svn-id: svn://localhost/gambas/trunk@3518 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-01-30 18:52:36 +00:00
Benoît Minisini
a54b7b9a1a [GB.GTK]
* BUG: Setting TabStrip.Font property works like in gb.qt4 now.


git-svn-id: svn://localhost/gambas/trunk@3517 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-01-30 18:03:24 +00:00
Benoît Minisini
ea21ffff96 [DEVELOPMENT ENVIRONMENT]
* BUG: The support for non-GUI MultiContainer has been fixed.


git-svn-id: svn://localhost/gambas/trunk@3516 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-01-30 15:00:18 +00:00
Benoît Minisini
225cc63432 [GB.FORM]
* BUG: IconView keyboard management takes the orientation into account now.


git-svn-id: svn://localhost/gambas/trunk@3515 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-01-30 11:38:36 +00:00
Benoît Minisini
6744c067b9 [GB.FORM]
* BUG: ScrollArea.Scroll() now refreshes the view only if necessary.
* NEW: IconView items renaming has been implemented.
* NEW: IconView.Orientation is a new property to define how the control
  arrange and draw its icons.
* OPT: IconView refreshing has been optimized.

[GB.GTK]
* NEW: TextArea.Alignment has been implemented.
* BUG: Slider and ScrollBar controls now raise native events correctly.
* BUG: Font.RichTextWidth() now works like Draw.RichTextWidth().

[GB.QT4]
* NEW: TextArea.Alignment has been implemented.


git-svn-id: svn://localhost/gambas/trunk@3514 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-01-30 11:35:47 +00:00
Benoît Minisini
7f29aaf2ee [DEVELOPMENT ENVIRONMENT]
* BUG: Current edited line is not highlighted by force anymore after a 
  global search.

[GB.FORM]
* NEW: New IconView control entirely made in Gambas.
* NEW: ScrollArea.EnsureVisible() has been implemented.

[GB.GTK]
* NEW: Old IconView has been removed.
* BUG: Do not use the deprecated tooltip API anymore.
* NEW: TreeView, ColumnView and ListView SelectAll() method does not take 
  an argument anymore. It always select all items.
* NEW: TreeView, ColumnView and ListView UnselectAll() is a new method that
  unselect all items.
* BUG: Rect constructor has been fixed.
* BUG: Rect.Contains() method has been fixed.

[GB.IMAGE]
* NEW: Color.SetAlpha() is a new method that takes an integer color, change
  its alpha component, and return the modified integer color.

[GB.QT4]
* NEW: Old IconView has been removed.
* NEW: TreeView, ColumnView and ListView SelectAll() method does not take 
  an argument anymore. It always select all items.
* NEW: TreeView, ColumnView and ListView UnselectAll() is a new method that
  unselect all items.
* BUG: Rect constructor has been fixed.
* BUG: Rect.Contains() method has been fixed.
* BUG: Window default title is correctly converted from UTF-8.

[GB.QT4.EXT]
* NEW: Editor.HighlightAll is a new method to force the highlighting of the
  entire text.
* NEW: The Editor.Lines CollapseAll() and ExpandAll() methods were moved to
  the Editor class.


git-svn-id: svn://localhost/gambas/trunk@3513 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-01-30 00:55:59 +00:00
Benoît Minisini
0a6bc245f3 [GB.FORM]
* BUG: Restore french translation.


git-svn-id: svn://localhost/gambas/trunk@3512 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-01-29 15:35:40 +00:00
Fabien Bodard
64efc7694f [GB.REPORT]
* BUG: Correct a critical bug in report.count...


git-svn-id: svn://localhost/gambas/trunk@3511 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-01-29 14:24:04 +00:00
Fabien Bodard
3de7c50ae9 [GB.REPORT]
* NEW: Count property is showed in the property tab
* NEW: New Class Reportsection that inherit reportvbox and add
  a property Text


git-svn-id: svn://localhost/gambas/trunk@3510 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-01-29 14:13:51 +00:00
Benoît Minisini
646ea9c60c [DEVELOPMENT ENVIRONMENT]
* NEW: Support for Forms that are MultiContainer. But such forms cannot 
  display the grid then.


git-svn-id: svn://localhost/gambas/trunk@3509 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-01-29 13:54:48 +00:00
Fabien Bodard
e26007b762 [GB.REPORT]
* BUG: The page arragement take virtual object into account to calculate 
  the sizeint...


git-svn-id: svn://localhost/gambas/trunk@3508 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-01-28 23:46:47 +00:00
Benoît Minisini
cc23be5f70 [DEVELOPMENT ENVIRONMENT]
* NEW: The Gambas 2 -> Gambas 3 project converter now replace CSng by 
  CSingle and CLng by CLong.


git-svn-id: svn://localhost/gambas/trunk@3507 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-01-28 23:22:46 +00:00
Fabien Bodard
b811db0463 [GB.REPORT]
* BUG: Change a const name


git-svn-id: svn://localhost/gambas/trunk@3506 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-01-28 23:14:05 +00:00
Fabien Bodard
0b893aabc2 [GB.REPORT]
* NEW: All the properties in report class are redirected to the 
current container
* OPT: some otpimization on the layout routine


git-svn-id: svn://localhost/gambas/trunk@3505 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-01-28 21:58:03 +00:00
Benoît Minisini
f3c6b7bb23 [GB.GTK]
* BUG: Fix ComboBox.Add() when the position argument is specified.
* BUG: Fix ListBox.Add() when the position argument is specified.


git-svn-id: svn://localhost/gambas/trunk@3504 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-01-28 18:11:22 +00:00
Benoît Minisini
ead250f293 [GB.FORM]
* BUG: Fix ButtonBox on gb.gtk.

[GB.GTK]
* NEW: Style.TextBoxFrameWidth returns the frame width of a textbox.

[GB.QT4]
* NEW: Style.TextBoxFrameWidth returns the frame width of a textbox.


git-svn-id: svn://localhost/gambas/trunk@3502 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-01-28 17:05:52 +00:00
Benoît Minisini
c22083ba44 [GB.DRAW]
* NEW: Draw.Arc() is a new method to draw arcs.

[GB.GTK]
* BUG: Draw.Ellipse() now correctly draws a pie when filling is enabled.
* NEW: Implement Draw.Arc().

[GB.QT4]
* NEW: Implement Draw.Arc().


git-svn-id: svn://localhost/gambas/trunk@3500 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-01-28 02:42:42 +00:00
Fabien Bodard
fa1b5badf4 [GB.REPORT]
* NEW: A new Resolution property... by default it's value is -1 
  and in this case use the paint device resolution.
* NEW: The Data property is activated, so now you can give to it result
  or collection.


git-svn-id: svn://localhost/gambas/trunk@3499 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-01-27 22:05:51 +00:00
Fabien Bodard
743faea673 [GB.REPORT]
* NEW: Now Report is multicontainer. Sections are reports part.


git-svn-id: svn://localhost/gambas/trunk@3498 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-01-26 22:44:35 +00:00
Matti
6a8e48f645 [EXAMPLES]
* NEW: Wizard: show how to move between the steps by code,
  and give some additional informations.


git-svn-id: svn://localhost/gambas/trunk@3497 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-01-26 20:03:56 +00:00
Benoît Minisini
ab91dc9d7c [DEVELOPMENT ENVIRONMENT]
* NEw: Add support for finnish language.

[GB.FORM]
* NEW: Start to implement the new IconView by mixing Fabien's code and 
  mine.
* New: ScrollArea.Tracking property has been implemented.
* NEW: ScrollArea now undestands mouse wheel events.

[GB.GTK]
* NEW: Style.FrameWidth returns the width of a sunken border.
* BUG: Draw.RichText() now correctly follows text alignment.
* BUG: UserContainer ClientX, ClientY, ClientWidth and ClientHeight 
  properties now return the accurate value.
* NEW: Rect.Adjust() is a new method to move rectangle borders.
* NEW: The DrawingArea.Merge property has been removed.
* NEW: Add ScrollView.Contents{W,H,Width,Height} synonymous properties.

[GB.QT4]
* NEW: Style.FrameWidth returns the width of a sunken border.
* BUG: Draw.RichText() now uses the foreground color as expected.
* NEW: Rect.Adjust() is a new method to move rectangle borders.
* NEW: The DrawingArea.Merge property has been removed.


git-svn-id: svn://localhost/gambas/trunk@3496 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-01-25 17:57:08 +00:00
Henrique
0c9e8ce935 [DEVELOPMENT ENVIRONMENT]
* NEW: Update of  Brazilian Portuguese translation.


git-svn-id: svn://localhost/gambas/trunk@3495 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-01-25 12:19:31 +00:00
Matti
9c56434efd [DEVELOPMENT ENVIRONMENT]
* NEW: Update of German translation



git-svn-id: svn://localhost/gambas/trunk@3494 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-01-24 21:01:16 +00:00
Benoît Minisini
16492cc5ee [DEVELOPMENT ENVIRONMENT]
* BUG: The procedure list geets the focus again when it is opened.

[GB.FORM]
* NEW: ScrollArea is a new Container widget that is a DrawingArea with
  scrolling capabilities.

[GB.GTK]
* NEW: Style is new static class whose properties return global information
  about the current style. At the moment, you have Style.ScrollbarSize and
  Style.ScrollbarSpacing.
* BUG: Scrollbar sliders size now follows the PageStep property.

[GB.QT4]
* NEW: Style is new static class whose properties return global information
  about the current style. At the moment, you have Style.ScrollbarSize and
  Style.ScrollbarSpacing.


git-svn-id: svn://localhost/gambas/trunk@3493 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-01-24 14:37:11 +00:00
Matti
9e91468026 [EXAMPLES]
* NEW: Wizard example:little corrections to make text visible
* NEW: Wizard example: German translation


git-svn-id: svn://localhost/gambas/trunk@3492 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-01-23 17:57:59 +00:00
Benoît Minisini
47a14db2a8 [DEVELOPMENT ENVIRONMENT]
* BUG: The project title translation is now correctly restored after the
  project has been cleaned up.


git-svn-id: svn://localhost/gambas/trunk@3491 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-01-23 16:18:33 +00:00
Benoît Minisini
399784bdf9 [GB.FORM]
* BUG: ValueBox.Text now returns the expected value in Currency mode.


git-svn-id: svn://localhost/gambas/trunk@3490 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-01-23 15:45:46 +00:00
Benoît Minisini
c943d7c3dd [GB.FORM]
* BUG: ButtonBox correctly raises the Change event again.


git-svn-id: svn://localhost/gambas/trunk@3489 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-01-22 01:50:17 +00:00
Benoît Minisini
b0c42307a1 [EXAMPLES]
* NEW: New Wizard example made by Mathias Ebermann.

[GB.FORM]
* BUG: ValueBox whose Type is Number does not block Tab and Shift+Tab keys 
  anymore.


git-svn-id: svn://localhost/gambas/trunk@3488 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-01-22 01:38:33 +00:00
Benoît Minisini
6a805d3cdd [DEVELOPMENT ENVIRONMENT]
* NEW: Edison Henrique Andreassy has been added to the authors list.

[GB.FORM]
* BUG: ValueBox has been fixed.
* NEW: ValueBox, MaskBox and DateBox now have an Action property, so that
  they can be put inside a toolbar.
* OPT: Useless classes have been removed.

[GB.GTK]
* NEW: Setting GridView.Rows[].Height to -1 makes the row height fits its 
  contents.
* NEW: Setting GridView.Columns[].Width to -1 makes the column width fits 
  its contents.


git-svn-id: svn://localhost/gambas/trunk@3487 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-01-21 16:04:55 +00:00
Fabien Bodard
386250f0d9 [GB.REPORT]
* NEW: ReportControl Color and Brush properties, it define the color for
  Font.
* NEW: ReportLine color is defined by Color/Brush properties
* Bug: Now vertical arrangement work fine and fixed element are taked 
  into account
* NEW: X and Y properties that are alias for Left ans Top.
* NEW: ReportControl Background property that replace the old Brush One
  to define the background.


git-svn-id: svn://localhost/gambas/trunk@3486 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-01-20 22:24:06 +00:00
Benoît Minisini
a2133c1052 [GB.GTK]
* NEW: The Menu event is correctly raised even if there is no other mouse
  event handler.


git-svn-id: svn://localhost/gambas/trunk@3485 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-01-20 14:31:59 +00:00
Benoît Minisini
8a558e1484 [GB.GTK]
* BUG: Fix initial alignment of Label and TextLabel.


git-svn-id: svn://localhost/gambas/trunk@3484 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-01-20 13:41:59 +00:00
Benoît Minisini
45c48b1dfe [GB.GTK]
* BUG: GridView correctly receives the focus now.


git-svn-id: svn://localhost/gambas/trunk@3483 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-01-20 13:38:39 +00:00
Benoît Minisini
055c920dc0 [GB.GTK]
* BUG: Windows receive all events now, not just keyboard events.


git-svn-id: svn://localhost/gambas/trunk@3480 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-01-20 12:19:56 +00:00
Benoît Minisini
e631b95850 [DEVELOPMENT ENVIRONMENT]
* NEW: Brasilian translation completed by Edison Henrique Andreassy.
* NEW: The translation dialog look has been redesigned.
* BUG: Translation import has been fixed.
* BUG: The translation of the project name is not lost anymore.

[GB.FORM]
* BUG: FileView.Current now returns really something only if the current
  item is actually selected.


git-svn-id: svn://localhost/gambas/trunk@3479 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-01-20 01:25:46 +00:00
Benoît Minisini
a0fda592f3 [DEVELOPMENT ENVIRONMENT]
* NEW: Support for the new "View" control group.

[GB.FORM]
* NEW: Put view controls under the group "View".
* NEW: ButtonBox now raises the Activate event.
* BUG: MaskBox does not hit RETURN and ENTER key anymore.
* NEW: DateChooser.ShowTime property was replaced by the DateChooser.Mode
  property. That property can take three values: DateChoose.DateOnly,
  DateChooser.DateTime and DateChooser.TimeOnly.
* NEW: DateBox.ShowTime property was replaced by the DateBox.Mode property,
  like DateChooser.
* NEW: DateBox now raises the Activate event.

[GB.GTK]
* NEW: Put view controls under the group "View".

[GB.QT4]
* NEW: Put view controls under the group "View".


git-svn-id: svn://localhost/gambas/trunk@3478 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-01-19 23:08:11 +00:00
Fabien Bodard
3af3b31bd8 [GB.REPORT]
* BUG: Some correction on the layout routines


git-svn-id: svn://localhost/gambas/trunk@3477 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-01-19 22:30:26 +00:00
Benoît Minisini
55c051bbb7 [DEVELOPMENT ENVIRONMENT]
* BUG: Property side panel is movable again while in debugging mode.

[GB.REPORT]
* BUG: A point is 1/72 inch. It is not relative to device resolution.
  Consequently, the font size must not be adjust to the device resolution.
* BUG: In the preview, use a copy of the report to send it to the printer.
  Otherwise the preview drawing will interfere with it.


git-svn-id: svn://localhost/gambas/trunk@3476 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-01-19 11:55:26 +00:00
Benoît Minisini
235a68261e [GB.REPORT]
* BUG: Preview is visible with gb.qt4 now.

git-svn-id: svn://localhost/gambas/trunk@3475 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-01-19 03:28:36 +00:00
Benoît Minisini
4270d6f111 [GB.REPORT]
* BUG: Add debugging messages.

git-svn-id: svn://localhost/gambas/trunk@3474 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-01-19 03:21:36 +00:00