~ken-vandine/ubuntu-system-settings/no_s_i_d

« back to all changes in this revision

Viewing changes to plugins/wifi/OtherNetwork.qml

  • Committer: Bileto Bot
  • Author(s): Ken VanDine
  • Date: 2016-07-22 14:38:13 UTC
  • mfrom: (1556.3.32 slotsLayout)
  • Revision ID: ci-train-bot@canonical.com-20160722143813-ht9e4766lm0ie5fa
Ported to use Slots layout and updated visuals (LP: #1596529)

Approved by: Jonas G. Drange

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/*
2
 
 * Copyright 2013 Canonical Ltd.
 
2
 * Copyright 2013-2016 Canonical Ltd.
3
3
 *
4
4
 * This program is free software; you can redistribute it and/or modify
5
5
 * it under the terms of the GNU General Public License as published by
18
18
import QtQuick.Layouts 1.1
19
19
import SystemSettings 1.0
20
20
import Ubuntu.Components 1.3
21
 
import Ubuntu.Components.ListItems 1.3 as ListItem
 
21
import Ubuntu.Components.ListItems 1.3 as ListItems
22
22
import Ubuntu.Components.Popups 1.3
23
23
import Ubuntu.SystemSettings.Wifi 1.0
24
24
import QMenuModel 0.1
313
313
            elide: Text.ElideRight
314
314
        }
315
315
 
316
 
        ListItem.ItemSelector {
 
316
        ListItems.ItemSelector {
317
317
            id: securityList
318
318
            objectName: "securityList"
319
319
            model: [i18n.tr("None"),             // index: 0
346
346
                     securityList.selectedIndex === 4
347
347
        }
348
348
 
349
 
        ListItem.ItemSelector {
 
349
        ListItems.ItemSelector {
350
350
            id: authList
351
351
            objectName: "authList"
352
352
            model: ["TLS",  // index: 0
374
374
                      authList.selectedIndex === 4)
375
375
        }
376
376
 
377
 
        ListItem.ItemSelector {
 
377
        ListItems.ItemSelector {
378
378
            id: p2authList
379
379
            objectName: "p2authList"
380
380
            width: parent.width
407
407
                      authList.selectedIndex === 4)
408
408
        }
409
409
 
410
 
        ListItem.ItemSelector {
 
410
        ListItems.ItemSelector {
411
411
            id: cacertSelector
412
412
            anchors {
413
413
                left: parent.left
521
521
 
522
522
        }
523
523
 
524
 
        ListItem.ItemSelector {
 
524
        ListItems.ItemSelector {
525
525
            id: usercertSelector
526
526
            anchors {
527
527
                left: parent.left
586
586
            }
587
587
        }
588
588
 
589
 
        ListItem.ItemSelector {
 
589
        ListItems.ItemSelector {
590
590
            id: privateKeySelector
591
591
            anchors {
592
592
                left: parent.left
639
639
            OptionSelectorDelegate { text: pacFileName; }
640
640
        }
641
641
 
642
 
        ListItem.ItemSelector {
 
642
        ListItems.ItemSelector {
643
643
            id: pacFileSelector
644
644
            anchors {
645
645
                left: parent.left
681
681
                      (authList.selectedIndex === 3)
682
682
        }
683
683
 
684
 
        ListItem.ItemSelector {
 
684
        ListItems.ItemSelector {
685
685
            id: pacProvisioningList
686
686
            objectName: "pacProvisioningList"
687
687
            model: [i18n.tr("Disabled"),      // index: 0
708
708
                      (authList.selectedIndex === 4)
709
709
        }
710
710
 
711
 
        ListItem.ItemSelector {
 
711
        ListItems.ItemSelector {
712
712
            id: peapVersionList
713
713
            objectName: "peapVersionList"
714
714
            model: [i18n.tr("Version 0"),  // index: 0