Benoît Minisini
638ad8ded7
TreeView: Adding a new item now raises the Filter event on it.
...
[GB.GUI.BASE]
* BUG: TreeView: Adding a new item now raises the Filter event on it.
2023-09-08 02:07:23 +02:00
Benoît Minisini
5d2c35925b
TreeView: Fix a possible crash in ExpandAll().
...
[GB.GUI.BASE]
* BUG: TreeView: Fix a possible crash in ExpandAll().
2023-09-06 17:57:27 +02:00
Benoît Minisini
b9cce4a591
TreeView: Add ExpandAll() and CollapseAll() methods.
...
[GB.GUI.BASE]
* NEW: TreeView: Add ExpandAll() and CollapseAll() methods.
* NEW: TreeView: Add ExpandAll() and CollapseAll() methods to items.
2023-08-31 03:40:30 +02:00
Benoît Minisini
937f686f09
DataSource: Undone the old optimization from 2011 that prevent controls to be refreshed when the Connection property changes.
...
[GB.DB.FORM]
* BUG: DataSource: Undone the old optimization from 2011 that prevent controls to be refreshed when the Connection property changes.
2023-08-30 22:10:40 +02:00
Benoît Minisini
edef98e286
Redraw some icons so that they stretch better on small sizes.
...
[GB.FORM.STOCK]
* NEW: Redraw some icons so that they stretch better on small sizes.
* NEW: Add 'chronometer' icon.
2023-08-28 14:13:14 +02:00
Benoît Minisini
1affcc5e42
GridView: Hidden cells are ignored by EnsureVisible() method. TreeView: Item height computation is faster now.
...
[GB.GUI.BASE]
* BUG: GridView: Hidden cells are ignored by EnsureVisible() method.
* OPT: TreeView: Item height computation is faster now.
2023-08-28 04:25:54 +02:00
Benoît Minisini
5156f964ba
ButtonBox: Add 'FilterPicture' property, that allows to change the picture displayed by the filter button.
...
[GB.FORM]
* NEW: ButtonBox: Add 'FilterPicture' property, that allows to change the picture displayed by the filter button.
* NEW: Add 'chronometer' stock icon.
2023-08-26 16:12:30 +02:00
Benoît Minisini
bd045aab10
TreeView: Add item 'Visible' property, and filtering support.
...
[GB.GUI.BASE]
* NEW: TreeView: Items got a 'Visible' property, that allows to hide it.
* NEW: TreeView: 'Filter' is a new event that allows to filter the view.
* NEW: TreeView: 'Filter()' is a new method that must be called each time the filtering state changes.
2023-08-26 16:09:08 +02:00
Benoît Minisini
57360ae309
GridView: Ignore hidden cells when moving the cursor by using the keyboard. Hidden rows are always returned as not selected.
...
[GB.GUI.BASE]
* NEW: GridView: Ignore hidden cells when moving the cursor by using the keyboard.
* NEW: GridView: Hidden rows are always returned as not selected.
2023-08-26 12:00:15 +02:00
Benoît Minisini
a840f497b8
Fix DataSource.Find() on MySQL. DataView now correctly unselect all lines when we are in creation mode and the view is not editable.
...
[GB.DB.FORM]
* BUG: DataTable: Write the SQL request of the Find() method is a way that is compatible with MySQL.
* BUG: DataView: Correctly unselect all lines when we are in creation mode and the view is not editable.
2023-08-25 04:28:56 +02:00
Benoît Minisini
75ff35c40f
Add 'bomb', 'comment', 'epub', 'office-base', 'zoom', 'zoom-page' stock icons.
...
[GB.FORM]
* NEW: Add 'bomb', 'comment', 'epub', 'office-base', 'zoom', 'zoom-page' stock icons.
2023-08-24 16:48:15 +02:00
Benoît Minisini
de6cf42e58
Add and update some stock icons. Redraw zoom icons.
...
[GB.FORM.STOCK]
* NEW: Add some stock icons.
* NEW: Redraw zoom icons.
* NEW: Update some icons.
2023-08-24 16:46:47 +02:00
Benoît Minisini
0a04bfbb9f
DataSource: Fix Find() method on PostgreSQL, that requires sub-query aliases even if the alias is not needed!
...
[GB.DB.FORM]
* BUG: DataSource: Fix Find() method on PostgreSQL, that requires sub-query aliases even if the alias is not needed!
2023-08-23 19:57:10 +02:00
Benoît Minisini
0edd7d43e3
TreeView: Expanding an item with the mouse ensures that the expanded contents is visible. Setting the 'Expanded' property manually now does not ensure that anymore.
...
[GB.GUI.BASE]
* NEW: TreeView: Expanding an item with the mouse ensures that the expanded contents is visible.
Setting the 'Expanded' property manually now does not ensure that anymore.
2023-08-19 22:29:35 +02:00
Benoît Minisini
d91d11fa32
'Request.Scheme' supports more CGI headers. Add 'Response.Cookie' to handle cookie properties.
...
[GB.WEB]
* NEW: 'Request.Scheme' supports more CGI headers.
* NEW: 'Response.Cookie' returns a virtual object that allows to define the cookie properties.
* NEW: 'Response.SetCookie()' takes the 'Response.Cookie' properties into account when a corresponding argument is missing.
2023-08-19 22:27:10 +02:00
Benoît Minisini
4b13288590
Add some stock icons. Update 'text-*' icons.
...
[GB.FORM.STOCK]
* NEW: Add some stock icons.
* NEW: Update 'text-*' icons.
2023-08-19 22:21:14 +02:00
Benoît Minisini
f8c85708e4
Add 'text-caps' stock icon.
...
[GB.FORM]
* NEW: Add 'text-caps' stock icon.
2023-08-19 22:20:11 +02:00
Benoît Minisini
6c0bcb00a9
Add some stock icons: 'bug', 'save-all', 'tabs', 'text-normal'.
...
[GB.FORM]
* NEW: Add some stock icons: 'bug', 'save-all', 'tabs', 'text-normal'.
2023-08-19 18:52:01 +02:00
Benoît Minisini
4bb24c345e
FileView: Read the output of the preview task more reliably.
...
[GB.FORM]
* BUG: FileView: Read the output of the preview task more reliably.
* NEW: FileView: Draw the preview icon overlay on the bottom.
2023-08-17 14:44:46 +02:00
Benoît Minisini
6daafebeaf
Support for 'gambas-thin' theme icon. Add 'log', 'mahjongg' stock icons.
...
[GB.FORM]
* NEW: Support for 'gambas-thin' theme icon.
* NEW: Add 'log', 'mahjongg' stock icons.
2023-08-16 22:38:10 +02:00
Benoît Minisini
ceb013aefb
Add 'gambas-thin' icon theme.
...
[GB.FORM.STOCK]
* NEW: Add 'gambas-thin' icon theme.
* NEW: 32 pixels version is not mandatory anymore if the 128 pixels version exists.
2023-08-16 22:36:48 +02:00
Benoît Minisini
73e4fd70ba
Raise the 'Menu' event when the PopupMenu property is not set and the right button may have been clicked.
...
[GB.DBUS.TRAYICON]
* NEW: Raise the 'Menu' event when the PopupMenu property is not set and the right button may have been clicked.
2023-08-11 15:57:23 +02:00
Benoît Minisini
8e50479a29
Remove test forms that do not compile.
...
[GB.GUI.BASE]
* BUG: Remove test forms that do not compile.
2023-08-11 13:42:56 +02:00
Benoît Minisini
550fa94f6e
TextEditor: PageUp and PageDown move now the same number of lines.
...
[GB.FORM.EDITOR]
* BUG: TextEditor: PageUp and PageDown move now the same number of lines.
2023-08-11 00:52:37 +02:00
Benoît Minisini
8dec4ed5d8
ListBox: Handle key press events for finding items, like ComboBox.
...
[GB.GUI.BASE]
* NEW: ListBox: Handle key press events for finding items, like ComboBox.
2023-08-11 00:45:42 +02:00
Benoît Minisini
018c7d06c3
Toolbar: Correctly position separator when the toolbar size changes.
...
[GB.FORM.MDI]
* BUG: Toolbar: Correctly position separator when the toolbar size changes.
2023-08-08 17:37:29 +02:00
Benoît Minisini
c9591402a1
Desktop.Type: Always use 'Env["DESKTOP_SESSION"]' is set, when 'Env["XDG_CURRENT_DESKTOP"]' is not set.
...
[GB.GUI.BASE]
* NEW: Desktop.TYpe: Always use 'Env["DESKTOP_SESSION"]' is set, when 'Env["XDG_CURRENT_DESKTOP"]' is not set.
2023-07-29 13:18:15 +02:00
Benoît Minisini
519bfa5a1d
TreeView: Remove the debugging red rectangle drawn when 'ShowCheck' property is TRUE.
...
[GB.GUI.BASE]
* BUG: TreeView: Remove the debugging red rectangle drawn when 'ShowCheck' property is TRUE.
2023-07-28 00:11:38 +02:00
Benoît Minisini
10db065201
DataSource: Find() method now takes the ascending / descending sort order into account.
...
[GB.DB.FORM]
* BUG: DataSource: Find() method now takes the ascending / descending sort order into account.
* BUG: DataView: The MoveTo() method raises the Activate event when it was in creation mode before moving.
* NEW: DataView: MovePrevious() moves to the last record if we are in creation mode.
* NEW: DataView: MoveNext() has no effect if we are in creation mode.
2023-07-14 20:01:04 +02:00
Benoît Minisini
7ad40f4c3e
DataSource: When a new record is created, moving the index to the newly created record works when some fields are serial.
...
[GB.DB.FORM]
* BUG: DataSource: When a new record is created, moving the index to the newly created record works when some fields are serial.
2023-07-14 12:12:00 +02:00
Benoît Minisini
2ace8af89c
When a new record is created, move to the newly created record. Fix combo selection of DataView cells.
...
[GB.DB.FORM]
* NEW: DataSource: When a new record is created, move the index to the newly created record.
* NEW: DataBrowser: When a new record is created, move the view to the newly created record.
* BUG: DataView: Selecting a combo on a cell of the new record line does not refresh the DataSource controls incorrectly.
2023-07-12 23:47:47 +02:00
Benoît Minisini
13e65fa01d
Fix 'Find()' and 'FindNext()' methods in DataSource and DataView, and add them to DataBrowser.
...
[GB.DB.FORM]
* NEW: DataView: 'Find()' searches the entire view, whereas the new 'FindNext()' searches from the current index.
* NEW: DataBrowser: Add 'Find()' and 'FindNext()' method from DataView.
* BUG: DataSource: 'Find()' and 'FindNext()' methods now correctly detect the current connection.
2023-07-12 21:10:53 +02:00
Benoît Minisini
03939bbd76
SpinBox: Fix the behaviour when 'ReadOnly' is True.
...
[GB.GUI.BASE]
* BUG: SpinBox: Fix the behaviour when 'ReadOnly' is True.
2023-07-06 00:13:04 +02:00
Benoît Minisini
39d979f804
Desktop.PickColor() does not try to use the freedesktop portal on X11.
...
[GB.DESKTOP]
* BUG: Desktop.PickColor() does not try to use the freedesktop portal on X11.
2023-07-06 00:04:54 +02:00
Benoît Minisini
05139e9bc9
SpinBox: Keep the normal background when setting 'ReadOnly' property to TRUE.
...
[GB.GUI.BASE]
* BUG: SpinBox: Keep the normal background when setting 'ReadOnly' property to TRUE.
* OPT: TreeView: Don't check item spans until the item 'Span' property is used.
2023-06-30 13:44:35 +02:00
Benoît Minisini
5dd77bba68
TextEditor: Correctly handle quotes at the beginning of the line without crashing.
...
[GB.FORM.EDITOR]
* BUG: TextEditor: Correctly handle quotes at the beginning of the line without crashing.
2023-06-27 23:58:02 +02:00
Benoît Minisini
2ef4fff770
ValueBox: Add Unselect() method to unselect the selected text.
...
[GB.FORM]
* NEW: ValueBox: Add Unselect() method to unselect the selected text.
2023-06-19 22:45:03 +02:00
Martín Belmonte
1f603480c2
Update Spanish translations.
2023-06-08 11:17:25 +00:00
Benoît Minisini
da6a660328
TextEditor: Enhance word selection. Triple click now selects the entire line.
...
[GB.FORM.EDITOR]
* NEW: TextEditor: Word selection now always stops at non words limits.
* NEW: TextEditor: Diacritics are not word limiters anymore.
* NEW: TextEditor: Triple click now selects the entire line.
2023-05-26 22:55:01 +02:00
Benoît Minisini
33d041233d
DesktopPortal now uses the new DBusConnection.Start() method to start the portal service.
...
[GB.DESKTOP]
* NEW: DesktopPortal now uses the new DBusConnection.Start() method to start the portal service.
2023-05-26 21:50:48 +02:00
Benoît Minisini
d5910b6141
DataSource: 'Invalid' is a new event that is raised when the value entered for a specific field is invalid. If that event is stopped, the default warning message is not displayed.
...
[GB.DB.FORM]
* NEW: DataSource: 'Invalid' is a new event that is raised when the value entered for a specific field is invalid. If that event is stopped, the default warning message is not displayed.
2023-05-25 12:21:11 +02:00
Benoît Minisini
8fb2189446
FileView: Prevent a possible infinite refresh and preview recursion when some properties are read during the 'Refresh' event.
...
[GB.FORM]
* BUG: FileView: Prevent a possible infinite refresh and preview recursion when some properties are read during the 'Refresh' event.
2023-05-25 10:37:08 +02:00
Benoît Minisini
53fd551ba0
Allow refresh for hidden controls, as their HTML is now always generated.
...
[GB.WEB.GUI]
* BUG: Allow refresh for hidden controls, as their HTML is now always generated.
2023-05-19 10:14:15 +02:00
Benoît Minisini
946c102e51
Allow external links to images ('http://' or 'https://').
...
[GB.WEB.GUI]
* BUG: Allow external links to images ('http://' or 'https://').
2023-05-17 18:56:08 +02:00
Benoît Minisini
f1593e17f1
Start desktop portal automatically.
...
[GB.DESKTOP]
* NEW: Start desktop portal automatically.
2023-05-17 10:16:30 +02:00
Benoît Minisini
9b7d44ce52
Toolbar: Prevent resize infinite recursion.
...
[GB.FORM.MDI]
* BUG: Toolbar: Prevent resize infinite recursion.
2023-05-16 00:43:36 +02:00
Benoît Minisini
f071d87d68
TextEditor: Try to make automatic string closing more clever.
...
[GB.FORM.EDITOR]
* NEW: TextEditor: Try to make automatic string closing more clever.
2023-05-13 22:15:47 +02:00
Benoît Minisini
20aa88f673
Highlight text between matching braces instead of just highlighting the braces.
...
[GB.FORM.EDITOR]
* NEW: TextEditor: Highlight text between matching braces instead of just highlighting the braces.
* NEW: TextEditor: Do not highlight matching braces if some text is selected.
2023-05-13 15:42:39 +02:00
Benoît Minisini
5a31c2a387
Desktop.SendMail() now uses the freedesktop portal if available.
...
[GB.DESKTOP]
* NEW: Desktop.SendMail() now uses the freedesktop portal if available. Apparently attachments are not taken into account by Thunderbird through the portal.
2023-05-13 14:08:41 +02:00
Benoît Minisini
015bb07e57
Desktop.Open() now uses the freedesktop portal if available.
...
[GB.DESKTOP]
* NEW: Desktop.Open() now uses the freedesktop portal if available.
2023-05-13 03:04:06 +02:00