Git Product home page Git Product logo

Comments (1)

sneakers-the-rat avatar sneakers-the-rat commented on July 17, 2024

For reference, this is the acquisition window:

image

The window can't be resized once it's opened, but @fnsangiul says you can change the window size before clicking "run" by editing the windowScale parameter in the user config: ( eg. here:

). so that might help some things in the short term?

So things that might be nice here:

Make the window resizeable

the window is initialized here:

void VideoDevice::createView()

specifically:

view->setWidth(m_cDevice["width"].toInt() * m_ucDevice["windowScale"].toDouble(1));
view->setHeight(m_cDevice["height"].toInt() * m_ucDevice["windowScale"].toDouble(1));

Since windowScale is used there to change the window size without modifying the other qt widgets elsewhere, it seems like we should be able to just enable window resizing.

The default resizeMode makes the view object take the size of the root qml object: https://doc.qt.io/qt-6/qquickview.html#ResizeMode-enum
and the qml object then takes the width and height of the parent:

width: parent.width
height: parent.height
state: "controlsShown"

so I think we just need to set sizePolicy.Expanding on that item? idk i don't rly use or like qml/qtquick

move controls to a separate pane

currently the controls are overlaid on the image, which could get in the way. additionally important controls are hidden in the top drawer and not very discoverable. I think we should probably move those off to a panel on the side so they don't obscure the frame at all.

Also since ppl will be using this software while doing a surgery, we should probably also add hotkey bindings to some of the controls, particularly the focus plane, so people can mash at them without needing to use the mouse.

from miniscope-daq-qt-software.

Related Issues (20)

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.