Code Monkey home page Code Monkey logo

libyui-mga's Introduction

libyui-mga

libyui plugins/extensions for the Mageia tools

New widgets added:

  • YMGAAboutDialog: Two kinds of AboutDialog available Tabbed and Classic.
  • YMGA_CBTable: An YTable with an addition of checkbox column (useful for package manager or check lists).
  • YMGAMsgBox: MessageBox implementation with levels NORMAL, INFO and WARNING.
  • YMGAMenuBar: A MenuBar to get rid of YMenuButtons

Check also into TODO file.

libyui-mga's People

Contributors

anaselli avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

Forkers

rmys

libyui-mga's Issues

New libyui Widget: YMenuBar

We added a MenuBar widget to libyui. More details here:

https://github.com/libyui/libyui/pull/169

C++ example:

https://github.com/libyui/libyui/blob/master/examples/MenuBar1.cc

We extracted a common base class YMenuWidget from YMenuButton for some tasks that are needed in both the YMenuButton and the new YMenuBar:

https://github.com/libyui/libyui/blob/master/src/YMenuWidget.h
https://github.com/libyui/libyui/blob/master/src/YMenuWidget.cc

This includes resolving keyboard shortcut conflicts on each menu level. In the near future, it will also include resolving keyboard shortcut conflicts between the toplevel menus and other widgets in that same dialog (because a menu bar typically has more than one shortcut).

AFAICS this new widget should support all features that your MGAMenuBar has, with one notable exception: Hiding menu entries.

Can you explain how this is expected to be used? A use case?
This should be easy to add for the Qt UI; I am not so sure about NCurses, though.

Once that is done, we might want to unify both widgets. Or if you prefer that, you can of course continue to use your MGAMenuBar.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.