KDE Frameworks основан на Qt, что позволяет более широко использовать QML , более простой язык декларативного программирования на основе JavaScript , для проектирования пользовательских интерфейсов. Механизм рендеринга графики, используемый QML, обеспечивает более гибкий пользовательский интерфейс на разных устройствах. [ 8 ]
Релизы платформы — это те, которые начинают серию (номер версии X.0). Только этим основным выпускам разрешено нарушать двоичную совместимость с предшественником. Релизы второстепенных серий (X.1, X.2,...) будут гарантировать двоичную переносимость ( API и ABI ). Это означает, например, что программное обеспечение, разработанное для KDE 3.0, будет работать на всех (будущих) выпусках KDE 3; однако не гарантируется, что приложение, разработанное для KDE 2, сможет использовать библиотеки KDE 3. Номера основных версий KDE в основном соответствуют циклу выпуска Qt, а это означает, что KDE SC 4 основан на Qt 4, а KDE 3 — на Qt 3.
Репозиторий каждой платформы должен содержать файл с именем Metainfo.yaml . [ 13 ] В этом файле документируется разработчик платформы, тип, поддерживаемая операционная система и другая информация. В настоящее время поддерживаются платформы Linux, Microsoft Windows, macOS и Android.
Этот раздел необходимо обновить . Пожалуйста, помогите обновить эту статью, чтобы отразить недавние события или новую доступную информацию. ( октябрь 2021 г. )
Платформы имеют четкую структуру зависимостей, разделенную на «категории» и «уровни». «Категории» относятся к зависимостям времени выполнения:
Функциональные элементы не имеют зависимостей во время выполнения.
Интеграция обозначает код, для интеграции которого могут потребоваться зависимости времени выполнения в зависимости от того, что предлагает ОС или платформа.
Решения имеют обязательные зависимости времени выполнения.
Пакет KDE Frameworks состоит из более чем 70 пакетов. они существовали как один большой пакет под названием kdelibs В KDE SC 4 . Kdelibs был разделен на несколько отдельных платформ, некоторые из которых больше не являются частью KDE, но были интегрированы в Qt 5.2. [ 14 ]
Платформы KDE сгруппированы в четыре разных уровня в зависимости от других библиотек. [ 15 ] [ 16 ]
Уровни фреймворков
Уровень 1 – В основном зависит только от Qt , высокая переносимость.
Уровень 2. Зависит от уровня 1, но зависимостями по-прежнему можно управлять.
Уровень 3 – Сложные зависимости, включая уровни 1–2 и т. д.
Уровень 4. В основном можно игнорировать плагины, предоставляющие дополнительные функции, такие как поддержка платформы.
Framework Integration is a set of plugins responsible for better integration of Qt applications when running on a KDE Plasma workspace. Applications do not need to link to this directly. The library KF5Style provides integration with KDE Plasma Workspace settings for Qt styles. Derive your Qt style from KStyle to automatically inherit various settings from the KDE Plasma Workspace, providing a consistent user experience. For example, this will ensure a consistent single-click or double-click activation setting, and the use of standard themed icons.
Scripts and data for building API documentation in a standard format and style. This framework contains scripts and data for building API documentation (dox) in a standard format and style. The Doxygen tool is used to do the actual documentation extraction and formatting, but this framework provides a wrapper script to make generating the documentation more convenient (including reading settings from the target framework or other module) and a standard template for the generated documentation.
KBookmarks lets you access and manipulate bookmarks stored using the "XBEL format". The most common use for bookmarks is web browsers, but this can also be useful in any application where local files or URLs can be saved as bookmarks.
Utilities, i.a. KSettings, for KDE System Settings modules. KCMUtils provides various classes to work with KCModules. KCModules can be created with the KConfigWidgets framework.
KCodecs is a string encoding library, it provides a collection of methods to manipulate strings using various encodings. It can automatically determine the charset of a string, translate XML entities, validate email addresses, and find encodings by name in a more tolerant way than QTextCodec (useful e.g. for data coming from the Internet).
String completion framework, including completion-enabled lineedit and combobox. When typing filenames, email addresses and other text where the user often wants to select from existing data (including what they previously typed) rather than enter anything wholly original, users often find it helpful if they only need to type the first few characters, and then have the application offer them a set of choices or attempt to finish off what they were typing. Email clients, shells and "open file" dialogs often provide this functionality. This framework helps implement this in Qt-based applications. You can use one of the completion-ready widgets provided by this framework, or integrate it into your application's other widgets directly. The easiest way to get started is to use a KComboBox, KHistoryComboBox or KLineEdit. If you want to integrate completion into other parts of the user interface, you can use KCompletion to manage and select the possible completions.
Persistent platform-independent application settings made of two parts: KConfigCore and KConfigGui. KConfigCore provides access to the configuration files themselves, meaning it also generates the configuration in XML. KConfigGui provides a way to hook graphical control elements (widgets) to the configuration so that they are automatically initialized from the configuration and automatically propagate their changes to their respective configuration files.
Graphical control elements (widgets) for configuration dialogs. Widgets for configuration dialogs. KConfigWidgets provides easy-to-use classes to create configuration dialogs, as well as a set of widgets which uses KConfig to store their settings.
Utilities for core application functionality and accessing the OS. Qt addon library with a collection of non-GUI utilities. KCoreAddons provides classes built on top of QtCore to perform various tasks such as manipulating mime types, autosaving files, creating backup files, generating random sequences, performing text manipulations such as macro replacement, accessing user information and many more.
KDED stands for KDE Daemon, the central daemon of KDE work spaces. KDED runs in the background and performs a number of small tasks. Some of these tasks are built in, others are started on demand.
This framework provides plugins for Qt Designer that allow it to display the widgets provided by various KDE frameworks, as well as a utility (kgendesignerplugin) that can be used to generate other such plugins from ini-style description files.
KDESU (KDE super user) provides a user interface for running shell commands with root privileges. It provides functionality for building GUI front ends for (password asking) console mode programs. For example, kdesu and kdessh use it to interface with su and ssh respectively.
Integration of the HTML rendering engine WebKit. The KDEWebkit library provides KDE integration of the QtWebKit library. If you are using QtWebKit in your KDE application, you are encouraged to use this layer instead of using the QtWebKit classes directly. In particular, you should use KWebView in place of QWebView, KGraphicsWebView in place of QGraphicsWebView and KWebPage in place of QWebPage.
KDNSSD is a library for handling the DNS-based Service Discovery Protocol (DNS-SD), the layer of [Zeroconf] (http://www.zeroconf.org) that allows network services, such as printers, to be discovered without any user intervention or centralized infrastructure.
KGlobalAccel allows you to have global keyboard shortcuts (accelerators) that are independent of the focused window. Unlike regular shortcuts, the application's window does not need focus for them to be activated.
KDE GUI Addons; Utilities for graphical user interfaces; The KDE GUI addons provide utilities for graphical user interfaces in the areas of colors, fonts, text, images, keyboard input.
KDE gettext-based UI text internationalization. KI18n provides functionality for internationalizing user interface text in applications, based on the GNU Gettext translation system. It wraps the standard Gettext functionality, so that the programmers and translators can use the familiar Gettext tools and workflows. KI18n provides additional functionality as well, for both programmers and translators, which can help to achieve a higher overall quality of source and translated text. This includes argument capturing, customizable markup, and translation scripting.
Plugins to allow QImage to support extra file formats. This framework provides additional image format plugins for QtGui. As such it is not required for the compilation of any other software, but may be a runtime requirement for Qt-based software to support certain image formats. The following image formats have read-only support:
kdeinit is a process launcher, that launches processes by forking and then loading a dynamic library which should contain a 'kdemain(...)' function. kdeinit speeds up start of applications on KDE workspaces; kdeinit is linked against all libraries a standard KDE application needs. With this technique starting an application becomes much faster because now only the application itself needs to be linked whereas otherwise both the application as well as all the libraries it uses need to be linked.
Network transparent access to files and data. This framework implements almost all the file management functions you will ever need. Dolphin and the KDE file dialog also uses this to provide its network-enabled file management.
Set of item views extending the Qt model-view framework. KItemViews includes a set of views, which can be used with item models. It includes views for categorizing lists and to add search filters to flat and hierarchical lists.
KJS provides an ECMAScript compatible interpreter. The ECMA standard is based on well known scripting languages such as Netscape's JavaScript and Microsoft's JScript.
Deprecated: Interface for media player KParts. KMediaPlayer builds on the KParts framework to provide a common interface for KParts that can play media files. This framework is a porting aid. It is not recommended for new projects, and existing projects that use it are advised to port away from it, and use plain KParts instead.
Framework for downloading and sharing additional application data. The KNewStuff library implements collaborative data sharing for applications. It uses libattica to support the Open Collaboration Services specification.
Attica is a Qt library that implements the Open Collaboration Services API version 1.6. It grants easy access to the services such as querying information about persons and contents.
The KParts library implements the framework for KDE parts. One individual user interface component is called a KPart and is some elaborate widget with a user-interface defined in terms of actions (menu items, toolbar icons). KParts are analogous to Bonobo components in GNOME and ActiveX controls in Microsoft's Component Object Model. Konsole is available as a KPart and is used in applications like Konqueror and Kate. Example uses of KParts:
KPlotWidget is a QWidget-derived class that provides a virtual base class for easy data-plotting. The idea behind KPlotWidget is that you only have
to specify information in "data units"; i.e., the natural units of the data being plotted. KPlotWidget automatically converts everything to screen pixel units. KPlotWidget draws X and Y axes with tick marks and tick labels. It automatically determines how many tick marks to use and where they should be, based on the data limits specified for the plot. You change the limits by calling `setLimits(double x1, double x2, double y1, double y2)`. Data to be plotted are stored using the KPlotObject class. KPlotObject consists of a QList of QPointF's, each specifying the X,Y coordinates of a data point. KPlotObject also specifies the "type" of data to be plotted (POINTS or CURVE or POLYGON or LABEL).
Interfacing with pseudo terminal devices. This library provides primitives to interface with pseudo terminal devices as well as a KProcess derived class for running child processes and communicating with them using a pty.
Embedding of scripting into applications. Kross is a scripting bridge to embed scripting functionality into an application. It supports QtScript as a scripting interpreter back-end.
The core of Kross provides the framework to deal transparently with interpreter-back-ends and offers abstract functionality to deal with scripts.
Framework for providing different actions given a string query. Framework for Plasma runners. The Plasma workspace provides an application called KRunner which, among other things, allows one to type into a text area which causes various actions and information that match the text appear as the text is being typed. One application for this is the universal runner you can launch with ALT+F2.
KService provides a plugin framework for handling desktop services. Services can be applications or libraries. They can be bound to MIME types or handled by application specific code.
This is a stand-alone implementation of the Kate syntax highlighting engine. It's meant as a building block for text editors as well as for simple highlighted text rendering (e.g. as HTML), supporting both integration with a custom editor as well as a ready-to-use QSyntaxHighlighter sub-class.
KTextEditor provides a powerful text editor component that you can embed in your application, either as a KPart or using the KF5::TextEditor library (if you need more control). The text editor component contains many useful features, from syntax highlighting and automatic indentation to advanced scripting support, making it suitable for everything from a simple embedded text-file editor to an advanced IDE.
KUnitConversion provides functions to convert values in different physical units. It supports converting different prefixes (e.g. kilo, mega, giga) as well as converting between different unit systems (e.g. liters, gallons). The following areas are supported:
KWayland is the KDE library for implementing Wayland support in KDE applications, it fulfills needs beyond what QtWayland provides. All the KDE applications in a plasma-wayland-session use this library and LXQt maybe as well. KWayland has been part of KDE Frameworks since 5.22 (May 2016); it was formerly distributed as part of KDE Plasma 5.
Addon with various classes on top of QtWidgets. If you are porting applications from KDE Platform 4 "kdeui" library, you will find many of its classes here. Provided are action classes that can be added to toolbars or menus, a wide range of widgets for selecting characters, fonts, colors, actions, dates and times, or MIME types, as well as platform-aware dialogs for configuration pages, message boxes, and password requests. Further widgets and classes can be found in other KDE frameworks.
Allows to interact with the windowing system. It provides a NETRootInfo for accessing the global state (all that's set on the root window) and NETWinInfo for all information about a specific window. The classes have a window manager and client perspective. This is the foundation which powers KWin and various parts of the graphical shell such as the taskmanager.[17] On top of those X11-specific classes we have a convenient API KWindowInfo and KWindowSystem which provides a windowing system independent API for our applications.
KXMLGUI provides a framework for managing menu and toolbar actions in an abstract way. The actions are configured through a XML description and hooks in the application code. The framework supports merging of multiple description for example for integrating actions from plugins. KXMLGui makes use of the Kiosk authorization functionality of KConfig (see the KAuthorized namespace in that framework). Notably, QAction instances added to a KActionCollection are disabled if KAuthorized::authorizeAction() reports that they are not authorized. The items on the standard help menu (KHelpMenu) can likewise be disabled based on Kiosk settings, and toolbar editing can be restricted. See KActionCollection, KHelpMenu and KToolBar documentation for more information.
org.kde.plasma.core: bindings for libplasma functionality, such as DataEngine and FrameSvg
org.kde.plasma.components: graphical components for common items such as buttons, lineedits, tabbars and so on. Compatible subset of the MeeGo components used on the N9
org.kde.plasma.extras: Extra graphical components that extend org.kde.plasma.components but are not in the standard API
org.kde.plasma.plasmoid: Attached properties for manipulating the current applet or containment
Solid provides a way of querying and interacting with hardware independently of the underlying operating system. It provides the following features for application developers:
Sonnet is a plugin-based spell checking library for Qt-based applications. It supports several different plugins, including HSpell, Enchant, ASpell and HUNSPELL. It also supports automated language detection, based on a combination of different algorithms. The simplest way to use Sonnet in your application is to use the SpellCheckDecorator class on your QTextEdit.
Киригами — это QML. платформа приложений [ 18 ] разработан Марко Мартином [ 19 ] это позволяет разработчикам писать приложения, которые изначально работают на Android, iOS, Windows, Plasma Mobile и любой классической настольной среде Linux без корректировки кода.
Он используется различными приложениями, например, приложением для подводного плавания Линуса Торвальдса и Дирка Хонделса Subsurface, клиентом обмена сообщениями Banji, [ 20 ] посланник Кайдана, [ 21 ] Музыкальный проигрыватель Vvave и центр программного обеспечения KDE Discover.
Дистрибутив Linux использует некоторую систему управления пакетами для упаковки распространяемого ими программного обеспечения. Debian Например, распространяет KGlobalAccel под именем пакета libkf5globalaccel . [ 22 ] в то время как Fedora Linux распространяет его под именем kf5-kglobalaccel . [ 23 ]
Выпуску 5.0 предшествовали предварительная версия технологии, две альфа-версии и три бета-версии. [ 27 ] [ 28 ] [ 29 ]
Исходный код KDE Frameworks существует начиная с KDElibs 1. Первый выпуск KDE Frameworks был с версией 5, чтобы учесть тот факт, что базой кода была платформа KDE версии 4 (единственная основная версия платформы KDE ).
Переход с платформы KDE на KDE Frameworks начался в августе 2013 года под руководством ведущих технических специалистов KDE. [ 8 ]
После первого выпуска KDE Frameworks 5.0 разработчики сосредоточились на добавлении новых функций к компонентам KDE Frameworks 5. [ 30 ] примером является лучшая интеграция Firefox в KDE. [ 31 ]
Основным улучшением Frameworks 5 является его модульность. В более ранних версиях KDE библиотеки были объединены в один большой пакет. В Frameworks библиотеки были разделены на отдельные пакеты меньшего размера. Это облегчает использование библиотек другим программным обеспечением на основе Qt, поскольку зависимости могут быть сведены к минимуму. [ 8 ]
Во времена KDE SC 4 так называемая платформа KDE состояла из всех библиотек и служб, необходимых для KDE Plasma и приложений. Начиная с Qt 5, эта платформа была преобразована в набор модулей, который теперь называется KDE Frameworks. Эти модули включают в себя: Solid , Nepomuk , Phonon и т. д. и лицензируются либо по лицензии LGPL, BSD, MIT License или лицензии X11. [ 33 ]
Arc.Ask3.Ru Номер скриншота №: 5570d8d77c329cfcee6badc2b257aa58__1720610220 URL1:https://arc.ask3.ru/arc/aa/55/58/5570d8d77c329cfcee6badc2b257aa58.html Заголовок, (Title) документа по адресу, URL1: KDE Frameworks - Wikipedia
Данный printscreen веб страницы (снимок веб страницы, скриншот веб страницы), визуально-программная копия документа расположенного по адресу URL1 и сохраненная в файл, имеет: квалифицированную, усовершенствованную (подтверждены: метки времени, валидность сертификата), открепленную ЭЦП (приложена к данному файлу), что может быть использовано для подтверждения содержания и факта существования документа в этот момент времени. Права на данный скриншот принадлежат администрации Ask3.ru, использование в качестве доказательства только с письменного разрешения правообладателя скриншота. Администрация Ask3.ru не несет ответственности за информацию размещенную на данном скриншоте. Права на прочие зарегистрированные элементы любого права, изображенные на снимках принадлежат их владельцам. Качество перевода предоставляется как есть. Любые претензии, иски не могут быть предъявлены. Если вы не согласны с любым пунктом перечисленным выше, вы не можете использовать данный сайт и информация размещенную на нем (сайте/странице), немедленно покиньте данный сайт. В случае нарушения любого пункта перечисленного выше, штраф 55! (Пятьдесят пять факториал, Денежную единицу (имеющую самостоятельную стоимость) можете выбрать самостоятельно, выплаичвается товарами в течение 7 дней с момента нарушения.)