GithubHelp home page GithubHelp logo

martynets / dialogbox Goto Github PK

View Code? Open in Web Editor NEW
10.0 4.0 5.0 665 KB

GUI widgets for shell scripts. This is a scriptable engine which implements the idea of a GUI <-> text filter tool.

License: GNU General Public License v3.0

C++ 99.58% QMake 0.42%

dialogbox's Issues

Windows Release

Is it possible to compile project for Windows?
And put it to release page with other OS releases.
As of now there seems no package released yet...

How to rescale/expand content inside tab pages

Hi.

I am having trouble figuring out if it is possible to re-scale frames that are inside a tab page.
When using normal frames (not inside a tab), they separate from each other (and using "add stretch" I can get the elements inside the frame to separate from each other as well). But when I put these frames inside a tab, I am not able to make them re-scale. I tried giving stylesheet properties to the frames (min-width, max-width), but they only hold the min-width or width property and don't "expand".

If this feature is not contemplated by dialogbox, I understand. Every small change requires a lot of work, so I am not asking for it to be included. I have found a way to show and hide frames that would replace tabs functionality (though the transitions are not smooth). But if there is a workaround that you know about for auto-expanding inside tabs, I would appreciate it if you could hint me to the correct path.

Thanks for your time.
See gif where the window rescales with tabs (but not its contents), while without tabs the content does move and the frames expand.
yes-tabs
no-tabs

Trying to figure out current option for Listbox

Sorry to disturb you again.

I am trying to figure out how the current options works with listboxes.
I can easily add it during the list creation, such as:
add item "Item 1" current
But when trying to select the current item from outside the listbox, I find that nothing works.
Based on the set option:

set [name] options [text]

  • current - makes item of a list widget or tab (page widget) of a tabs widget the current one.

I imagine that it would be similar to:
set LISTBOX_NAME current "item 2"
and even with the position
set LISTBOX_NAME current 2
but I am not able to get it to work.

Could you give me a hint of the correct format of the command? I tested on both qt4 and qt5 versions and wasn't to get it to work.

Thanks for your time.

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.