Review Request 124635: WIP: Add QmlConfigPage class

Kevin Funk kfunk at kde.org
Wed Aug 5 21:58:54 UTC 2015


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://git.reviewboard.kde.org/r/124635/
-----------------------------------------------------------

Review request for KDevelop.


Repository: kdevplatform


Description
-------

WIP: Add QmlConfigPage class


Diffs
-----

  util/qmlconfigpage.cpp PRE-CREATION 
  util/qmlconfigpage.h PRE-CREATION 
  util/CMakeLists.txt 6ce19e0ce73ce60ea77b7cbd47962423aa805fa7 

Diff: https://git.reviewboard.kde.org/r/124635/diff/


Testing
-------

Example implementation of the JSHint preferences page:

```
import QtQuick 2.2
import QtQuick.Controls 1.2
import QtQuick.Layouts 1.0

import org.kde.plasma.core 2.0 as PlasmaCore

Rectangle {
    id: root

    readonly property string name: i18n("JSHint Config")

    property alias cfg_JSHintPath: jshintPath.text

    SystemPalette { id: sysPalette }

    color: sysPalette.window

    GroupBox {
        width: parent.width
        title: i18n("Paths")

        GridLayout {
            id: gridLayout

            anchors.fill: parent
            columns: 2

            Label { text: i18n("JSHint Executable:") }
            TextField { id: jshintPath; Layout.fillWidth: true}
        }
    }
}
```

Comments welcome.


Thanks,

Kevin Funk

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kdevelop-devel/attachments/20150805/a3341867/attachment-0001.html>


More information about the KDevelop-devel mailing list