Socket
Socket
Sign inDemoInstall

github.com/nemomobile-ux/nemo-qml-plugin-statusnotifier

Package Overview
Dependencies
Alerts
File Explorer
Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

github.com/nemomobile-ux/nemo-qml-plugin-statusnotifier


Version published
Created
Source

nemo-qml-plugin-statusnotifier

org.freedesktop.StatusNotifier specification implementation for Mer. Based on LXQt sources, I appreciate that.

Example usage:

On host side:

import org.nemomobile.statusnotifier 1.0

// ...

StatusNotifierModel {
    id: snModel
}

// ...

SilicaListView
{

// ...

    model: snModel
    delegate: // Some delegate

// notifierItem is the only delegate role
// notifierItem type of StatusNotifierIcon

//   notifierItem.status: StatusNotifierIcon.Passive / StatusNotifierIcon.Active / StatusNotifierIcon.NeedsAttention
//   notifierItem.title: string
//   notifierItem.icon: string
//   notifierItem.overlayIcon: string
//   notifierItem.attentionIcon: string

//   notifierItem.activate()
//   notifierItem.secondaryActivate()
//   notifierItem.scroll(int delta, Qt::Orientation orientation)

}

On client side:

import org.nemomobile.statusnotifier 1.0

// ...

StatusNotifierItem {
    id: snItem
    status: StatusNotifierItem.Passive / StatusNotifierItem.Active / StatusNotifierItem.NeedsAttention
    title: "Some Title"
    icon: "image://theme/icon-m-passive-icon"
    overlayIcon: "image://theme/icon-m-active-icon"
    attentionIcon: "image://theme/icon-m-attention-icon"

    onActivateRequested: {
        // host triggered activate()
    }

    onSecondaryActivateRequested: {
        // host triggered secondaryActivate()
    }

    onScrollRequested: {
        // host triggered scroll()
    }
}

FAQs

Package last updated on 11 Sep 2020

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc