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. QSlider Widget not resizing on Beagleboard running Angstrom
QtWS25 Last Chance

QSlider Widget not resizing on Beagleboard running Angstrom

Scheduled Pinned Locked Moved General and Desktop
2 Posts 1 Posters 2.4k Views
  • 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.
  • T Offline
    T Offline
    tomc
    wrote on last edited by
    #1

    I have created a app with a number of push buttons and one horizontal slider. I am using a GridLayout. I am running the app on both the Beagleboard Rev C and xM and both are running the latest Angstrom version which I built using OpenEmbedded. I am using a Xenarc TSH700 touch screen. The touch is working fine and I can interact with all the widgets. I am new to Qt and have tried searching for clues as to why the slider is so small on the screen. I can manipulate the size of the QPushButton widgets and the QLabel widgets but nothing I do will increase the size of the slider groove. If I try to increase the size of the slider using setMimimumHeight or any of the size adjustment functions the only thing that increases is the lenght of the tick marks. I even tried creating a styleSheet to increase the height of the groove and that did not work. The current slider groove and handle are so small that it is impossible to manipulate it using the touch screen.

    I have read where Angstrom has both an X11 and an embedded version of Qt but I have no idea which I am using or what difference it makes. In trying to debug the problem, I created a very simple app with just a qslider in the window and the same problem happened. Any hint or direction as to how I can increase the size of the slider groove are greatly appreciated.

    1 Reply Last reply
    0
    • T Offline
      T Offline
      tomc
      wrote on last edited by
      #2

      I forgot an important piece. I am using pyqt4.

      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