Next: Introduction, Previous: (dir), Up: (dir) [Contents][Index]
This is the qtools-ui Reference Manual, version 0.1.0, generated automatically by Declt version 3.0 "Montgomery Scott" on Tue Dec 22 14:47:53 2020 GMT+0.
• Introduction | What qtools-ui is all about | |
• Systems | The systems documentation | |
• Files | The files documentation | |
• Packages | The packages documentation | |
• Definitions | The symbols documentation | |
• Indexes | Concepts, functions, variables and data types |
This is a collection of useful widgets and pre-made components for use in your Qt applications. There is no specific scope that limits what might fit into this library, but for the most part it concerns itself with things like layouting and other base components that can be used anywhere.
This library builds on Qtools. However, while Qtools aims to provide a useful abstraction layer on top of CommonQt to make programming easier, it shouldn't really concern itself with providing useful standard components or replacement components for what Qt provides. That's where this comes in.
Unfortunately for us, Qt is rather lacklustre in certain departments. Some standard components are either very scarcely actually useful, or close to broken in their behaviour. Most annoying of all, the layouts in Qt are usually not designed with the idea of being rewriteable, meaning it's sometimes a real pain if you would just like to remove or shuffle the widgets around.
So, in an attempt to fix and circumvent this all, this library will contain a lot of reinventions, but does so in a much more reusable and extensible manner, allowing you to use parts of it and build on them as well.
There is no set constraint on the extent of what this library might contain in terms of pre-made components. As such, suggestions for further components are very welcome. If you wrote a widget that might be generally useful even outside of your specific application, a pull-request to add it to this would be much appreciated.
Qtools-UI offers individual ASDF systems for almost every component, meaning that if you do end up using it, you won't have to carry all the parts with you that you don't need. As such, the growth of this library is not impaired in any manner aside from the potentially growing complexity that should be minimised where possible.
Before using this library, you should get yourself familiar with writing Qt applications in general, hopefully by using Qtools. Next, you'll simply need to add qtools-ui
or a more specific component system to your dependencies. All components can then be instantiated through make-instance
and the respective symbol from the qui
package. All components are put into the same package, even if they are not necessarily loaded all at once.
How to use the individual components of course varies by what it is. For this, hit up the documentation string for whichever you need. A very primitive example of some nifty components follows:
(cl+qt:with-main-window (w (make-instance 'qui:panel-container))
(qui:add-widget (make-instance 'qui:panel :title "An empty panel. :(") w)
(qui:add-widget (make-instance 'qui:panel :title "A slider, whoa!"
:center (make-instance 'qui:slider)) w))
Probably the most important aspect of Qtools-UI is the layouting mechanism. Central to this are the following basic functions: widget
, find-widget
, widget-position
, widget-at-point
, add-widget
, insert-widget
, remove-widget
, swap-widgets
, clear-layout
. These allow you to manipulate and inspect the layout contents easily. Internally, the management of the widgets is up to the specific layout at hand. The actual positioning of the widgets is done in the layout's update
mechanism, which therefore has to be called whenever a change occurs that might influence the widgets' positions. As a user of layouts you should not have to touch this method. Layouts also allow controlling which widgets they may contain, to ensure that no unsuitable widgets can enter the layout and screw up the management. This policy is controlled by widget-acceptable-p
.
Built on top of the layout system is the items system, which very closely mimics the layout API. Items are meant for situations where the actual widget in a layout has to be a wrapper around the actual widget or item the user provides. This is useful in contexts like the listing
, which needs to allow changing the colour when a row is selected and so forth. In order to not have to intrude into the user supplied widgets and to provide a more general system for this kind of tasks, the items are there for you. As a user you should however be aware of whether the component you're using is relying on widgets, or has to use the items layer, since you will still be able to access and manipulate the widgets directly, which might then lead to unexpected behaviour. For the most part though, the items functions map rather directly to the widgets ones, plus or minus a widget-item
or item-widget
call. Similarly to widget-acceptable-p
, the items system has a item-accceptable-p
method to control which items the item-layout can handle.
In order to allow sorting, items also allow a general sorting mechanism that is facilitated through the item<
, item=
, item>
, item<=
, and item>=
functions. If you provide a widget as an item to a sorted layout, you likely will want to add methods to at least item<
and item=
to perform the proper ordering test.
Drag and drop functionality in Qt revolves around MIME types. A single drag can contain data in multiple formats, each of them described by a single MIME type in form of a string.
For simplicity, the mechanism used in the Drag and Drop implementation uses only a single MIME type, which, by default, is "application/qtools-mime-data-with-object"
, being the value of *mime-data-with-object-type*
.
You can provide your own separate MIME type by providing a :mime-type
keyword argument to the constructors of draggable
and drop-target
or client classes that subclass them. This can be used to create several drag and drop mechanisms that should not interact with each other, for example, when your application makes it possible to drag around multiple mutually incompatible types of data.
A few, short videos were recorded to show off some of the components included. You can find them on youtube.
Next: Files, Previous: Introduction, Up: Top [Contents][Index]
The main system appears first, followed by any subsystem dependency.
Next: The qtools-ui-auto-resizing-textedit system, Previous: Systems, Up: Systems [Contents][Index]
Nicolas Hafner <shinmera@tymoon.eu>
Nicolas Hafner <shinmera@tymoon.eu>
(:git "https://github.com/shinmera/qtools-ui.git")
zlib
A collection of components and utilities for use in Qt applications.
0.1.0
qtools-ui.asd (file)
Next: The qtools-ui-debugger system, Previous: The qtools-ui system, Up: Systems [Contents][Index]
Michał "phoe" Herda <phoe@disroot.org>
Michał "phoe" Herda <phoe@disroot.org>
(:git "https://github.com/shinmera/qtools-ui.git")
zlib
QTextEdit with automatic height adjustment
auto-resizing-textedit.lisp (file)
Next: The qtools-ui-dictionary system, Previous: The qtools-ui-auto-resizing-textedit system, Up: Systems [Contents][Index]
Nicolas Hafner <shinmera@tymoon.eu>
Nicolas Hafner <shinmera@tymoon.eu>
(:git "https://github.com/shinmera/qtools-ui.git")
zlib
A portable debugger to handle and display errors.
qtools-ui-debugger.asd (file)
debugger.lisp (file)
Next: The qtools-ui-drag-and-drop system, Previous: The qtools-ui-debugger system, Up: Systems [Contents][Index]
Michał "phoe" Herda <phoe@disroot.org>
Michał "phoe" Herda <phoe@disroot.org>
(:git "https://github.com/shinmera/qtools-ui.git")
zlib
A widget allowing lookups in English WordNet dictionary.
qtools-ui-dictionary.asd (file)
dictionary.lisp (file)
Next: The qtools-ui-imagetools system, Previous: The qtools-ui-dictionary system, Up: Systems [Contents][Index]
Michał "phoe" Herda <phoe@disroot.org>
Michał "phoe" Herda <phoe@disroot.org>
(:git "https://github.com/shinmera/qtools-ui.git")
zlib
Classes implementing simple drag-and-drop in Qtools.
qtools-ui-drag-and-drop.asd (file)
drag-and-drop.lisp (file)
Next: The qtools-ui-keychord-editor system, Previous: The qtools-ui-drag-and-drop system, Up: Systems [Contents][Index]
Michał "phoe" Herda <phoe@disroot.org>
Michał "phoe" Herda <phoe@disroot.org>
(:git "https://github.com/shinmera/qtools-ui.git")
zlib
Toolkit for dealing with QImage files in Qt.
qtools-ui-imagetools.asd (file)
imagetools.lisp (file)
Next: The qtools-ui-options system, Previous: The qtools-ui-imagetools system, Up: Systems [Contents][Index]
Nicolas Hafner <shinmera@tymoon.eu>
Nicolas Hafner <shinmera@tymoon.eu>
(:git "https://github.com/shinmera/qtools-ui.git")
zlib
A basic editor for keychords generated by Qtools’ define-menu.
qtools-ui-base (system)
keychord-editor.lisp (file)
Next: The qtools-ui-color-picker system, Previous: The qtools-ui-keychord-editor system, Up: Systems [Contents][Index]
Nicolas Hafner <shinmera@tymoon.eu>
Nicolas Hafner <shinmera@tymoon.eu>
(:git "https://github.com/shinmera/qtools-ui.git")
zlib
A system to generate automatic option dialogs.
qtools-ui-options.asd (file)
Next: The qtools-ui-dialog system, Previous: The qtools-ui-options system, Up: Systems [Contents][Index]
Nicolas Hafner <shinmera@tymoon.eu>
Nicolas Hafner <shinmera@tymoon.eu>
(:git "https://github.com/shinmera/qtools-ui.git")
zlib
A color picker dialog alternative to QColorChooser
qtools-ui-color-picker.asd (file)
color-picker.lisp (file)
Next: The qtools-ui-color-triangle system, Previous: The qtools-ui-color-picker system, Up: Systems [Contents][Index]
Nicolas Hafner <shinmera@tymoon.eu>
Nicolas Hafner <shinmera@tymoon.eu>
(:git "https://github.com/shinmera/qtools-ui.git")
zlib
Helper classes for constructing dialogs.
qtools-ui-dialog.asd (file)
dialog.lisp (file)
Next: The qtools-ui-color-history system, Previous: The qtools-ui-dialog system, Up: Systems [Contents][Index]
Nicolas Hafner <shinmera@tymoon.eu>
Nicolas Hafner <shinmera@tymoon.eu>
(:git "https://github.com/shinmera/qtools-ui.git")
zlib
An HSV color wheel triangle as used in graphics applications.
qtools-ui-color-triangle.asd (file)
color-triangle.lisp (file)
Next: The qtools-ui-flow-layout system, Previous: The qtools-ui-color-triangle system, Up: Systems [Contents][Index]
Nicolas Hafner <shinmera@tymoon.eu>
Nicolas Hafner <shinmera@tymoon.eu>
(:git "https://github.com/shinmera/qtools-ui.git")
zlib
A simple history for colors.
qtools-ui-color-history.asd (file)
color-history.lisp (file)
Next: The qtools-ui-color-sliders system, Previous: The qtools-ui-color-history system, Up: Systems [Contents][Index]
Nicolas Hafner <shinmera@tymoon.eu>
Nicolas Hafner <shinmera@tymoon.eu>
(:git "https://github.com/shinmera/qtools-ui.git")
zlib
A flow-layout that lets widgets flow to the next line.
qtools-ui-flow-layout.asd (file)
flow-layout.lisp (file)
Next: The qtools-ui-listing system, Previous: The qtools-ui-flow-layout system, Up: Systems [Contents][Index]
Nicolas Hafner <shinmera@tymoon.eu>
Nicolas Hafner <shinmera@tymoon.eu>
(:git "https://github.com/shinmera/qtools-ui.git")
zlib
A color slider widgets as used in graphics applications.
qtools-ui-color-sliders.asd (file)
color-sliders.lisp (file)
Next: The qtools-ui-cell system, Previous: The qtools-ui-color-sliders system, Up: Systems [Contents][Index]
Nicolas Hafner <shinmera@tymoon.eu>
Nicolas Hafner <shinmera@tymoon.eu>
(:git "https://github.com/shinmera/qtools-ui.git")
zlib
A basic item listing widget that allows selection, sorting, and dragging.
qtools-ui-listing.asd (file)
listing.lisp (file)
Next: The qtools-ui-panels system, Previous: The qtools-ui-listing system, Up: Systems [Contents][Index]
Nicolas Hafner <shinmera@tymoon.eu>
Nicolas Hafner <shinmera@tymoon.eu>
(:git "https://github.com/shinmera/qtools-ui.git")
zlib
An item-widget that presents a draggable and selectable cell.
qtools-ui-cell.asd (file)
cell.lisp (file)
Next: The qtools-ui-compass system, Previous: The qtools-ui-cell system, Up: Systems [Contents][Index]
Nicolas Hafner <shinmera@tymoon.eu>
Nicolas Hafner <shinmera@tymoon.eu>
(:git "https://github.com/shinmera/qtools-ui.git")
zlib
A panelling system that allows floating, docking, and collapsing.
qtools-ui-panels.asd (file)
Next: The qtools-ui-placeholder-text-edit system, Previous: The qtools-ui-panels system, Up: Systems [Contents][Index]
Nicolas Hafner <shinmera@tymoon.eu>
Nicolas Hafner <shinmera@tymoon.eu>
(:git "https://github.com/shinmera/qtools-ui.git")
zlib
A compass layout orienting things N/E/S/W/C.
qtools-ui-compass.asd (file)
compass.lisp (file)
Next: The qtools-ui-plot system, Previous: The qtools-ui-compass system, Up: Systems [Contents][Index]
Michał "phoe" Herda <phoe@disroot.org>
Michał "phoe" Herda <phoe@disroot.org>
(:git "https://github.com/shinmera/qtools-ui.git")
zlib
A QTextEdit with placeholder text.
placeholder-text-edit.lisp (file)
Next: The qtools-ui-repl system, Previous: The qtools-ui-placeholder-text-edit system, Up: Systems [Contents][Index]
Nicolas Hafner <shinmera@tymoon.eu>
Nicolas Hafner <shinmera@tymoon.eu>
(:git "https://github.com/shinmera/qtools-ui.git")
zlib
A one dimensional plotter
qtools-ui-plot.asd (file)
plot.lisp (file)
Next: The qtools-ui-slider system, Previous: The qtools-ui-plot system, Up: Systems [Contents][Index]
Nicolas Hafner <shinmera@tymoon.eu>
Nicolas Hafner <shinmera@tymoon.eu>
(:git "https://github.com/shinmera/qtools-ui.git")
zlib
An implementation of a REPL.
qtools-ui-repl.asd (file)
repl.lisp (file)
Next: The qtools-ui-spellchecked-text-edit system, Previous: The qtools-ui-repl system, Up: Systems [Contents][Index]
Nicolas Hafner <shinmera@tymoon.eu>
Nicolas Hafner <shinmera@tymoon.eu>
(:git "https://github.com/shinmera/qtools-ui.git")
zlib
A more convenient slider than the QSlider.
qtools-ui-slider.asd (file)
slider.lisp (file)
Next: The qtools-ui-fixed-qtextedit system, Previous: The qtools-ui-slider system, Up: Systems [Contents][Index]
Michał "phoe" Herda <phoe@disroot.org>
Michał "phoe" Herda <phoe@disroot.org>
(:git "https://github.com/shinmera/qtools-ui.git")
zlib
A QTextEdit capable of spellchecking English text.
spellchecked-text-edit.lisp (file)
Next: The qtools-ui-splitter system, Previous: The qtools-ui-spellchecked-text-edit system, Up: Systems [Contents][Index]
Michał "phoe" Herda <phoe@disroot.org>
Michał "phoe" Herda <phoe@disroot.org>
(:git "https://github.com/shinmera/qtools-ui.git")
zlib
QTextEdit with working context menu - workaround for QTBUG-9592
qtools-ui-base (system)
fixed-qtextedit.lisp (file)
Next: The qtools-ui-helpers system, Previous: The qtools-ui-fixed-qtextedit system, Up: Systems [Contents][Index]
Nicolas Hafner <shinmera@tymoon.eu>
Nicolas Hafner <shinmera@tymoon.eu>
(:git "https://github.com/shinmera/qtools-ui.git")
zlib
A better version of the QSplitter, allowing a dynamic size based on the components’ size.
qtools-ui-splitter.asd (file)
splitter.lisp (file)
Next: The qtools-ui-container system, Previous: The qtools-ui-splitter system, Up: Systems [Contents][Index]
Nicolas Hafner <shinmera@tymoon.eu>
Nicolas Hafner <shinmera@tymoon.eu>
(:git "https://github.com/shinmera/qtools-ui.git")
zlib
A collection of useful little helper widgets.
qtools-ui-helpers.asd (file)
Next: The qtools-ui-layout system, Previous: The qtools-ui-helpers system, Up: Systems [Contents][Index]
Nicolas Hafner <shinmera@tymoon.eu>
Nicolas Hafner <shinmera@tymoon.eu>
(:git "https://github.com/shinmera/qtools-ui.git")
zlib
A basic superclass for arbitrary element container layouts.
qtools-ui-container.asd (file)
container.lisp (file)
Next: The qtools-ui-notification system, Previous: The qtools-ui-container system, Up: Systems [Contents][Index]
Nicolas Hafner <shinmera@tymoon.eu>
Nicolas Hafner <shinmera@tymoon.eu>
(:git "https://github.com/shinmera/qtools-ui.git")
zlib
The basic layout and item-layout components required to build layouts.
qtools-ui-base (system)
qtools-ui-layout.asd (file)
Next: The qtools-ui-base system, Previous: The qtools-ui-layout system, Up: Systems [Contents][Index]
Nicolas Hafner <shinmera@tymoon.eu>
Nicolas Hafner <shinmera@tymoon.eu>
(:git "https://github.com/shinmera/qtools-ui.git")
zlib
Simple desktop notifications.
qtools-ui-base (system)
qtools-ui-notification.asd (file)
notification.lisp (file)
Previous: The qtools-ui-notification system, Up: Systems [Contents][Index]
Nicolas Hafner <shinmera@tymoon.eu>
Nicolas Hafner <shinmera@tymoon.eu>
(:git "https://github.com/shinmera/qtools-ui.git")
zlib
Qtools-UI’s base toolkit, package, and documentation.
qtools-ui-base.asd (file)
Files are sorted by type and then listed depth-first from the systems components trees.
• Lisp files |
Next: The qtools-ui-auto-resizing-textedit․asd file, Previous: Lisp files, Up: Lisp files [Contents][Index]
qtools-ui.asd
qtools-ui (system)
Next: The qtools-ui-debugger․asd file, Previous: The qtools-ui․asd file, Up: Lisp files [Contents][Index]
qtools-ui-auto-resizing-textedit.asd
qtools-ui-auto-resizing-textedit (system)
Next: The qtools-ui-dictionary․asd file, Previous: The qtools-ui-auto-resizing-textedit․asd file, Up: Lisp files [Contents][Index]
qtools-ui-debugger.asd
qtools-ui-debugger (system)
Next: The qtools-ui-drag-and-drop․asd file, Previous: The qtools-ui-debugger․asd file, Up: Lisp files [Contents][Index]
qtools-ui-dictionary.asd
qtools-ui-dictionary (system)
Next: The qtools-ui-imagetools․asd file, Previous: The qtools-ui-dictionary․asd file, Up: Lisp files [Contents][Index]
qtools-ui-drag-and-drop.asd
qtools-ui-drag-and-drop (system)
Next: The qtools-ui-keychord-editor․asd file, Previous: The qtools-ui-drag-and-drop․asd file, Up: Lisp files [Contents][Index]
qtools-ui-imagetools.asd
qtools-ui-imagetools (system)
Next: The qtools-ui-options․asd file, Previous: The qtools-ui-imagetools․asd file, Up: Lisp files [Contents][Index]
qtools-ui-keychord-editor.asd
qtools-ui-keychord-editor (system)
Next: The qtools-ui-color-picker․asd file, Previous: The qtools-ui-keychord-editor․asd file, Up: Lisp files [Contents][Index]
qtools-ui-options.asd
qtools-ui-options (system)
Next: The qtools-ui-dialog․asd file, Previous: The qtools-ui-options․asd file, Up: Lisp files [Contents][Index]
qtools-ui-color-picker.asd
qtools-ui-color-picker (system)
Next: The qtools-ui-color-triangle․asd file, Previous: The qtools-ui-color-picker․asd file, Up: Lisp files [Contents][Index]
qtools-ui-dialog.asd
qtools-ui-dialog (system)
Next: The qtools-ui-color-history․asd file, Previous: The qtools-ui-dialog․asd file, Up: Lisp files [Contents][Index]
qtools-ui-color-triangle.asd
qtools-ui-color-triangle (system)
Next: The qtools-ui-flow-layout․asd file, Previous: The qtools-ui-color-triangle․asd file, Up: Lisp files [Contents][Index]
qtools-ui-color-history.asd
qtools-ui-color-history (system)
Next: The qtools-ui-color-sliders․asd file, Previous: The qtools-ui-color-history․asd file, Up: Lisp files [Contents][Index]
qtools-ui-flow-layout.asd
qtools-ui-flow-layout (system)
Next: The qtools-ui-listing․asd file, Previous: The qtools-ui-flow-layout․asd file, Up: Lisp files [Contents][Index]
qtools-ui-color-sliders.asd
qtools-ui-color-sliders (system)
Next: The qtools-ui-cell․asd file, Previous: The qtools-ui-color-sliders․asd file, Up: Lisp files [Contents][Index]
qtools-ui-listing.asd
qtools-ui-listing (system)
Next: The qtools-ui-panels․asd file, Previous: The qtools-ui-listing․asd file, Up: Lisp files [Contents][Index]
qtools-ui-cell.asd
qtools-ui-cell (system)
Next: The qtools-ui-compass․asd file, Previous: The qtools-ui-cell․asd file, Up: Lisp files [Contents][Index]
qtools-ui-panels.asd
qtools-ui-panels (system)
Next: The qtools-ui-placeholder-text-edit․asd file, Previous: The qtools-ui-panels․asd file, Up: Lisp files [Contents][Index]
qtools-ui-compass.asd
qtools-ui-compass (system)
Next: The qtools-ui-plot․asd file, Previous: The qtools-ui-compass․asd file, Up: Lisp files [Contents][Index]
qtools-ui-placeholder-text-edit.asd
qtools-ui-placeholder-text-edit (system)
Next: The qtools-ui-repl․asd file, Previous: The qtools-ui-placeholder-text-edit․asd file, Up: Lisp files [Contents][Index]
qtools-ui-plot.asd
qtools-ui-plot (system)
Next: The qtools-ui-slider․asd file, Previous: The qtools-ui-plot․asd file, Up: Lisp files [Contents][Index]
qtools-ui-repl.asd
qtools-ui-repl (system)
Next: The qtools-ui-spellchecked-text-edit․asd file, Previous: The qtools-ui-repl․asd file, Up: Lisp files [Contents][Index]
qtools-ui-slider.asd
qtools-ui-slider (system)
Next: The qtools-ui-fixed-qtextedit․asd file, Previous: The qtools-ui-slider․asd file, Up: Lisp files [Contents][Index]
qtools-ui-spellchecked-text-edit.asd
qtools-ui-spellchecked-text-edit (system)
Next: The qtools-ui-splitter․asd file, Previous: The qtools-ui-spellchecked-text-edit․asd file, Up: Lisp files [Contents][Index]
qtools-ui-fixed-qtextedit.asd
qtools-ui-fixed-qtextedit (system)
Next: The qtools-ui-helpers․asd file, Previous: The qtools-ui-fixed-qtextedit․asd file, Up: Lisp files [Contents][Index]
qtools-ui-splitter.asd
qtools-ui-splitter (system)
Next: The qtools-ui-container․asd file, Previous: The qtools-ui-splitter․asd file, Up: Lisp files [Contents][Index]
qtools-ui-helpers.asd
qtools-ui-helpers (system)
Next: The qtools-ui-layout․asd file, Previous: The qtools-ui-helpers․asd file, Up: Lisp files [Contents][Index]
qtools-ui-container.asd
qtools-ui-container (system)
Next: The qtools-ui-notification․asd file, Previous: The qtools-ui-container․asd file, Up: Lisp files [Contents][Index]
qtools-ui-layout.asd
qtools-ui-layout (system)
Next: The qtools-ui-base․asd file, Previous: The qtools-ui-layout․asd file, Up: Lisp files [Contents][Index]
qtools-ui-notification.asd
qtools-ui-notification (system)
Next: The qtools-ui-auto-resizing-textedit/auto-resizing-textedit․lisp file, Previous: The qtools-ui-notification․asd file, Up: Lisp files [Contents][Index]
qtools-ui-base.asd
qtools-ui-base (system)
Next: The qtools-ui-debugger/debugger․lisp file, Previous: The qtools-ui-base․asd file, Up: Lisp files [Contents][Index]
qtools-ui-auto-resizing-textedit (system)
auto-resizing-textedit.lisp
Next: The qtools-ui-dictionary/dictionary․lisp file, Previous: The qtools-ui-auto-resizing-textedit/auto-resizing-textedit․lisp file, Up: Lisp files [Contents][Index]
qtools-ui-debugger (system)
debugger.lisp
Next: The qtools-ui-drag-and-drop/drag-and-drop․lisp file, Previous: The qtools-ui-debugger/debugger․lisp file, Up: Lisp files [Contents][Index]
qtools-ui-dictionary (system)
dictionary.lisp
Next: The qtools-ui-imagetools/imagetools․lisp file, Previous: The qtools-ui-dictionary/dictionary․lisp file, Up: Lisp files [Contents][Index]
qtools-ui-drag-and-drop (system)
drag-and-drop.lisp
Next: The qtools-ui-keychord-editor/keychord-editor․lisp file, Previous: The qtools-ui-drag-and-drop/drag-and-drop․lisp file, Up: Lisp files [Contents][Index]
qtools-ui-imagetools (system)
imagetools.lisp
hue-shift (function)
Next: The qtools-ui-options/options․lisp file, Previous: The qtools-ui-imagetools/imagetools․lisp file, Up: Lisp files [Contents][Index]
qtools-ui-keychord-editor (system)
keychord-editor.lisp
Next: The qtools-ui-options/configurable․lisp file, Previous: The qtools-ui-keychord-editor/keychord-editor․lisp file, Up: Lisp files [Contents][Index]
qtools-ui-options (system)
options.lisp
Next: The qtools-ui-color-picker/color-picker․lisp file, Previous: The qtools-ui-options/options․lisp file, Up: Lisp files [Contents][Index]
options.lisp (file)
qtools-ui-options (system)
configurable.lisp
Next: The qtools-ui-dialog/dialog․lisp file, Previous: The qtools-ui-options/configurable․lisp file, Up: Lisp files [Contents][Index]
qtools-ui-color-picker (system)
color-picker.lisp
color-picker (class)
Next: The qtools-ui-color-triangle/color-triangle․lisp file, Previous: The qtools-ui-color-picker/color-picker․lisp file, Up: Lisp files [Contents][Index]
qtools-ui-dialog (system)
dialog.lisp
Next: The qtools-ui-color-history/color-history․lisp file, Previous: The qtools-ui-dialog/dialog․lisp file, Up: Lisp files [Contents][Index]
qtools-ui-color-triangle (system)
color-triangle.lisp
color-triangle (class)
Next: The qtools-ui-flow-layout/flow-layout․lisp file, Previous: The qtools-ui-color-triangle/color-triangle․lisp file, Up: Lisp files [Contents][Index]
qtools-ui-color-history (system)
color-history.lisp
Next: The qtools-ui-color-sliders/color-sliders․lisp file, Previous: The qtools-ui-color-history/color-history․lisp file, Up: Lisp files [Contents][Index]
qtools-ui-flow-layout (system)
flow-layout.lisp
Next: The qtools-ui-listing/listing․lisp file, Previous: The qtools-ui-flow-layout/flow-layout․lisp file, Up: Lisp files [Contents][Index]
qtools-ui-color-sliders (system)
color-sliders.lisp
Next: The qtools-ui-cell/cell․lisp file, Previous: The qtools-ui-color-sliders/color-sliders․lisp file, Up: Lisp files [Contents][Index]
qtools-ui-listing (system)
listing.lisp
Next: The qtools-ui-panels/panel․lisp file, Previous: The qtools-ui-listing/listing․lisp file, Up: Lisp files [Contents][Index]
qtools-ui-cell (system)
cell.lisp
Next: The qtools-ui-panels/panel-container․lisp file, Previous: The qtools-ui-cell/cell․lisp file, Up: Lisp files [Contents][Index]
qtools-ui-panels (system)
panel.lisp
Next: The qtools-ui-panels/panel-main-window․lisp file, Previous: The qtools-ui-panels/panel․lisp file, Up: Lisp files [Contents][Index]
panel.lisp (file)
qtools-ui-panels (system)
panel-container.lisp
Next: The qtools-ui-compass/compass․lisp file, Previous: The qtools-ui-panels/panel-container․lisp file, Up: Lisp files [Contents][Index]
panel-container.lisp (file)
qtools-ui-panels (system)
panel-main-window.lisp
Next: The qtools-ui-placeholder-text-edit/placeholder-text-edit․lisp file, Previous: The qtools-ui-panels/panel-main-window․lisp file, Up: Lisp files [Contents][Index]
qtools-ui-compass (system)
compass.lisp
Next: The qtools-ui-plot/plot․lisp file, Previous: The qtools-ui-compass/compass․lisp file, Up: Lisp files [Contents][Index]
qtools-ui-placeholder-text-edit (system)
placeholder-text-edit.lisp
Next: The qtools-ui-repl/repl․lisp file, Previous: The qtools-ui-placeholder-text-edit/placeholder-text-edit․lisp file, Up: Lisp files [Contents][Index]
qtools-ui-plot (system)
plot.lisp
Next: The qtools-ui-slider/slider․lisp file, Previous: The qtools-ui-plot/plot․lisp file, Up: Lisp files [Contents][Index]
qtools-ui-repl (system)
repl.lisp
Next: The qtools-ui-spellchecked-text-edit/spellchecked-text-edit․lisp file, Previous: The qtools-ui-repl/repl․lisp file, Up: Lisp files [Contents][Index]
qtools-ui-slider (system)
slider.lisp
Next: The qtools-ui-fixed-qtextedit/fixed-qtextedit․lisp file, Previous: The qtools-ui-slider/slider․lisp file, Up: Lisp files [Contents][Index]
qtools-ui-spellchecked-text-edit (system)
spellchecked-text-edit.lisp
Next: The qtools-ui-splitter/splitter․lisp file, Previous: The qtools-ui-spellchecked-text-edit/spellchecked-text-edit․lisp file, Up: Lisp files [Contents][Index]
qtools-ui-fixed-qtextedit (system)
fixed-qtextedit.lisp
%fixed-qtextedit-subwidget-fix-context-menu-widget-initializer (method)
Next: The qtools-ui-helpers/repaintable․lisp file, Previous: The qtools-ui-fixed-qtextedit/fixed-qtextedit․lisp file, Up: Lisp files [Contents][Index]
qtools-ui-splitter (system)
splitter.lisp
Next: The qtools-ui-helpers/mouse-propagator․lisp file, Previous: The qtools-ui-splitter/splitter․lisp file, Up: Lisp files [Contents][Index]
qtools-ui-helpers (system)
repaintable.lisp
setup (method)
Next: The qtools-ui-helpers/draggable․lisp file, Previous: The qtools-ui-helpers/repaintable․lisp file, Up: Lisp files [Contents][Index]
repaintable.lisp (file)
qtools-ui-helpers (system)
mouse-propagator.lisp
Next: The qtools-ui-helpers/selectable․lisp file, Previous: The qtools-ui-helpers/mouse-propagator․lisp file, Up: Lisp files [Contents][Index]
mouse-propagator.lisp (file)
qtools-ui-helpers (system)
draggable.lisp
Next: The qtools-ui-helpers/input․lisp file, Previous: The qtools-ui-helpers/draggable․lisp file, Up: Lisp files [Contents][Index]
draggable.lisp (file)
qtools-ui-helpers (system)
selectable.lisp
Next: The qtools-ui-container/container․lisp file, Previous: The qtools-ui-helpers/selectable․lisp file, Up: Lisp files [Contents][Index]
selectable.lisp (file)
qtools-ui-helpers (system)
input.lisp
Next: The qtools-ui-layout/layout․lisp file, Previous: The qtools-ui-helpers/input․lisp file, Up: Lisp files [Contents][Index]
qtools-ui-container (system)
container.lisp
setup (method)
Next: The qtools-ui-layout/items․lisp file, Previous: The qtools-ui-container/container․lisp file, Up: Lisp files [Contents][Index]
qtools-ui-layout (system)
layout.lisp
Next: The qtools-ui-notification/notification․lisp file, Previous: The qtools-ui-layout/layout․lisp file, Up: Lisp files [Contents][Index]
layout.lisp (file)
qtools-ui-layout (system)
items.lisp
check-item-permitted (function)
Next: The qtools-ui-base/package․lisp file, Previous: The qtools-ui-layout/items․lisp file, Up: Lisp files [Contents][Index]
qtools-ui-notification (system)
notification.lisp
notification (class)
Next: The qtools-ui-base/toolkit․lisp file, Previous: The qtools-ui-notification/notification․lisp file, Up: Lisp files [Contents][Index]
qtools-ui-base (system)
package.lisp
Next: The qtools-ui-base/documentation․lisp file, Previous: The qtools-ui-base/package․lisp file, Up: Lisp files [Contents][Index]
package.lisp (file)
qtools-ui-base (system)
toolkit.lisp
Previous: The qtools-ui-base/toolkit․lisp file, Up: Lisp files [Contents][Index]
toolkit.lisp (file)
qtools-ui-base (system)
documentation.lisp
Next: Definitions, Previous: Files, Up: Top [Contents][Index]
Packages are listed by definition order.
• The qtools-ui package |
package.lisp (file)
cl+qt
Definitions are sorted by export status, category, package, and then by lexicographic order.
• Exported definitions | ||
• Internal definitions |
Next: Internal definitions, Previous: Definitions, Up: Definitions [Contents][Index]
• Exported special variables | ||
• Exported macros | ||
• Exported functions | ||
• Exported generic functions | ||
• Exported classes |
Next: Exported macros, Previous: Exported definitions, Up: Exported definitions [Contents][Index]
The default value for MIME types used by draggable objects.
drag-and-drop.lisp (file)
Next: Exported functions, Previous: Exported special variables, Up: Exported definitions [Contents][Index]
options.lisp (file)
configurable.lisp (file)
Loop over the container’s items.
See MAP-ITEMS
container.lisp (file)
Loop over the container’s widgets.
See MAP-WIDGETS
container.lisp (file)
Convenience macro around call-with-translation
See CALL-WITH-TRANSLATION
toolkit.lisp (file)
Next: Exported generic functions, Previous: Exported macros, Up: Exported definitions [Contents][Index]
Returns a corresponding QColor object.
Note that these objects are cached. You should never modify them.
toolkit.lisp (file)
Call the function while translating the painter by the target.
See QPainter::translate
toolkit.lisp (file)
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
toolkit.lisp (file)
Turns an rgba quadruplet into an integer.
toolkit.lisp (file)
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.
imagetools.lisp (file)
Invokes the Qtools debugger with the provided condition.
debugger.lisp (file)
Turns an integer into an rgba quadruplet.
toolkit.lisp (file)
Next: Exported classes, Previous: Exported functions, Up: Exported definitions [Contents][Index]
options.lisp (file)
automatically generated reader method
automatically generated writer method
Accessor for the currently active item on the layout.
selectable.lisp (file)
(setf active-item) (generic function)
selectable.lisp (file)
active-item (generic function)
Accessor for whether this item is currently active.
(setf active-p) (generic function)
automatically generated reader method
selectable.lisp (file)
active-p (generic function)
automatically generated writer method
selectable.lisp (file)
selectable.lisp (file)
Accessor for the currently active widget on the layout.
selectable.lisp (file)
(setf active-widget) (generic function)
automatically generated reader method
selectable.lisp (file)
active-widget (generic function)
Add the item to the layout.
See ADD-WIDGET
See COERCE-ITEM
items.lisp (file)
Add the widget to the layout.
The positioning of the widget is completely up to the layout.
layout.lisp (file)
panel-main-window.lisp (file)
panel-container.lisp (file)
panel.lisp (file)
splitter.lisp (file)
compass.lisp (file)
container.lisp (file)
container.lisp (file)
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.
panel.lisp (file)
Accessor to whether the panel is attached.
See ATTACH
See DETACH
panel.lisp (file)
(setf attached-p) (generic function)
attached-p (generic function)
panel.lisp (file)
panel.lisp (file)
Clear all widgets from the layout.
layout.lisp (file)
panel-main-window.lisp (file)
compass.lisp (file)
container.lisp (file)
selectable.lisp (file)
Accessor for whether the spellchecked text edit should clear its spellchecking selections on text edit.
(setf clear-on-text-changed-p) (generic function)
automatically generated reader method
spellchecked-text-edit.lisp (file)
clear-on-text-changed-p (generic function)
automatically generated writer method
spellchecked-text-edit.lisp (file)
Create a suitable item-widget for the item.
items.lisp (file)
options.lisp (file)
listing.lisp (file)
Accessor to whether the panel is collapsable.
panel.lisp (file)
(setf collapsable-p) (generic function)
automatically generated reader method
panel.lisp (file)
collapsable-p (generic function)
automatically generated writer method
Make the panel’s center widget invisible.
panel.lisp (file)
Accessor to whether the panel is collapsed.
See COLLAPSE
See EXPAND
panel.lisp (file)
(setf collapsed-p) (generic function)
collapsed-p (generic function)
panel.lisp (file)
panel.lisp (file)
Returns the color count of the given color history widget.
automatically generated reader method
color-history.lisp (file)
Reader for the color storing input’s color type.
Valid values are :RGB and :HSV.
See COLOR-STORING-INPUT
automatically generated reader method
input.lisp (file)
automatically generated reader method
configurable.lisp (file)
automatically generated writer method
configurable.lisp (file)
automatically generated reader method
configurable.lisp (file)
automatically generated writer method
configurable.lisp (file)
automatically generated reader method
configurable.lisp (file)
automatically generated writer method
configurable.lisp (file)
configurable.lisp (file)
The container of the item-widget.
See ITEM-WIDGET
panel.lisp (file)
(setf container) (generic function)
automatically generated reader method
automatically generated reader method
items.lisp (file)
panel.lisp (file)
container (generic function)
automatically generated writer method
automatically generated writer method
items.lisp (file)
Accessor for the slider’s default value, if any.
slider.lisp (file)
(setf default) (generic function)
automatically generated reader method
slider.lisp (file)
default (generic function)
automatically generated writer method
Deiconify the panel-container.
See ICONFIFIED-P
panel-container.lisp (file)
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.
(setf delay) (generic function)
automatically generated reader method
spellchecked-text-edit.lisp (file)
delay (generic function)
automatically generated writer method
spellchecked-text-edit.lisp (file)
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.
panel.lisp (file)
Accessor to whether the panel is detachable.
panel.lisp (file)
(setf detachable-p) (generic function)
automatically generated reader method
panel.lisp (file)
detachable-p (generic function)
automatically generated writer method
automatically generated reader method
dictionary.lisp (file)
automatically generated writer method
dictionary.lisp (file)
Called whenever the draggable is being dragged around.
This usually happens during a mouse-move event.
See DRAGGABLE
draggable.lisp (file)
panel.lisp (file)
panel.lisp (file)
splitter.lisp (file)
listing.lisp (file)
cell.lisp (file)
Called whenever the draggable has stopped being dragged.
This usually happens during a mouse-release event.
See DRAGGABLE
draggable.lisp (file)
panel.lisp (file)
Called whenever the draggable is beginning to be dragged.
This usually happens during a mouse-press event.
See DRAGGABLE
draggable.lisp (file)
panel.lisp (file)
drag-and-drop.lisp (file)
cell.lisp (file)
Accessor to whether widgets are draggable or not.
listing.lisp (file)
(setf draggable) (generic function)
automatically generated reader method
listing.lisp (file)
draggable (generic function)
automatically generated writer method
Whether the draggable is currently being dragged.
See DRAGGABLE
draggable.lisp (file)
(setf dragging) (generic function)
automatically generated reader method
dragging (generic function)
automatically generated writer method
draggable.lisp (file)
Implements logic to be run after an item is dropped.
See MIME-DATA-WITH-OBJECT
See DRAGGABLE
See DROP-TARGET
See DROP-ACCEPTABLE-P
drag-and-drop.lisp (file)
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
drag-and-drop.lisp (file)
Accessor for the dictionary text displayed when the browser is empty.
(setf empty-browser-text) (generic function)
automatically generated reader method
dictionary.lisp (file)
empty-browser-text (generic function)
automatically generated writer method
dictionary.lisp (file)
Make sure that the widgets of the container are in the right order. This may change the widget’s positions.
container.lisp (file)
Close the panel.
panel.lisp (file)
Accesses the debugger widget’s exit restart slot.
(setf exit-restart) (generic function)
automatically generated reader method
debugger.lisp (file)
exit-restart (generic function)
automatically generated writer method
debugger.lisp (file)
Returns the restart selected in the debugger widget after it closes.
debugger.lisp (file)
Make the panel’s center widget visible.
panel.lisp (file)
Find the item in the layout.
See FIND-WIDGET
items.lisp (file)
Find the widget in the layout.
See FIND
layout.lisp (file)
panel-main-window.lisp (file)
compass.lisp (file)
container.lisp (file)
Override function for FIXED-QTEXTEDIT’s context-menu-event.
See FIXED-QTEXTEDIT
fixed-qtextedit.lisp (file)
Accessor to the fixed row height of the listing.
If NIL, the row heights are dynamic, otherwise the listing will enforce this height.
listing.lisp (file)
(setf fixed-row-height) (generic function)
automatically generated reader method
listing.lisp (file)
fixed-row-height (generic function)
automatically generated writer method
Accessor for the size of a splitter’s handle.
splitter.lisp (file)
(setf handle-size) (generic function)
automatically generated reader method
splitter.lisp (file)
handle-size (generic function)
automatically generated writer method
color-sliders.lisp (file)
Accessor to whether the panel-container is iconified or not.
If iconified, the panels are not actually shown, only their titles or icons.
panel-container.lisp (file)
(setf iconified-p) (generic function)
automatically generated reader method
panel-container.lisp (file)
iconified-p (generic function)
automatically generated writer method
Iconify the panel-container.
See ICONFIFIED-P
panel-container.lisp (file)
Insert the item into the layout at the specified place.
See INSERT-WIDGET
See COERCE-ITEM
items.lisp (file)
Insert the widget at the specified place in the layout.
layout.lisp (file)
panel-main-window.lisp (file)
panel-container.lisp (file)
splitter.lisp (file)
compass.lisp (file)
compass.lisp (file)
container.lisp (file)
container.lisp (file)
container.lisp (file)
A predicate to decide whether the item is suitable for inclusion in the widget.
items.lisp (file)
options.lisp (file)
Return the item at the specified place in the layout.
items.lisp (file)
(setf item-at) (generic function)
items.lisp (file)
item-at (generic function)
container.lisp (file)
Return the position of the item in the layout.
See WIDGET-POSITION
items.lisp (file)
Find the item-widget for the given item in the layout.
items.lisp (file)
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.
items.lisp (file)
Whether A precedes B.
Uses ITEM< and ITEM= to calculate the result. You should not need to add methods
to this.
items.lisp (file)
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.
items.lisp (file)
Whether A follows B.
Uses ITEM< and ITEM= to calculate the result. You should not need to add methods
to this.
items.lisp (file)
Whether A follows B.
Uses ITEM< and ITEM= to calculate the result. You should not need to add methods
to this.
items.lisp (file)
options.lisp (file)
Map the function over the container’s items.
The mapping order is in sequence with the item positions.
container.lisp (file)
Map the function over the container’s widgets.
The mapping order is in sequence with the widget positions.
container.lisp (file)
Accessor for the maximum of the slider.
slider.lisp (file)
(setf maximum) (generic function)
automatically generated reader method
automatically generated reader method
slider.lisp (file)
maximum (generic function)
automatically generated writer method
automatically generated writer method
automatically generated reader method
drag-and-drop.lisp (file)
automatically generated writer method
drag-and-drop.lisp (file)
automatically generated reader method
drag-and-drop.lisp (file)
automatically generated writer method
drag-and-drop.lisp (file)
Accessor for the minimum of the slider.
slider.lisp (file)
(setf minimum) (generic function)
automatically generated reader method
automatically generated reader method
slider.lisp (file)
minimum (generic function)
automatically generated writer method
automatically generated writer method
Accesses the minimum lines value of the auto-resizing text edit.
(setf minimum-lines) (generic function)
automatically generated reader method
auto-resizing-textedit.lisp (file)
minimum-lines (generic function)
automatically generated writer method
auto-resizing-textedit.lisp (file)
auto-resizing-textedit.lisp (file)
Accessor to the minimum row height of the listing.
listing.lisp (file)
(setf minimum-row-height) (generic function)
automatically generated reader method
listing.lisp (file)
minimum-row-height (generic function)
automatically generated writer method
Accessor for the dictionary text displayed when the word was not found.
(setf not-found-text) (generic function)
automatically generated reader method
dictionary.lisp (file)
not-found-text (generic function)
automatically generated writer method
dictionary.lisp (file)
automatically generated reader method
options.lisp (file)
options.lisp (file)
options.lisp (file)
automatically generated reader method
automatically generated writer method
options.lisp (file)
options.lisp (file)
automatically generated reader method
automatically generated writer method
Accessor for the layout’s orientation, must be one of :vertical or :horizontal.
panel-container.lisp (file)
(setf orientation) (generic function)
automatically generated reader method
automatically generated reader method
splitter.lisp (file)
panel-container.lisp (file)
orientation (generic function)
automatically generated writer method
automatically generated writer method
splitter.lisp (file)
splitter.lisp (file)
Padding in the number of pixels to use between the cell edge and the item.
cell.lisp (file)
(setf padding) (generic function)
automatically generated reader method
automatically generated reader method
panel.lisp (file)
automatically generated writer method
panel.lisp (file)
automatically generated reader method
placeholder-text-edit.lisp (file)
automatically generated writer method
placeholder-text-edit.lisp (file)
automatically generated reader method
placeholder-text-edit.lisp (file)
automatically generated writer method
placeholder-text-edit.lisp (file)
options.lisp (file)
automatically generated reader method
automatically generated writer method
Remove the item from the layout.
See REMOVE-WIDGET
See ITEM-WIDGET
items.lisp (file)
Remove the item at the specified place in the layout.
See REMOVE-WIDGET
items.lisp (file)
Remove the widget or the widget at the specified place from the layout.
layout.lisp (file)
panel-main-window.lisp (file)
panel-container.lisp (file)
panel.lisp (file)
splitter.lisp (file)
compass.lisp (file)
compass.lisp (file)
container.lisp (file)
container.lisp (file)
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.
repaintable.lisp (file)
The function that schedules the form for execution, blocks until its execution is complete, and returns the results.
See REPL
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
The function implementing the loop of the REPL.
See REPL
Resize the layout’s widget to the given size.
splitter.lisp (file)
Accessor for whether selecting a widget/item is allowed.
selectable.lisp (file)
(setf selectable) (generic function)
automatically generated reader method
selectable.lisp (file)
selectable (generic function)
automatically generated writer method
dialog.lisp (file)
The function used for sorting the container. If NIL, no sorting is applied. The function must accept two arguments to compare.
container.lisp (file)
(setf sorting) (generic function)
automatically generated reader method
container.lisp (file)
sorting (generic function)
automatically generated writer method
listing.lisp (file)
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
spellchecked-text-edit.lisp (file)
Accessor for the step size of the slider.
slider.lisp (file)
(setf stepping) (generic function)
automatically generated reader method
automatically generated reader method
slider.lisp (file)
stepping (generic function)
automatically generated writer method
automatically generated writer method
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.
items.lisp (file)
container.lisp (file)
Swap the two items at the specified places in the layout.
See SWAP-ITEMS
items.lisp (file)
container.lisp (file)
Swap the two widgets or the widgets at the specified places in the layout.
layout.lisp (file)
panel-main-window.lisp (file)
splitter.lisp (file)
compass.lisp (file)
container.lisp (file)
container.lisp (file)
container.lisp (file)
The target to send the propagated mouse events to.
options.lisp (file)
(setf target) (generic function)
automatically generated reader method
automatically generated reader method
mouse-propagator.lisp (file)
options.lisp (file)
target (generic function)
automatically generated writer method
automatically generated writer method
mouse-propagator.lisp (file)
The title displayed for the panel.
panel.lisp (file)
(setf title) (generic function)
automatically generated reader method
automatically generated reader method
options.lisp (file)
panel.lisp (file)
title (generic function)
automatically generated writer method
automatically generated writer method
options.lisp (file)
options.lisp (file)
Accessor to whether the panel’s titlebar is visible.
panel.lisp (file)
(setf titlebar-shown-p) (generic function)
automatically generated reader method
panel.lisp (file)
titlebar-shown-p (generic function)
automatically generated writer method
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.
layout.lisp (file)
panel-main-window.lisp (file)
panel-container.lisp (file)
panel.lisp (file)
splitter.lisp (file)
listing.lisp (file)
compass.lisp (file)
flow-layout.lisp (file)
cell.lisp (file)
Update the layout widgets’ geometry for added widgets. This calls UPDATE unless overridden.
layout.lisp (file)
listing.lisp (file)
Update the layout widgets’ geometry for removed widgets. This calls UPDATE unless overridden.
layout.lisp (file)
listing.lisp (file)
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.
layout.lisp (file)
panel-main-window.lisp (file)
options.lisp (file)
listing.lisp (file)
listing.lisp (file)
compass.lisp (file)
selectable.lisp (file)
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.
layout.lisp (file)
panel-main-window.lisp (file)
compass.lisp (file)
container.lisp (file)
The actual item wrapped by the item-widget.
See ITEM-WIDGET
items.lisp (file)
(setf widget-item) (generic function)
automatically generated reader method
items.lisp (file)
widget-item (generic function)
automatically generated writer method
cell.lisp (file)
cell.lisp (file)
Find the position of the widget in the layout.
See POSITION
layout.lisp (file)
panel-main-window.lisp (file)
compass.lisp (file)
container.lisp (file)
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.
container.lisp (file)
(setf widgets) (generic function)
automatically generated reader method
container.lisp (file)
widgets (generic function)
automatically generated writer method
options.lisp (file)
automatically generated reader method
automatically generated writer method
Previous: Exported generic functions, Up: Exported definitions [Contents][Index]
auto-resizing-textedit.lisp (file)
fixed-qtextedit (class)
:minimum-lines
minimum-lines (generic function)
(setf minimum-lines) (generic function)
Initarg | Value |
---|---|
:minimum-lines | 1 |
options.lisp (file)
option (class)
Initarg | Value |
---|---|
:small | t |
cell.lisp (file)
listing-item (class)
:padding
padding (generic function)
(setf padding) (generic function)
:draw-item
draw-item (generic function)
(setf draw-item) (generic function)
Initarg | Value |
---|---|
:padding | 3 |
:draw-item | t |
color-history.lisp (file)
:color-count
color-count (generic function)
Initarg | Value |
---|---|
:color-count | 5 |
options.lisp (file)
Initarg | Value |
---|---|
:small | nil |
color-picker.lisp (file)
input.lisp (file)
storing-input (class)
:class
:rgb
color-type (generic function)
(qtools:q+ "make-qcolor")
Initarg | Value |
---|---|
:color | (qtools-ui:c 0 0 0) |
color-triangle.lisp (file)
color-storing-input (class)
color-option (class)
:class
:hsv
(qtools-ui::make-circle-rainbow-gradient)
compass.lisp (file)
layout (class)
panel (class)
options.lisp (file)
option (class)
Initarg | Value |
---|---|
:small | t |
configurable.lisp (file)
standard-object (class)
configuration-container (method)
configurable.lisp (file)
standard-class (class)
:options
configurable-class-options (generic function)
(setf configurable-class-options) (generic function)
:option-order
configurable-class-option-order (generic function)
(setf configurable-class-option-order) (generic function)
Initarg | Value |
---|---|
:options | nil |
Superclass for configurable slots with an option
configurable.lisp (file)
standard-object (class)
:option
configurable-slot-option (generic function)
(setf configurable-slot-option) (generic function)
container.lisp (file)
layout (class)
(make-array 0 :adjustable t :fill-pointer 0)
widgets (generic function)
(setf widgets) (generic function)
debugger.lisp (file)
widget (class)
:environment, :condition
environment (generic function)
(setf environment) (generic function)
exit-restart (generic function)
(setf exit-restart) (generic function)
dialog.lisp (file)
widget (class)
simple-input-dialog (class)
show (method)
dictionary.lisp (file)
widget (class)
:empty-browser-text
empty-browser-text (generic function)
(setf empty-browser-text) (generic function)
:not-found-text
not-found-text (generic function)
(setf not-found-text) (generic function)
Initarg | Value |
---|---|
:empty-browser-text | "<p align=center><i>type your query below and hit search.</i></p>" |
:not-found-text | "<p align=center><i>the entry for \"~a\" was not found.</i></p>" |
options.lisp (file)
option (class)
Initarg | Value |
---|---|
:small | t |
options.lisp (file)
Initarg | Value |
---|---|
:small | nil |
slider.lisp (file)
input (class)
:maximum
maximum (generic function)
(setf maximum) (generic function)
:minimum
minimum (generic function)
(setf minimum) (generic function)
:stepping
stepping (generic function)
(setf stepping) (generic function)
Initarg | Value |
---|---|
:maximum | 100.0 |
:minimum | 1.0 |
:stepping | 1.0 |
draggable.lisp (file)
widget (class)
dragging (generic function)
(setf dragging) (generic function)
drag-and-drop.lisp (file)
widget (class)
:mime-type
mime-type (generic function)
(setf mime-type) (generic function)
Initarg | Value |
---|---|
:mime-type | qtools-ui:*mime-data-with-object-type* |
drag-and-drop.lisp (file)
draggable (class)
:mime-type
mime-type (generic function)
(setf mime-type) (generic function)
Initarg | Value |
---|---|
:mime-type | qtools-ui:*mime-data-with-object-type* |
options.lisp (file)
widget (class)
:option
option (generic function)
fixed-qtextedit.lisp (file)
widget (class)
flow-layout.lisp (file)
container (class)
color-history (class)
update (method)
options.lisp (file)
option (class)
Initarg | Value |
---|---|
:small | nil |
color-sliders.lisp (file)
color-storing-input (class)
:class
:hsv
input.lisp (file)
repaintable (class)
value (method)
container.lisp (file)
map-items (method)
items.lisp (file)
layout (class)
items.lisp (file)
widget (class)
:item
widget-item (generic function)
(setf widget-item) (generic function)
:container
container (generic function)
(setf container) (generic function)
Initarg | Value |
---|---|
:item | nil |
layout.lisp (file)
widget (class)
listing.lisp (file)
option-container (class)
:minimum-row-height
minimum-row-height (generic function)
(setf minimum-row-height) (generic function)
:fixed-row-height
fixed-row-height (generic function)
(setf fixed-row-height) (generic function)
:draggable
draggable (generic function)
(setf draggable) (generic function)
Initarg | Value |
---|---|
:minimum-row-height | 20 |
:fixed-row-height | nil |
:draggable | t |
listing.lisp (file)
cell (class)
drag-and-drop.lisp (file)
widget (class)
:object
object (generic function)
(setf object) (generic function)
Initarg | Value |
---|---|
:object | (error "object required.") |
mouse-propagator.lisp (file)
widget (class)
:target
target (generic function)
(setf target) (generic function)
notification.lisp (file)
widget (class)
options.lisp (file)
option (class)
Initarg | Value |
---|---|
:small | nil |
options.lisp (file)
input (class)
:target
target (generic function)
(setf target) (generic function)
:reader
reader (generic function)
(setf reader) (generic function)
:writer
writer (generic function)
(setf writer) (generic function)
:title
title (generic function)
(setf title) (generic function)
:accessor-type
accessor-type (generic function)
(setf accessor-type) (generic function)
:updating
option-updating (generic function)
(setf option-updating) (generic function)
:small
option-small-p (generic function)
(setf option-small-p) (generic function)
Initarg | Value |
---|---|
:target | (error "target required.") |
:reader | (error "reader required.") |
:writer | nil |
:accessor-type | :accessor |
:updating | :when-done |
:small | nil |
options.lisp (file)
listing (class)
Initarg | Value |
---|---|
:draggable | nil |
:sortable | nil |
:selectable | nil |
options.lisp (file)
item-widget (class)
panel.lisp (file)
compass (class)
:container
container (generic function)
(setf container) (generic function)
:icon
icon (generic function)
(setf icon) (generic function)
:title
title (generic function)
(setf title) (generic function)
:detachable
detachable-p (generic function)
(setf detachable-p) (generic function)
:collapsable
collapsable-p (generic function)
(setf collapsable-p) (generic function)
:titlebar-shown
titlebar-shown-p (generic function)
(setf titlebar-shown-p) (generic function)
attached-size (generic function)
(setf attached-size) (generic function)
detached-size (generic function)
(setf detached-size) (generic function)
resizing-self (generic function)
(setf resizing-self) (generic function)
Initarg | Value |
---|---|
:container | nil |
:icon | nil |
:title | nil |
:detachable | t |
:collapsable | t |
:titlebar-shown | t |
panel-container.lisp (file)
widget (class)
:orientation
orientation (generic function)
(setf orientation) (generic function)
:iconified
iconified-p (generic function)
(setf iconified-p) (generic function)
Initarg | Value |
---|---|
:orientation | :vertical |
panel-main-window.lisp (file)
widget (class)
options.lisp (file)
string-option (class)
setup (method)
options.lisp (file)
option (class)
:mode
mode (generic function)
(setf mode) (generic function)
:filter
filter (generic function)
(setf filter) (generic function)
Initarg | Value |
---|---|
:mode | :any |
:filter | nil |
:small | t |
placeholder-text-edit.lisp (file)
fixed-qtextedit (class)
:placeholder
placeholder (generic function)
(setf placeholder) (generic function)
:placeholder-font
placeholder-font (generic function)
(setf placeholder-font) (generic function)
Initarg | Value |
---|---|
:placeholder | nil |
:placeholder-font | nil |
repaintable.lisp (file)
widget (class)
repl.lisp (file)
widget (class)
0
input-begin (generic function)
(setf input-begin) (generic function)
:output-stream
output-stream (generic function)
(setf output-stream) (generic function)
:error-stream
error-stream (generic function)
(setf error-stream) (generic function)
eval-thread (generic function)
(setf eval-thread) (generic function)
(bordeaux-threads:make-lock)
eval-lock (generic function)
:ready
state (generic function)
(setf state) (generic function)
(make-array 0 :adjustable t :fill-pointer t)
print-queue (generic function)
(bordeaux-threads:make-lock)
print-lock (generic function)
(make-array 0 :adjustable t :fill-pointer t)
history (generic function)
0
history-index (generic function)
(setf history-index) (generic function)
repl.lisp (file)
:repl
repl (generic function)
(setf repl) (generic function)
(make-string-output-stream)
buffer (generic function)
(setf buffer) (generic function)
:color
color (generic function)
(setf color) (generic function)
Initarg | Value |
---|---|
:repl | (error "console required.") |
:color | "orange" |
color-sliders.lisp (file)
color-storing-input (class)
selectable.lisp (file)
cell (class)
active-p (generic function)
(setf active-p) (generic function)
selectable.lisp (file)
item-layout (class)
listing (class)
:active-widget
active-widget (generic function)
(setf active-widget) (generic function)
:selectable
selectable (generic function)
(setf selectable) (generic function)
Initarg | Value |
---|---|
:active-widget | nil |
:selectable | t |
options.lisp (file)
option (class)
Initarg | Value |
---|---|
:small | nil |
dialog.lisp (file)
color-picker (class)
slider.lisp (file)
input (class)
double-option (class)
:maximum
maximum (generic function)
(setf maximum) (generic function)
:minimum
minimum (generic function)
(setf minimum) (generic function)
:stepping
stepping (generic function)
(setf stepping) (generic function)
:default
default (generic function)
(setf default) (generic function)
Initarg | Value |
---|---|
:maximum | 100.0 |
:minimum | 0.0 |
:stepping | 1.0 |
:default | nil |
options.lisp (file)
option (class)
Initarg | Value |
---|---|
:small | t |
options.lisp (file)
option (class)
Initarg | Value |
---|---|
:small | t |
container.lisp (file)
container (class)
sorted-item-container (class)
:sorting
sorting (generic function)
(setf sorting) (generic function)
Initarg | Value |
---|---|
:sorting | nil |
container.lisp (file)
listing (class)
spellchecked-text-edit.lisp (file)
fixed-qtextedit (class)
:delay
delay (generic function)
(setf delay) (generic function)
:clear-on-text-changed-p
clear-on-text-changed-p (generic function)
(setf clear-on-text-changed-p) (generic function)
Initarg | Value |
---|---|
:delay | 1000 |
:clear-on-text-changed-p | t |
splitter.lisp (file)
container (class)
:orientation
orientation (generic function)
(setf orientation) (generic function)