Changeset View
Changeset View
Standalone View
Standalone View
source/qml/lib/Outline.qml
| Show All 13 Lines | |||||
| 14 | * You should have received a copy of the GNU Library General Public | 14 | * You should have received a copy of the GNU Library General Public | ||
| 15 | * License along with this program; if not, write to the | 15 | * License along with this program; if not, write to the | ||
| 16 | * Free Software Foundation, Inc., | 16 | * Free Software Foundation, Inc., | ||
| 17 | * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. | 17 | * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. | ||
| 18 | */ | 18 | */ | ||
| 19 | 19 | | |||
| 20 | import QtQuick 2.7 | 20 | import QtQuick 2.7 | ||
| 21 | import QtQuick.Controls 2.2 | 21 | import QtQuick.Controls 2.2 | ||
| 22 | import org.kde.kirigami 2.4 as Kirigami | ||||
| 22 | import "tools.js" as T | 23 | import "tools.js" as T | ||
| 23 | 24 | | |||
| 24 | // Draw a frame around an element | 25 | // Draw a frame around an element | ||
| 25 | Item { | 26 | Item { | ||
| 26 | anchors.fill: parent; | 27 | anchors.fill: parent; | ||
| 27 | property string color: "rgba(236, 161, 169, 0.6)" | 28 | property string color: "rgba(236, 161, 169, 0.6)" | ||
| 28 | property bool label: true | 29 | property bool label: true | ||
| 29 | property bool aspectratio: false | 30 | property bool aspectratio: false | ||
| ▲ Show 20 Lines • Show All 90 Lines • Show Last 20 Lines | |||||