libqaccessibilityclient:基于 Qt 的辅助功能客户端库项目

可用于开发屏幕阅读器等辅助功能客户端,提供访问应用程序无障碍接口的API,包含文本输出接口信息、对象树展示与交互等示例,助力无障碍功能测试与开发。【此简介由AI生成】

Branch6Tags5
FilesLast commitLast update
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago

QAccessibilityClient

This library is used when writing accessibility clients such as screen readers. It comes with some examples demonstrating the API. These small helpers may be useful when testing accessibility. One of them writes all accessibiliy interfaces an application provides as text output. The other, more advanced application shows a tree of objects and allows some interaction and exploration.

Coding style: http://techbase.kde.org/Policies/Kdelibs_Coding_Style Generally this library follows http://techbase.kde.org/Policies/Library_Code_Policy

Be aware that it is in an early stage of development right now so no compatibility is guaranteered.

All public API is in: src/qaccessibilityclient

The abstraction of DBus and related at-spi tools should go into src/atspi but not exported.

You can generate documentation (see docs folder README).

Using CMake with QAccessibilityClient

Do NOT write a Find*.cmake file! It just works the way it is (TM).

Use:

find_package(QAccessibilityClient)

or, if you use feature logging:

macro_optional_find_package(QAccessibilityClient)
macro_log_feature(QAccessibilityClient_FOUND "qaccessibilityclient"
    "KDE client-side accessibility library"
    "https://projects.kde.org/libkdeaccessibilityclient"
    FALSE "" "Required to enable accessibility features.")

include_directories(${QACCESSIBILITYCLIENT_INCLUDE_DIR})
target_link_libraries(targetname ${QACCESSIBILITYCLIENT_LIBRARY})

In your code #include <qaccessibilityclient/accessibleobject.h> etc.

Creating releases

There are no translations for QAccessibilityClient since the library does not contain any strings that should be shown to users. The examples are not translated, that could potentially be considered. Follow https://community.kde.org/ReleasingSoftware, skip the translation parts.

  • Set the project version in the top-level CMakeLists.txt, push.
  • ./tarme.rb --version 0.3.0 --origin stable libqaccessibilityclient
  • tarme.rb has nice output that gives instructions.
  • ./tagme.rb --version 0.3.0 libqaccessibilityclient
  • upload as directed
  • file sysadmin ticket
  • ./logme.rb to create changelog
  • ./tagme --version 0.3.0 to push tag
  • blog/send mail

Introduction

可用于开发屏幕阅读器等辅助功能客户端,提供访问应用程序无障碍接口的API,包含文本输出接口信息、对象树展示与交互等示例,助力无障碍功能测试与开发。【此简介由AI生成】

Customize your domain