This repository has been archived by the owner on Apr 2, 2023. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathdocumentation.lisp
865 lines (626 loc) · 24.5 KB
/
documentation.lisp
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
#|
This file is a part of Qtools-UI
(c) 2015 Shirakumo http://tymoon.eu (shinmera@tymoon.eu)
Author: Nicolas Hafner <shinmera@tymoon.eu>
|#
(in-package #:org.shirakumo.qtools.ui)
(in-readtable :qtools)
;; auto-resizing-textedit.lisp
(docs:define-docs
(cl:function minimum-lines
"Accesses the minimum lines value of the auto-resizing text edit.")
(type auto-resizing-textedit
"A QTextEdit whose height automatically adjusts based on its text when it is
placed inside a layout.
The height computation assumes that only the standard font is used in the
document."))
;; bytearray.lisp
(docs:define-docs
(cl:function from-byte-array
"Converts from a QByteArray into a (vector (unsigned-byte 8)).
The optional argument FINALIZE states whether the QByteArray should be finalized
after the call completes.")
(cl:function to-byte-array
"Converts from a (vector (unsigned-byte 8)) into a QByteArray."))
;; cell.lisp
(docs:define-docs
(cl:function padding
"Padding in the number of pixels to use between the cell edge and the item.")
(type cell
"A cell is a generic item container that is selectable and draggable."))
;; color-history.lisp
(docs:define-docs
(type color-history
"A widget allowing access to N most recently accessed colors.
The number of colors stored in the color history can be set during widget
creation via the keyword argument :COLOR-COUNT.")
(cl:function color-count
"Returns the color count of the given color history widget."))
;; color-picker.lisp
(docs:define-docs
(type color-picker
"A widget allowing the user to choose a color via its RGB or HSV values."))
;; color-sliders.lisp
(docs:define-docs
(type rgb-color-slider
"A widget for an RGB sliders color chooser.")
(type hsv-color-slider
"A widget for an HSV sliders color chooser."))
;; color-triangle.lisp
(docs:define-docs
(type color-triangle
"A widget for an HSV colour wheel triangle as often used in graphics applications."))
;; compass.lisp
(docs:define-docs
(type compass
"A layout widget that aligns items North, East, South, West, and Center.
Use the corresponding keywords for the widget places."))
;; TODO configurable.lisp
;; container.lisp
(docs:define-docs
(cl:function map-widgets
"Map the function over the container's widgets.
The mapping order is in sequence with the widget positions.")
(cl:function map-items
"Map the function over the container's items.
The mapping order is in sequence with the item positions.")
(cl:function ensure-widget-order
"Make sure that the widgets of the container are in the right order.
This may change the widget's positions.")
(cl:function sorting
"The function used for sorting the container. If NIL, no sorting is applied.
The function must accept two arguments to compare.")
(cl:function widgets
"The direct widgets stored in the container.
You should not used this unless you are implementing a container yourself, or know
what you are doing, as the data structure is not necessarily safe to use directly,
or even specified to be of a certain type.")
(cl:function do-widgets
"Loop over the container's widgets.
See MAP-WIDGETS")
(cl:function do-items
"Loop over the container's items.
See MAP-ITEMS")
(type container
"A simple container to hold a list of widgets and manage the various layout functions.
This does not actually concern itself with arranging the widgets and only handles
the internal representation of the widgets. As such, this class is to be used as
a superclass for an actual layout that then takes care of the widget arrangement.")
(type sorted-container
"A container that also supports automatic sorting of the widgets.
See CONTAINER
See SORTING")
(type item-container
"A container that uses item containers instead of direct widgets.
See CONTAINER
See ITEM-LAYOUT")
(type sorted-item-container
"An item-container that also supports automatic sorting of the items.
See ITEM-CONTAINER
See SORTED-CONTAINER"))
;; debugger.lisp
(docs:define-docs
(cl:function invoke-gui-debugger
"Invokes the Qtools debugger with the provided condition.")
(cl:function exit-with-restart
"Returns the restart selected in the debugger widget after it closes.")
(type debugger
"A Lisp debugger widget implemented in Qtools.")
(cl:function exit-restart
"Accesses the debugger widget's exit restart slot."))
#+(or)
;; dialog.lisp TODO
;; wait for https://github.com/Shinmera/qtools-ui/issues/18 to be fixed
(docs:define-docs
(type dialog
"")
(cl:function show
"")
(type simple-input-dialog
""))
;; dictionary.lisp
(docs:define-docs
(type dictionary
"A dictionary widget utilizing the WordNet database.")
(cl:function empty-browser-text
"Accessor for the dictionary text displayed when the browser is empty.")
(cl:function not-found-text
"Accessor for the dictionary text displayed when the word was not found."))
;; drag-and-drop.lisp
(docs:define-docs
(variable *mime-data-with-object-type*
"The default value for MIME types used by draggable objects.")
(type mime-data-with-object
"Subclass of QMimeData capable of holding Lisp objects.
This class is a direct subclass of QMimeData with two modifications:
* It contains a slot called OBJECT that can be used to transmit arbitrary Lisp
data via drag and drop.
* The other is the :MIME-TYPE constructor keyword. This keyword can be used to
provide the MIME type of the dragged data.
Class MIME-DATA-WITH-OBJECT is not meant to be instantiated directly by the user
as it is a part of this drag and drop framework. Instead, the user should
subclass DRAGGABLE.
See DROPPABLE
See DROP-TARGET")
(type droppable
"Superclass of all objects that are droppable.
This class should be subclassed by all widgets that are meant to be droppable.
Mouse-clicking an instance of this class will initiate drag-and-drop behaviour.
Each DROPPABLE has a MIME-TYPE slot, describing the MIME type of the content
that is being dragged around. Its value must be a string and defaults to the
value of *MIME-DATA-WITH-OBJECT-TYPE*.
See MIME-DATA-WITH-OBJECT
See DROP-TARGET
See DROP-ACCEPTABLE-P
See DROP")
(type drop-target
"Superclass of all objects that accept drops.
This class should be subclassed by all widgets that are meant to accept drops.
Dropping a drag over this widget will initiate drop behaviour.
Each DROP-TARGET has a MIME-TYPE slot, describing the MIME type of the content
that is acceptable for dropping. Its value must be a string and defaults to the
value of *MIME-DATA-WITH-OBJECT-TYPE*.
See MIME-DATA-WITH-OBJECT
See DROPPABLE
See DROP-ACCEPTABLE-P
See DROP")
(cl:function drop-acceptable-p
"Returns whether it is possible to drop ITEM onto TARGET.
To make it possible to drop item of class A onto an object of class B, define a
method (defmethod drop-acceptable-p ((item A) (target B)) T). Keep in mind that
the MIME types of the DRAGGABLE and DROP-TARGET in question must match, even if
such a method is defined on both classes. (This is why we use a single MIME type
for everything - to move the drag-and-drop dispatch to the Common Lisp GF
mechanism.)
This generic function has a default method that returns NIL.
A method is provided for MIME-DATA-WITH-OBJECT that returns T.
See MIME-DATA-WITH-OBJECT
See DROPPABLE
See DROP-TARGET
See DROP")
(cl:function drop
"Implements logic to be run after an item is dropped.
See MIME-DATA-WITH-OBJECT
See DRAGGABLE
See DROP-TARGET
See DROP-ACCEPTABLE-P"))
;; draggable.lisp
(docs:define-docs
(cl:function dragging
"Whether the draggable is currently being dragged.
See DRAGGABLE")
(cl:function drag-start
"Called whenever the draggable is beginning to be dragged.
This usually happens during a mouse-press event.
See DRAGGABLE")
(cl:function drag
"Called whenever the draggable is being dragged around.
This usually happens during a mouse-move event.
See DRAGGABLE")
(cl:function drag-end
"Called whenever the draggable has stopped being dragged.
This usually happens during a mouse-release event.
See DRAGGABLE")
(type draggable
"A helper class to be used when you need to support dragging of your widget.
See DRAGGING
See DRAG-START
See DRAG
See DRAG-END"))
;; executable.lisp
(docs:define-docs
(type executable
"A qobject superclass that allows running functions within the GUI thread.
Accepts a signal named PROCESS-EXECUTIONS. When signalled runs all pending
functions.
See EXECUTE
See EXECUTE-IN-GUI
See WITH-BODY-IN-GUI")
(cl:function execute
"Performs the execution of an object.
An ABORT restart is always available during the execution of this method.
A standard method for FUNCTION objects exists.")
(cl:function execute-in-gui
"Schedules the execution to be executed within the executable's GUI thread.
When exactly the execution happens cannot be predetermined. However, it should
be approximately whenever the Qt event loop processes its next batch of events.
See EXECUTABLE
See EXECUTE")
(cl:function with-body-in-gui
"Convenience wrapper macro around EXECUTE-IN-GUI
See EXECUTE-IN-GUI"))
;; fixed-qtextedit.lisp
(docs:define-docs
(type fixed-qtextedit
"A QTextEdit with a workaround for QTBUG-9592.")
(cl:function fixed-qtextedit-context-menu
"Override function for FIXED-QTEXTEDIT's context-menu-event.
See FIXED-QTEXTEDIT"))
;; flow-layout.lisp
(docs:define-docs
(type flow-layout
"A QUI layout widget that fits as many widgets as it is able to horizontally, and overflows the rest."))
;; input.lisp
(docs:define-docs
(type input
"A superclass for input widgets.
Accepts signals named INPUT-UPDATED and INPUT-DONE.")
(cl:function value
"Accessor for the value of the input widget.
See INPUT
See STORING-INPUT")
(type storing-input
"A superclass for all widgets that store input.")
(type color-storing-input
"An input widget that stores colors.")
(cl:function color-type
"Reader for the color storing input's color type.
Valid values are :RGB and :HSV.
See COLOR-STORING-INPUT"))
;; imagetools.lisp
(docs:define-docs
(cl:function hue-shift
"Destructively rotates the hue of the provided QImage.
RATIO should be a real number, by which this function rotates the color wheel.
0.5 will turn all colors to their negatives, 1.0 is* a no-op."))
;; items.lisp
(docs:define-docs
(cl:function container
"The container of the item-widget.
See ITEM-WIDGET")
(cl:function widget-item
"The actual item wrapped by the item-widget.
See ITEM-WIDGET")
(cl:function item-widget
"Find the item-widget for the given item in the layout.")
(cl:function coerce-item
"Create a suitable item-widget for the item.")
(cl:function item-at
"Return the item at the specified place in the layout.")
(cl:function item-position
"Return the position of the item in the layout.
See WIDGET-POSITION")
(cl:function find-item
"Find the item in the layout.
See FIND-WIDGET")
(cl:function add-item
"Add the item to the layout.
See ADD-WIDGET
See COERCE-ITEM")
(cl:function insert-item
"Insert the item into the layout at the specified place.
See INSERT-WIDGET
See COERCE-ITEM")
(cl:function remove-item
"Remove the item from the layout.
See REMOVE-WIDGET
See ITEM-WIDGET")
(cl:function remove-item-at
"Remove the item at the specified place in the layout.
See REMOVE-WIDGET")
(cl:function swap-items
"Swap the two items in their place in the layout.
Note that the implementation might swap the corresponding item-widget,
or it may also choose to swap the items in place. As such, the item-widget's
positions may change, or the actual item-widget of the item may change.")
(cl:function swap-items-at
"Swap the two items at the specified places in the layout.
See SWAP-ITEMS")
(cl:function item-acceptable-p
"A predicate to decide whether the item is suitable for inclusion in the widget.")
(cl:function item<
"Whether A precedes B.
Default methods for STRING and NUMBER exist, as well as a general method that
simply prints the object to a string using PRINC and calls ITEM< again with the
results of that.
Add your own methods to this if you need more precise sorting.")
(cl:function item=
"Whether A is equal to B.
Default methods for STRING and NUMBER exist, as well as a general method that
simply prints the object to a string using PRINC and calls ITEM= again with the
results of that.
Add your own methods to this if you need more precise sorting.")
(cl:function item>
"Whether A follows B.
Uses ITEM< and ITEM= to calculate the result. You should not need to add methods
to this.")
(cl:function item<=
"Whether A precedes B.
Uses ITEM< and ITEM= to calculate the result. You should not need to add methods
to this.")
(cl:function item>=
"Whether A follows B.
Uses ITEM< and ITEM= to calculate the result. You should not need to add methods
to this.")
(type item-layout
"A layout to contain items.
See LAYOUT")
(type item-widget
"A widget to contain an item.
Depending on the item type, an item may or may not be contained in multiple
item-widgets at the same time. However, an item-widget itself can only be
contained once and only in one layout at a time."))
;; keychord-editor.lisp
(docs:define-docs
(type keychord-editor
"A simple dialog to allow dynamic changing of keychords as defined in a menu
definition.
See QTOOLS:DEFINE-MENU"))
;; layout.lisp
(docs:define-docs
(cl:function widget
"Returns the widget at the specified place in the layout.")
(cl:function find-widget
"Find the widget in the layout.
See FIND")
(cl:function widget-position
"Find the position of the widget in the layout.
See POSITION")
(cl:function widget-at-point
"See if there is a widget in the layout at the point and return it if it exists.
POINT can be a cons of X and Y or a QPoint.
The coordinates have to be relative to the layout.")
(cl:function add-widget
"Add the widget to the layout.
The positioning of the widget is completely up to the layout.")
(cl:function insert-widget
"Insert the widget at the specified place in the layout.")
(cl:function remove-widget
"Remove the widget or the widget at the specified place from the layout.")
(cl:function swap-widgets
"Swap the two widgets or the widgets at the specified places in the layout.")
(cl:function clear-layout
"Clear all widgets from the layout.")
(cl:function update
"Update the layout widgets' geometry.
This is automatically called if the layout receives a layout-request event or is resized.
It's also automatically called on the various layout modifying operations.
If you add new operations that modify the layout as well without calling the preexisting
ones, you should call this method to ensure the widgets are restored as appropraite.
If you subclass a layout, you should implement a method on this to calculate yout layouts
widgets' geometry properly.")
(cl:function update-for-added
"Update the layout widgets' geometry for added widgets.
This calls UPDATE unless overridden.")
(cl:function update-for-removed
"Update the layout widgets' geometry for removed widgets.
This calls UPDATE unless overridden.")
(cl:function widget-acceptable-p
"Predicate to determine whether the layout accepts the given widget.
This test is automatically called on all the predefined widget adding functions to make
sure no bad widgets can be inserted into a layout.
You should add methods to this to either further restrict or permit further widgets.
You should call this to check for permission if you add new layout manipulating functions
that don't call out to the standard layout functions.")
(type layout
"Superclass for all custom layout widgets."))
;; listing.lisp
(docs:define-docs
(cl:function minimum-row-height
"Accessor to the minimum row height of the listing.")
(cl:function fixed-row-height
"Accessor to the fixed row height of the listing.
If NIL, the row heights are dynamic, otherwise the listing will enforce this height.")
(cl:function draggable
"Accessor to whether widgets are draggable or not.")
(type listing
"Replacement for the QListWidget.
Allows sorting, dragging, selecting, and of course dynamic modification of the contents.
Unlike the QListWidget, this allows adding actual widgets, not just strings.")
(type listing-item
"The item container for the listing container."))
;; mouse-propagator.lisp
(docs:define-docs
(cl:function target
"The target to send the propagated mouse events to.")
(type mouse-propagator
"A helper class that propagates mouse events somewhere else, by default to itself.
This implements an event filter. To catch the events, use QObject::installEventFilter."))
;; notification
(docs:define-docs
(type notification
"A Qtools notification widget."))
;; TODO options.lisp
;; panel-container.lisp
(docs:define-docs
(cl:function orientation
"Accessor to the orientation of the panel container.
Valid values are :HORIZONTAL and :VERTICAL.")
(cl:function iconified-p
"Accessor to whether the panel-container is iconified or not.
If iconified, the panels are not actually shown, only their titles or icons.")
(cl:function iconify
"Iconify the panel-container.
See ICONFIFIED-P")
(cl:function deiconify
"Deiconify the panel-container.
See ICONFIFIED-P")
(type panel-container
"A container for panels.
Supports iconifying, rearranging of the panels, and vertical or horizontal orientation."))
;; panel-main-window.lisp
(docs:define-docs
(type panel-main-window
"A main window with a compass layout and a side panel on the east.
See PANEL-CONTAINER
See COMPASS"))
;; panel.lisp
(docs:define-docs
(type container
"Accessor to the container widget of the panel.")
(cl:function title
"The title displayed for the panel.")
(cl:function detachable-p
"Accessor to whether the panel is detachable.")
(cl:function collapsable-p
"Accessor to whether the panel is collapsable.")
(cl:function titlebar-shown-p
"Accessor to whether the panel's titlebar is visible.")
(cl:function attached-p
"Accessor to whether the panel is attached.
See ATTACH
See DETACH")
(cl:function collapsed-p
"Accessor to whether the panel is collapsed.
See COLLAPSE
See EXPAND")
(cl:function attach
"Tell the panel to attach itself to a container.
If NIL is passed as the container, the panel will try to use the last container it has been
attached to to attach to again. If no container is given or no previous container exists,
an error is signalled. Panels can only be attached to one container at a time.")
(cl:function detach
"Tell the panel to detach itself from a container.
If it is not currently attached to anything, an error is signalled. The panel will remember
the container it has been attached to so it can easily be reattached later.")
(cl:function expand
"Make the panel's center widget visible.")
(cl:function collapse
"Make the panel's center widget invisible.")
(cl:function exit
"Close the panel.")
(type panel
"A dockable and collapsible panel to contain a widget.
Useful in situations where you want to build a UI that contains several parts that the user
should be able to freely arrange to their liking."))
;; TODO plot.lisp
;; progress-bar.lisp
(docs:define-docs
(type progress-bar
"A progress bar widget.")
(cl:function text
"Accessor for the text of the progress bar.")
(cl:function progress
"Accessor for the progress of the progress bar.")
(cl:function maximum
"Accessor for the maximum of the progress bar.")
(cl:function minimum
"Accessor for the minimum of the progress bar."))
;; repaintable.lisp
(docs:define-docs
(cl:function repaint
"Cause the repaintable to be repainted.
Unlike QWidget::repaint, this method is safe to be called from any thread as it will use a
signal to reach the main thread in which drawing events are permitted.")
(type repaintable
"A widget that is safely repaintable by offering a method and signal to cause a repaint in the main thread.
See REPAINT"))
;; repl.lisp
(docs:define-docs
(type repl
"A Common Lisp read-eval-print-loop widget.")
(cl:function repl-eval
"The function that schedules the form for execution, blocks until its execution is complete, and returns the results.
See REPL")
(cl:function repl-eval-loop
"The function implementing the loop of the REPL.
See REPL")
(cl:function repl-eval-inner
"The inner function called by REPL-EVAL-LOOP.
This function is responsible for shifting the values of the variables +, ++,
+++, *, **, ***, /, //, /// and calling the Lisp evaluator.
See REPL")
(type repl-output-stream
"A Gray stream implementing the output functionality of the REPL widget.
See REPL"))
;; selectable.lisp
(docs:define-docs
(cl:function active-widget
"Accessor for the currently active widget on the layout.")
(cl:function active-item
"Accessor for the currently active item on the layout.")
(cl:function active-p
"Accessor for whether this item is currently active.")
(cl:function selectable
"Accessor for whether selecting a widget/item is allowed.")
(type selectable-layout
"An item-layout that allows selecting a certain item.")
(type selectable-item
"An item that permits being selected."))
;; slider.lisp
(docs:define-docs
(cl:function maximum
"Accessor for the maximum of the slider.")
(cl:function minimum
"Accessor for the minimum of the slider.")
(cl:function stepping
"Accessor for the step size of the slider.")
(cl:function default
"Accessor for the slider's default value, if any.")
(type double-slider
"Qt does not provide a floating-point slider, hence this.
It uses a standard slider, but uses an internal divisor to achieve floating point values.
See MAXIMUM
See MINIMUM
See STEPPING")
(type slider
"A neat slider widget that combines a double-slider, a spin box, and a potential defaulting button.
If the default is NIL, no button is displayed.
See MAXIMUM
See MINIMUM
See STEPPING
See DEFAULT"))
;; spellchecked-text-edit.lisp
(docs:define-docs
(type spellchecked-text-edit
"A QTextEdit with the possibility of spellchecking its contents.
See DELAY
See CLEAR-ON-TEXT-CHANGED-P
See SPELLCHECK")
(cl:function delay
"Accessor for the delay slot of the spellchecked text edit.
The valid values are a number of milliseconds that must pass between the text
being edited and the spellcheck being performed, or NIL if the spellchecking
should not be done automatically.")
(cl:function clear-on-text-changed-p
"Accessor for whether the spellchecked text edit should clear its spellchecking selections on text edit.")
(cl:function spellcheck
"Performs spellchecking on the spellchecked text edit.
Invoking this function manually is only needed if the delay value of the
spellchecked text edit is NIL.
See SPELLCHECKED-TEXT-EDIT
See DELAY"))
;; splitter.lisp
(docs:define-docs
(cl:function resize-widget
"Resize the layout's widget to the given size.")
(cl:function orientation
"Accessor for the layout's orientation, must be one of :vertical or :horizontal.")
(cl:function handle-size
"Accessor for the size of a splitter's handle.")
(type splitter
"Similar to QSplitter, but instead of distributing all available space, only uses up and extends to as much space as is needed by its widgets.")
(type splitter-handle
"The handle subwidget for splitter.
See SPLITTER"))
;; svgtools.lisp
(docs:define-docs
(cl:function svg-pixmap
"Draws the provided SVG file on a new pixmap with the provided scale and returns the pixmap.
The SCALE keyword argument may be a positive integer or float. The SVG's
original sizes will be multiplied by that factor and rounded to the nearest
integer.
The RENDERER keyword argument may be provided in case multiple SVG are rendered
one after another. This should avoid the cost of instantiating new QSvgRenderers
in succession."))
;; toolkit.lisp
(docs:define-docs
(cl:function call-with-translation
"Call the function while translating the painter by the target.
See QPainter::translate")
(cl:function with-translation
"Convenience macro around call-with-translation
See CALL-WITH-TRANSLATION")
(cl:function color-to-rgba
"Turns an rgba quadruplet into an integer.")
(cl:function rgba-to-color
"Turns an integer into an rgba quadruplet.")
(cl:function c
"Returns a corresponding QColor object.
Note that these objects are cached. You should never modify them.")
(cl:function coerce-color
"Coerce the color into a QColor object.
Can be either a QColor, a list of the R G B and A components, or an RGBA integer.
If not a direct QColor, the value is resolved as per C.
See RGBA-TO-COLOR
See C"))