JavaFX: Rotation based slider/selector (Radio-Knob) [closed] - javafx

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 4 years ago.
Improve this question
I was playing around on the JavaFX Scene Builder 2.0 today, and noticed that the rotation options for various controls have a circular 'slider'.
Image: http://i.imgur.com/kE6N7Xo.gif
I really like this, and I want to use it in a small project I'm working on, but I don't think it's a standard javafx control. It looks as though it's been designed to fit the look and feel of JavaFX, and being that it's part of a piece of software developed by the guys behind Java, I would assume it's got to be somewhere!
Do you know whether this is included in the standard javafx libraries? I'd rather not have to make it myself if I can help it!
Thanks for your help!

SceneBuilder 2.0 is open source with a 3 clause BSD license (which is liberal as far as the licensing spectrum goes).
You can find source for the "RotateEditor" control in this bitbucket mirror:
RotateEditor.java
RotateEditor.fxml
The SceneBuilder source is split into two parts - the SceneBuilder application and a separate support library called SceneBuilderKit. If you download the source from bitbucket and compile the SceneBuilderKit, you should be able to use the RotateEditor (and a bunch of other features that SceneBuilder provides). I'm not sure if you will be able to use it directly in your application without modification or if you will need to make some small changes to successfully integrate it.
Build instructions for SceneBuilder are on the open-jfx wiki, but you probably not need to build the whole of JavaFX to get what you need.
If the RotateEditor is not in the ControlsFX project, you could consider re-packaging it and donating it to ControlsFX as it would be nice to have such a control in a dedicated controls library.

Related

Using CSS outside of the browser [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 4 years ago.
Improve this question
Is there a way to use CSS outside of the browser? Let's say I wanted to use it on creating desktop apps for Windows, Mac OSX or any other operating system.
Yes CSS is Often Used Outside of a Browser
Yes. When people develop with apps such as React, we use CSS and SCSS just like you would on a webpage.
Below is a sample of using CSS with React using JavaScript
Your question is very unspecific regarding e.g. the programming language you want to use. There are a lot of frameworks out there used to create desktop frontends. Some of them also use CSS-like notation to define their look, such as JavaFx.
But if your target is to create a webpage that runs in both browser and as native desktop app, I guess the best way is to run a browser engine inside your app.
Edit to answer your comment: It's not dependent on the programming language but related to the framework you use. Every framework works a bit differently here but some use the CSS notation. But as StackOverflow is not the place to ask for a list of frameworks I would recommend you to do some research on your own.

Visualizing a 3D scene in Qt [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 5 years ago.
Improve this question
I need to visualize 3D models consisting of ~100.000 triangles in a Qt application. Colors, zoom in/out and rotation are required. The solution must work under Linux and Windows.
Should I use OpenGL directly or would you recommend using a certain library? There are game engines (ClanLib,...), but I'm not sure if they are appropriate at all. A good point to start would be appreciated.
You should consider the QtOpenGL module that comes with Qt. Take a look at the provided examples and look on YouTube for Qt OpenGL to find a few screencasts.
In Qt 4.8 that was just released a few days ago, QtOpenGL added support for multi-threading.
You can use OpenGL calls directly in a QGLWidget, so don't think that you may be constrained by Qt's OpenGL support.
You can do this yourself in QtOpenGL but you might find using a scenegraph is easier.
Open scenegraph plays nicely with Qt

Automated Testing tools for HTML5 Canvas [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 2 years ago.
Improve this question
I'm looking for a tool to do some automated GUI testing on a HTML5 canvas component we're developing. Basically I'm looking for a tool that is able to record the clicks and events on the canvas component and is able to replay those events.
So far most of the testing tools like Telerik WebUI Testing Suite, Selenium, TestSwarm, qUnit, Jasmine, Hudson seems that they don't fully support HTML5 canvas testing.
Would you guys know a testing tool that already supports that? If not, would you know how companies are doing automated testing of HTML5 canvas?
In Telerik Test Studio latest release, we have added support for many of the HTML5 tags like Canvas, Audio and Video tags. All the HTML tags are accessible using code and are under the:
ArtOfTest.WebAii.HtmlControls namespace. You will find HTML5 controls like:
HtmlCanvas, HtmlAudio, HtmlVideo, HtmlMeter and all the expanded HtmlInput types like HtmlInputEmail, HtmlInputSearch..etc.
For the HtmlCanvas, you actually have access to the 2D Context of the control. So you even manipulate it and can do things like:
HtmlCanvas.Context2dRotate(), HtmlCanvas.Context2dTransform()...etc.

Design tools for creating skins for Flex 4 components [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 6 years ago.
Improve this question
I'm looking for a tool to create just the skins for different kinds of Flex 4 components. Are there any?
I'd like to be able to create the components myself and have the designer/artist do the skin, but I don't think they'd like the idea of doing them by writing MXML files.
Flash Catalyst is meant to be that..
it is however - imho - quite hard to use it in a practical environment where there is a workflow like
design > dev > design update > dev > design update > dev
since Flash Catalyst really only works one way.
It's a good attempt from adobe but it's not quite there yet.
You can use it however to do the design slicing yourself, export the result to a separate project and import into your current flex project.
Get a trial and see for yourself.
I don't know of any other "tool". You can export your graphics from the design document and import them as assets manually otherwise.. but that gets tedious quickly..
I'd be interested to know if anyone has a better solution..
Check out the new version of Flash Catalyst Panini on Adobe Labs. It has round trip and allows you to use your own custom component from Flash Builder. Also search for the post Jailbreak for Flash Catalyst as this will show you how to work easily between Flash Builder and Flash Catalyst.

Is there a good source for 3rd party QT GUI controls? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 7 years ago.
Improve this question
I have tried to find them through Google but haven't had much luck. I know the number of 3rd party controls is not as big as .NET or Java, but surely there are some out there better than what comes with the library?
Qwt is a source for graphing and technical components and Solutions Catalog has the property browser as well as many other useful widgets.
Also available are the Embedded Widget Demos, ofi-labs, and qt-labs.
ofi-labs is by a former Qt employee, the others are official.
Edit: Almost forgot, diagramming is covered by this example: GraphicsView - Diagram Scene
free: qt-apps.org
proprietary: qt-prop.org
there are Widgets and Components categories
Look at the nice Qt Property Browser/Editor: http://doc.trolltech.com/solutions/4/qtpropertybrowser/index.html
It's not exactly third party, but take a look at the Qt Solutions Catalog. Qt Solutions has been discontinued, but there is an archive.
There's also wwWidgets, although I've never had cause to use anything it provides.
For a property editing widget, see this SO question.
I doubt you'll find a general purpose diagramming widget that works exactly the way you want it to. You're probably going to have to do some work yourself on this one. To get started, take a look at The Graphics View Framework.
Take another look at the lists of widgets and classes Qt provides. There's an awful lot there, and I rarely find Qt to be deficient. When I need something special, it's usually not too hard to build a custom widget that does what I need.

Resources