I cannot see me sprites in the design view. I see kind of a splash screen with Qml2Puppet, but what for? The more I got to see is this:
How to see the sprites on design view in newer qt versions? In previous version (5.xxx) I was able to see directly, in new one (7.xxx) cant.
I cannot see text or grab elements neither.
Related
I have seen some applications that start up with a splash screen with a next button that when click makes another page roll in from the right. On those pages is usually a next or back button that lets a user go back to the first screen or proceed to the next.
I've not seen anything in the Xamarin examples on how to do this.
Would appreciate if someone could provide an example or give me some suggestions as to how I can do this.
Thanks
What you're looking for is CarouselView. It doesn't come bundled with the stable Xamarin.Forms installation so you'll have to download it separately or add through NuGet.
Here's the NuGet and the GitHub repository.
With the CarouselView, you can have multiple "pages" in the style of splash screen/onboarding screens that are popular these days.
Here's an article on how to use the control: https://blog.xamarin.com/flip-through-items-with-xamarin-forms-carouselview/
Edit: On another thought, I'd probably use the CarouselView implementation by GitHub user alexrainman. It has more features, is better tested and more mature.
Is there any way to layer a control on top of another. I wanted to put one label on top of another to build out a word. I am using Xamarin Studio and programming for the iWatch, watchOS2.
Unlike UIKit, there is no z-index, or hierarchy, in WatchKit for views. As far as I know, the closest you can get to this is to use a WKInterfaceGroup with a custom background. The hard way, which may get you the result you are looking for, is to render an image and display it.
Many OS X apps use some sort of iconized-tabs in the chrome of the menubar for their preference dialogs. For an wxPython app I would like to create such a preference dialog. Dropbox appears to be using wxPython (see also screenshot), so how would I create such a dialog myself?
Update: After fiddling with wx.Frame.CreateToolBar, the frame begins to resemble the original. However, the style of the radio button (which I probably need for a wx.Notebook) is not what it should be. See also the gradient and borders of the 'General' tab in the image above. (source code)
Dropbox doesn't use wx I'm pretty sure, but you can get this native toolbar with wx. You have to use ctypes and load in some core and carbon frameworks.
There is an article in the wx wiki on how to do it
I think what you want is a custom wx.Dialog with a wx.Toolbook in it. See the wxPython demo package for an example or you can read my tutorial: http://www.blog.pythonlibrary.org/2009/12/03/the-book-controls-of-wxpython-part-1-of-2/3/
UPDATE: I'm not sure if this still applies, but there is a wiki entry on something that sounds a lot like what the OP wants: http://wiki.wxpython.org/NativeMacOSXToolbarSelection
I'm working on a simple app to learn Cocoa and I've encountered a little rendering bug with the segmented controller.
As you can see here, the view does not display fully opaque. I've looked around to try and find a solution to this to no avail. I did at one point think that maybe this control wasn't supposed to be used in this way but a quick browse through the system preferences yielded several views using this technique.
The control you are looking for is actually NSTabView. Docs here:
NSTabView
Update
Luckily, the code that WebKit uses to make this control draws onto a canvas using basic drawing operations, so it shouldn't be too hard to convert into a Cocoa control. This is what I have so far:Development progress so far http://img413.imageshack.us/img413/8418/capturedcran20100623074.png
I'll update here again once I get it finished.
Original question
I don't know what to call this sort of control, so I'll show pictures (from the iTunes dialog for a media player and the WebKit Web Inspector's Resource panel):
iTunes showing disk usage using this control http://img13.imageshack.us/img13/8245/capturedcran20100622144.png
Google Chrome's use of the control to show resource download speed http://img695.imageshack.us/img695/8245/capturedcran20100622144.png
I'm interested in using this sort of control in my Cocoa application. I've searched all over the Internets but haven't found much, seeing as I don't know its name - is there some sort of shared component that I can use for this?
Thanks!
On Safari it's implemented using javascript, see: SummaryBar.js.
That's a totally custom control, and I don't know of any open source counterpart (other than the one inside the Webkit source). Would you care to provide one? :)