[Interest] expanda tab depending of QTabWidget
Hi guys, I don’t know how ask this question, even ai don’t know how really I nee to looking for because I don’t know what’s the name of the QTabWidget property which let me as Finder does in OS X. In OS X, if you create a new tab, we could see that each tab is expanding in the entire width of the application, it’s mean that if I have 3 tabs, the width of each tab will be the width of the QTabWidget / 3 Has Qt any way to do that ? regards ___ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest
Re: [Interest] Cellular Radio information?
> On 19/04/16 05:23, Jason H wrote: > > Is there a way to access the radio info (dB, SNR) or even just overall data > > connection quality using Qt? > > > > I know there is a Radio QML type, but this seems to be FM broadcast radio. > > In the unreleased QtSystems module in QtSystemInfo there is something > like that, but depending on your platform, it may or may not work. There > is no current iOS and Android support in QtSystemInfo. > > But since it is unreleased, we can add to the API and additional > platforms at any time, if there was someone to work on those. Thanks for the info. My app is used in rural and areas with low connectivity and needs to upload a lot of data. I was just looking to get an idea if they are having signal issues or some other kind of issue. My current MO is to get the GPS location then look it up on OpenSignalMaps, and deduce what their signal should be. It's not a complete database. So I was hoping the signal info could also be used to trigger an attempt when it got a "good enough" signal. ___ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest
[Interest] No resize after hiding the navigation bar on Android under QML.
Hi all, I have a full screen QML application on Android. I create a QQuickView in main() and use showFullscreen() to show it. On my Samsung phone (with physical navigation buttons) everything is fine, the status bar gets hidden, and my application uses the full area of the screen. On my Nexus (with on-screen navigation bar) the status bar and the navigation bar gets hidden, but my application does not use the full screen, the area under the (now hidden) navigation bar is light gray, and unusable. After some research, it looks like in native Android code I would need to set the system ui visibility to SYSTEM_UI_FLAG_LAYOUT_FULLSCREEN | SYSTEM_UI_FLAG_LAYOUT_HIDE_NAVIGATION | SYSTEM_UI_FLAG_LAYOUT_STABLE, but I can't find a way to do that from Qt. Does anybody faced the same problem? Best, tr3w ___ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest
[Interest] Change image.source onClicked with if statement function
Hello I am trying to emulate a traffic light,I have four images to toggle between,I made a function to check the equality of the source image and change it on click,but it doesn't work,I think the problem in checking the equality of the source. Any ideas...ThanksRamyimport QtQuick 2.4 Item{id:traffic_light property string property3: "vector-traffic-light-3.png" //greenproperty string property2: "vector-traffic-light-2.png" //yellowproperty string property1: "vector-traffic-light-1.png" //redproperty string property0: "vector-traffic-light-0.png" //off function toggle(){if (trafficlight.source == property0) trafficlight.source = property1; else if (trafficlight.source == property1) trafficlight.source = property2; else if(trafficlight.source == property2) trafficlight.source = property3;else if (trafficlight.source == property3) trafficlight.source =property0;} Image {id: trafficlightx: 30y: 30width: 43 height: 140opacity: 0.7source: property1 MouseArea {x: 0y: 0 width: 43height: 140hoverEnabled: true onClicked:toggle() } } } ___ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest
[Interest] [QT3D] Lights
HelloThere are different kinds of lights (Spot,Point,Directional,etc) in QT3D,I am trying to emulate a car headlights with foggy rays effect and taillights glowing effect . which one you recommend to use and if you can provide me with a simple example will be great.Thanks Ramy ___ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest
Re: [Interest] Probable Qt bug in widgets display
Den 20-04-2016 kl. 10:56 skrev Etienne Sandré-Chardonnal: Here are two screenshots: Normal display : http://www.eclat-digital.com/downloads/qtbug-normal.png Bugged display : http://www.eclat-digital.com/downloads/qtbug-issue.png This looks like a paint bug to me. The best way forward for you is to create a small self contained application that shows the problem. In this case, it should probably be possible to do it in 10 lines of code or so. And then add a description on how to reproduce it. Create a bug report with those two things. The good thing about the small test case is that you also make it very clear if it really is a Qt bug or if you did something on your side that triggers it. Bo Thorsen, Director, Viking Software. -- Viking Software Qt and C++ developers for hire http://www.vikingsoft.eu ___ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest
Re: [Interest] Probable Qt bug in widgets display
Here are two screenshots: Normal display : http://www.eclat-digital.com/downloads/qtbug-normal.png Bugged display : http://www.eclat-digital.com/downloads/qtbug-issue.png It seems this also happens with windows RDP sessions. Thanks, Etienne 2016-04-19 14:20 GMT+02:00 Etienne Sandré-Chardonnal: > Dear all, > > I have what seems to be a Qt bug in a desktop application. I'm using Qt > 5.4.1 under windows, compiled with minGW. > > My application is based on a QMainWindow with toolboxes, status bar, and a > tabbed central area. I use the Fusion style, redefined all the palette with > QApplication::setPalette for having a dark theme, and customized a few > widgets with stylesheets. All this customization is done once in main() on > the QApplication instance. > > The interface is displayed as it should 99% of the time. > > But sometimes, I think when exiting from the screen saver, some GUI zones > are rendered white instead of dark gray. These are: > - the empty spaces in QTabBar (central widget and stacked toolboxes) > - The status bar > - Bottom docked toolbox > > The status bar is not customized with QSS. > > As this had been observed only on my windows 7 development machine, I > initially thought of a bug on my system related to messed up GPU drivers. > But has also been reported by my customers now, under windows 10, on a > clean system. > > Actual question : Is this already identified as a bug? I could not find a > related entry in the bug tracker but this is not easy to find > > I will try getting a screenshot of the issue along with the equivalent > "normal" display > > Thanks in advance, > > Etienne > > > ___ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest
[Interest] qdoc: dynamically change index file's URL
Hi, currently I use qdoc for my custom project and link against Qt classes with --indexdir + depends. This is working fine, however, the URLs in the Qt index files (from the default Qt installer) are "http://doc.qt.io/qt-5;. Now I want to create my documentation to use inside Qt Creator and thus the URLs should be like "qthelp://org.qt-project.qtcore/qtcore/". Is there any way to do so from _inside_ the qdocconf file since I do not want to alter the original Qt index files. Thanks Lorenz ___ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest