YJWidget Component Library

website·Indexed 31 days ago

https://yjwidget.simversus.com

A cross-platform UI component library providing a comprehensive set of widgets for both React and Qt. It includes standard form controls like Select, Checkbox, Switch, Slider, and Input, as well as specialized 3D scene tools such as LegendBar and NavigationCube for vtkjs, and complex combined components like StreamLine, Contourplot, and Vector.

Tokens
20.2K
Snippets
113
Records
198
Agent score
49%

What's inside YJWidget

  1. Overview of the Qt Message Component

    The Message component provides a lightweight, non-intrusive way to display global operation feedback (such as success, warning, and error messages). By default, messages appear centered at the top of the screen and automatically disappear. Messages without a close button typically close after a timer (e.g., 5 seconds), while those with a button can be closed manually by the user.
  2. Overview of YJWidget UI Framework

    YJWidget is a UI component library developed by Beijing Yunjing Zhifang Information Technology Co., Ltd. It provides high-quality, flexible components for both web and client-side applications, allowing developers to focus on business logic by reducing repetitive UI work. The framework is split into two main implementations: a React library for web development and a Qt library for desktop and embedded applications.
  3. Overview of Qt Button component types

    The Button component is used to trigger immediate operations or business logic upon user click. It supports three primary configurations:

    1. Text Button: Achieved by configuring the stylesheet for background and text colors.
    2. Icon Button: Achieved by configuring an icon and the component stylesheet.
    3. Mixed Text and Icon Button: Achieved by configuring both an icon and text.
  4. Overview of the Qt Select component

    The Select component is used to trigger a dropdown menu for user operations. It serves as a replacement for native selectors or as a more elegant multi-selector. Design recommendation: If there are fewer than 5 options, it is recommended to flatten the options and use a Radio component instead.
  5. Overview of the Slider-Input combined component

    The Slider-Input component is a combined Qt widget that links a slider control with a numeric input field. It allows users to set and adjust values using either the slider or the input box. Key configurable properties include minimum value, maximum value, step size, current value, and visibility toggles for the slider, input box, and hint information.
  6. Implement sectioning functionality with the Slice component

    The Slice component is used to implement sectioning (截面) functionality. It works by parsing a JSON string to determine the positions of components within a form and then combining existing components to create a composite component.