summaryrefslogtreecommitdiff
path: root/DevTools/VisualBuilder
AgeCommit message (Collapse)Author
2019-09-22LibCore: Remove ObjectPtr in favor of RefPtrAndreas Kling
Now that CObject is fully ref-counted, just use RefPtr everywhere! :^)
2019-09-21LibCore: Convert CFile to ObjectPtrAndreas Kling
2019-09-21LibGUI: Convert custom widgets and subclasses to ObjectPtrAndreas Kling
2019-09-21LibGUI: Convert remaining random little things to ObjectPtrAndreas Kling
2019-09-21GButton: Convert most code to using ObjectPtr for GButtonAndreas Kling
2019-09-21LibGUI: Convert GWindow to ObjectPtrAndreas Kling
2019-09-21LibGUI: Convert GWidget to ObjectPtrAndreas Kling
2019-09-21LibGUI: Convert GSlider to ObjectPtrAndreas Kling
2019-09-21LibGUI: Convert GProgressBar to ObjectPtrAndreas Kling
2019-09-21LibGUI: Convert GSpinBox to ObjectPtrAndreas Kling
2019-09-21LibGUI: Convert GGroupBox to ObjectPtrAndreas Kling
2019-09-21LibGUI: Convert GTableView to ObjectPtrAndreas Kling
2019-09-21LibGUI: Convert GTextBox, GTextEditor and GResizeCorner to ObjectPtrAndreas Kling
2019-09-21LibGUI: Convert GScrollBar to ObjectPtrAndreas Kling
2019-09-21LibGUI: Convert GLabel to ObjectPtrAndreas Kling
2019-09-17VisualBuilder: Disallow moving managed widgets with the arrow keysAndreas Kling
2019-09-17VisualBuilder: Add icons for the layout menu actionsAndreas Kling
2019-09-17VisualBuilder: Don't allow moving/resizing widgets that are in a layoutAndreas Kling
Also paint these widgets' grabbers differently to make it stand out visually which widgets have managed geometry. :^)
2019-09-17VisualBuilder: Fix hit testing for composite widgetsAndreas Kling
When we ask LibGUI to hit test, it may return a subwidget of a widget composed of many smaller widgets. In those cases we need to locate the appropriate corresponding VBWidget for the composite widget.
2019-09-17VisualBuilder: Make it possible to add a layout to a widgetAndreas Kling
This patch adds horizontal and vertical layout options to the widget context menu. This is going to need a lot of work, but it's a cool start. :^)
2019-09-17VisualBuilder: Support nested widgetsAndreas Kling
This patch makes it possible to put widgets inside one another. The way you do this right now is by having a (single) widget selected when you insert a new widget. The new widget then becomes a child of the selected widget. (In the future we'll make it possible to drag widgets into each other, and things like that.) I've also changed the grabber coordinates to be window-relative instead of parent-relative in order to simplify things for myself. Maybe that's not the ideal design and we can revisit that.
2019-09-17VisualBuilder: Use GAboutDialog :^)Andreas Kling
2019-09-14LibGUI+VisualBuilder: Add move-to-front/back to GCommonActionsAndreas Kling
Also give them nice little icons. :^)
2019-09-14VisualBuilder: Use GCommonActions::make_delete_action()Andreas Kling
2019-09-14LibGUI: Simplify GCommonActions a bitAndreas Kling
Use the same callback signature as GAction so we can just forward it to GAction instead of chaining callbacks.
2019-09-13GMenu: Update apps now that you can create a nameless GMenuAndreas Kling
We had many context menus with names, simply because you were forced to give them names.
2019-09-06AK: Rename <AK/AKString.h> to <AK/String.h>Andreas Kling
This was a workaround to be able to build on case-insensitive file systems where it might get confused about <string.h> vs <String.h>. Let's just not support building that way, so String.h can have an objectively nicer name. :^)
2019-09-06VBForm: Fixed cursor not changing on resize /w multiple selectionsrhin123
We were resetting the cursor during multiple selections since our mouse can only be over a single widget at a time.
2019-09-05VisualBuilder: Added GCommonActionsrhin123
2019-09-01VisualBuilder: Remove empty "Edit" menuAndreas Kling
There was nothing in there anyway. We can add it back when we have some edit actions :^)
2019-08-30VBForm: Set mouse type relative to how we resize the VBWidgetrhin123
2019-08-07JSON: Templatize the JSON serialization codeAndreas Kling
This makes it possible to use something other than a StringBuilder for serialization (and to produce something other than a String.) :^)
2019-08-05GComboBox: Include the selected index with the on_change notificationAndreas Kling
This will be useful for clients that need to fetch additional data from the model on selection change.
2019-07-24AK: Make HashMap::get(Key) return an Optional<Value>.Andreas Kling
This allows HashMap::get() to be used for value types that cannot be default constructed (e.g NonnullOwnPtr.)
2019-07-24VisualBuilder: Convert Vector<OwnPtr> to NonnullOwnPtrVector.Andreas Kling
2019-07-23LibGUI: Get rid of GWindow::should_exit_event_loop_on_close().Andreas Kling
This behavior and API was extremely counter-intuitive since our default behavior was for applications to never exit after you close all of their windows. Now that we exit the event loop by default when the very last GWindow is deleted, we don't have to worry about this.
2019-07-20GSlider: Add support for vertical sliders.Andreas Kling
You now have to pass an Orientation to the GSlider constructor. It's not possible to change the orientation after construction. Added some vertical GSliders to the WidgetGallery demo for testing. :^)
2019-07-18LibDraw: Introduce (formerly known as SharedGraphics.)Andreas Kling
Instead of LibGUI and WindowServer building their own copies of the drawing and graphics code, let's it in a separate LibDraw library. This avoids building the code twice, and will encourage better separation of concerns. :^)
2019-07-16LibGUI: Add input types to GMessageBox.Andreas Kling
Currently the two available input types are: - GMessageBox::InputType::OK (default) - GMessageBox::InputType::OKCancel Based on your choice, GMessageBox::exec() will return ExecOK or ExecCancel.
2019-07-10VisualBuilder: Expose the "name" property on all widgets.Andreas Kling
2019-06-30Meta: Removed all gitignore in the source tree only keeping the root oneVAN BOSSUYT Nicolas
2019-06-30GUI: Use Win2K-like "warm gray" color instead of the older colder gray.Andreas Kling
Someone suggested this a long time ago and I never got around to it. So here we go, here's the warm gray! I have to admit I like it better. :^)
2019-06-29VisualBuilder: Support loading a saved form from JSON.Andreas Kling
The form to load is specified on the command line, e.g "vb test.frm".
2019-06-27VisualBuilder: Use NonnullRefPtrVector.Andreas Kling
2019-06-23LibGUI+VisualBuilder: Support custom editing widgets for property values.Andreas Kling
Implemented this by letting GAbstractViews provide a GModelEditingDelegate for a given index, which then knows how to create and setup a custom widget appropriate for the data type being edited.
2019-06-22VisualBuilder: Fix compiler warnings.Andreas Kling
2019-06-21AK: Rename Retainable.h => RefCounted.h.Andreas Kling
2019-06-21AK: Rename RetainPtr.h => RefPtr.h, Retained.h => NonnullRefPtr.h.Andreas Kling
2019-06-21AK: Rename RetainPtr => RefPtr and Retained => NonnullRefPtr.Andreas Kling
2019-06-21AK: Rename Retainable => RefCounted.Andreas Kling
(And various related renames that go along with it.)