summaryrefslogtreecommitdiffstats
path: root/src/qprogressindicator.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/qprogressindicator.h')
-rw-r--r--src/qprogressindicator.h41
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);