Utils Namespace
| Header: | #include <Utils> |
Classes
| class | AnsiEscapeCodeHandler |
| class | CheckableMessageBox |
| class | ClassNameValidatingLineEdit |
| class | DetailsWidget |
| class | ElidingLabel |
| class | FakeToolTip |
| class | FancyMainWindow |
| class | FileInProjectFinder |
| class | FileNameValidatingLineEdit |
| class | FileSystemWatcher |
| class | FileWizardPage |
| class | FixedSizeClickLabel |
| class | Guard |
| class | HeaderViewStretcher |
| class | NavigationTreeView |
| class | NewClassWidget |
| class | ParameterAction |
| class | PathChooser |
| class | PathListEditor |
| class | PersistentSettingsReader |
| class | PersistentSettingsWriter |
| class | ProgressIndicator |
| class | ProgressIndicatorPainter |
| class | ProjectIntroPage |
| class | ProxyCredentialsDialog |
| class | SavedAction |
| class | ShellCommandPage |
| class | StatusLabel |
| class | SynchronousProcess |
| class | TextFieldCheckBox |
| class | TextFieldComboBox |
| class | TextFileFormat |
| class | TreeModel |
| class | WizardPage |
Types
| enum | ProgressIndicatorSize { Small, Medium, Large } |
Detailed Description
The Utils namespace contains a collection of utility classes and functions for use by all plugins.
Classes
class AnsiEscapeCodeHandler
The AnsiEscapeCodeHandler class parses text and extracts ANSI escape codes from it. More...
class CheckableMessageBox
The CheckableMessageBox class implements a message box suitable for questions with a "Do not ask me again" checkbox. More...
class ClassNameValidatingLineEdit
The ClassNameValidatingLineEdit class implements a line edit that validates a C++ class name and emits a signal to derive suggested file names from it. More...
class DetailsWidget
The DetailsWidget class implements a button to expand a Details area. More...
class ElidingLabel
The ElidingLabel class is a label suitable for displaying elided text. More...
class FakeToolTip
The FakeToolTip class is a widget that pretends to be a tooltip. More...
class FancyMainWindow
The FancyMainWindow class is a MainWindow with dock widgets and additional "lock" functionality (locking the dock widgets in place) and "reset layout" functionality. More...
class FileInProjectFinder
The FileInProjectFinder class is a helper class to find the original file in the project directory for a given file URL. More...
class FileNameValidatingLineEdit
The FileNameValidatingLineEdit class is a control that lets the user choose a (base) file name, based on a QLineEdit. More...
class FileSystemWatcher
The FileSystemWatcher class is a file watcher that internally uses a centralized QFileSystemWatcher and enforces limits on Mac OS. More...
class FileWizardPage
The FileWizardPage class is a standard wizard page for a single file letting the user choose name and path. More...
class FixedSizeClickLabel
The FixedSizeClickLabel class is a label with a size hint derived from a sample text that can be different to the text that is shown. More...
class Guard
The Guard class implements a recursive guard with locking mechanism. More...
class HeaderViewStretcher
The HeaderViewStretcher class fixes QHeaderView to resize all columns to contents, except one stretching column. More...
class NavigationTreeView
The NavigationTreeView class implements a general TreeView for any sidebar widget. More...
class NewClassWidget
The NewClassWidget class is a utility widget for 'New Class' wizards. More...
class ParameterAction
The ParameterAction class is intended for actions that act on a 'current', string-type parameter (typically a file name), for example 'Save file %1'. More...
class PathChooser
The PathChooser class is a control that lets the user choose a path, consisting of a QLineEdit and a "Browse" button. More...
class PathListEditor
The PathListEditor class is a control that lets the user edit a list of (directory) paths using the platform separator (';',':'). More...
class PersistentSettingsReader
The PersistentSettingsReader class reads a QVariantMap of arbitrary, nested data structures from an XML file. More...
class PersistentSettingsWriter
The PersistentSettingsWriter class serializes a QVariantMap of arbitrary, nested data structures to an XML file. More...
class ProgressIndicator
The ProgressIndicator class shows an circular, endlessly animated progress indicator. More...
class ProgressIndicatorPainter
The ProgressIndicatorPainter class is the painting backend for the ProgressIndicator class. More...
class ProjectIntroPage
The ProjectIntroPage class is the standard wizard page for a project, letting the user choose its name and path. More...
class ProxyCredentialsDialog
class SavedAction
The SavedAction class is a helper class for actions with persistent state. More...
class ShellCommandPage
The ShellCommandPage implements a page showing the progress of a ShellCommand. More...
class StatusLabel
The StatusLabel class displays messages for a while with a timeout. More...
class SynchronousProcess
The SynchronousProcess class runs a synchronous process in its own event loop that blocks only user input events. Thus, it allows for the GUI to repaint and append output to log windows. More...
class TextFieldCheckBox
The TextFieldCheckBox class is a aheckbox that plays with QWizard::registerField. More...
class TextFieldComboBox
The TextFieldComboBox class is a non-editable combo box for text editing purposes that plays with QWizard::registerField (providing a settable 'text' property). More...
class TextFileFormat
The TextFileFormat class describes the format of a text file and provides autodetection. More...
class TreeModel
The TreeModel class is a convienience base class for models to use in a QTreeView. More...
class WizardPage
QWizardPage with a couple of improvements. More...
Type Documentation
enum Utils::ProgressIndicatorSize
Size of a progress indicator.
| Constant | Value | Description |
|---|---|---|
Utils::Small | 0 | Small icon size. Useful for tool bars, status bars, rows in tree views, and so on. |
Utils::Medium | 1 | Larger progress indicator useful for covering whole medium sized widgets. |
Utils::Large | 2 | Very large progress indicator that can be used to cover large parts of a UI. |
See also Utils::ProgressIndicator and Utils::ProgressIndicatorPainter.