Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Widget for cycling through camera modes
Qt 6.11 is out! See what's new in the release blog

Widget for cycling through camera modes

Scheduled Pinned Locked Moved Unsolved General and Desktop
2 Posts 2 Posters 593 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • J Offline
    J Offline
    Justin Sayne
    wrote on last edited by
    #1

    I have a camera system and want to display live captures of what they can see on my GUI. They can be run in two modes, gray and color. Which widget is best suited for my needs? I thought about a toggle button where I can cycle through off - gray - color, toggle it out everytime no live image is shown and keep it toggled in and just change its description once I switch from gray to color or vv. The problem here really is that 'live off' is some sort of extra 'mode' in in some contexts different from the other two. Is it therefore advisable to use a button where each of these three states are viewed as equal or is there already a widget better suited for my needs?

    1 Reply Last reply
    0
    • mrjjM Offline
      mrjjM Offline
      mrjj
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi
      I was thinking maybe just one view and a

      Color and one for [X] Capture

      If you deselect Color, its grey
      If you deselect Capture, its it stops display
      (both on by default)

      At least that's how many of the video captures programs I have used did it.

      Maybe you have other needs. so just a suggestion.

      1 Reply Last reply
      0

      • Login

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved