• 首页
  • Qt文档
  • DTK文档
  • 玲珑文档
  • dwaterprogress_zh

    Class::DWaterProgress

    暂无该属性


    Detailed Description


    Use DWaterProgress to create an new water animation progress. * *

      • Use DWaterProgress to create an new water animation progress. There is also an optional progress * text can be set as visible via setTextVisible() .

    DWaterProgress::Q_PROPERTY

    [private plain  ]

    int Q_PROPERTY(int )

    DWaterProgress::~DWaterProgress

    [private destructor  ]

    ~DWaterProgress()

    DWaterProgress::value

    [private plain  ]

    int value() const

    get the current progress value

    当前进度值 See also setValue()

    DWaterProgress::stop

    [public plain  ]

    void stop()

    stop water animation.

    停止水位动画

    DWaterProgress::setValue

    [public plain  ]

    void setValue(int value)

    set the current progress value (range: 0~100)

    设置当前进度值,(范围 0~100)

    DWaterProgress::setTextVisible

    [public plain  ]

    void setTextVisible(bool visible)

    set progress text visible or not

    设置是否显示进度 set the progress text value(like 50% when value is 50) visible. 设置进度文字是否显示,如值为 50 时显示 50% 。

    DWaterProgress::paintEvent

    [protected plain  ]

    void paintEvent(int *) override

    DWaterProgress::changeEvent

    [protected plain  ]

    void changeEvent(int *e) override