diff options
author | Anne Jan Brouwer <brouwer@annejan.com> | 2023-09-17 17:26:18 +0200 |
---|---|---|
committer | Anne Jan Brouwer <brouwer@annejan.com> | 2023-09-17 17:26:18 +0200 |
commit | 430dbf0568598585c6fce988c5dc6c9e80776164 (patch) | |
tree | 933b57b4a5a68e0c5d2bed71819d97a24c3a2f51 /src/qprogressindicator.h | |
parent | 6e2b1b58c059088eb483fd283b35a7851335308a (diff) | |
parent | 998df488b8338b918287ff3cd6e69ef05e2caa39 (diff) |
Merge branch 'main' into add-korean
Diffstat (limited to 'src/qprogressindicator.h')
-rw-r--r-- | src/qprogressindicator.h | 41 |
1 files changed, 27 insertions, 14 deletions
diff --git a/src/qprogressindicator.h b/src/qprogressindicator.h index f3f61e66..2d7db91b 100644 --- a/src/qprogressindicator.h +++ b/src/qprogressindicator.h @@ -1,3 +1,30 @@ +/* + * This code is based on https://github.com/mojocorp/QProgressIndicator + * and published under + * + * The MIT License (MIT) + * + * Copyright (c) 2011 Morgan Leborgne + * + * Permission is hereby granted, free of charge, to any person obtaining a copy + * of this software and associated documentation files (the "Software"), to deal + * in the Software without restriction, including without limitation the rights + * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the Software is + * furnished to do so, subject to the following conditions: + * + * The above copyright notice and this permission notice shall be included in + * all copies or substantial portions of the Software. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + * SOFTWARE. + */ + #ifndef QPROGRESSINDICATOR_H_ #define QPROGRESSINDICATOR_H_ @@ -15,20 +42,6 @@ */ class QProgressIndicator : public QWidget { Q_OBJECT - /** - * @brief QProgressIndicator::delay in miliseconds. - */ - Q_PROPERTY(int delay READ animationDelay WRITE setAnimationDelay) - /** - * @brief QProgressIndicator::displayedWhenStopped render when not spinning. - */ - Q_PROPERTY(bool displayedWhenStopped READ isDisplayedWhenStopped WRITE - setDisplayedWhenStopped) - /** - * @brief QProgressIndicator::color of the component.. - */ - Q_PROPERTY(QColor color READ color WRITE setColor) - public: explicit QProgressIndicator(QWidget *parent = 0); |