Is it possible to use the Qt Property Framework with PySide? If not, do you have hints on how to achieve similar behaviour using Qt MVC Framework?
Even if this qestion is a bit old...
Yes, you can use it quite well. Have a look here as example. AFAIK there are efforts to use Python #properties as Qt properties as well.
Related
I am started to implement the microsoft ribbon interface on the qt library but finally understand that it is too complex task for me.
So I decided to use native mfc ribbon inside my application.
But the main question is how to do this?
Qt does not have native "MFC Ribbon", but the closest thing available is QTabWidget. You can use CSS stylesheets to make it look somewhat like MFC Ribbon. If you want exact look of MFC Ribbon, then you need to reimplement paintEvent and draw the widget as you need.
Some CSS Examples to get you started.
1) https://gist.github.com/espdev/4f1565b18497a42d317cdf2531b7ef05
2) http://doc.qt.io/qt-5/stylesheet-examples.html#customizing-qtabwidget-and-qtabbar
There is a pre-built library called QtitanRibbon, although it's not free take a look into the free trial version.
Also check out this answer
I don't do a lot of Qt programming so this may sound like a silly question, but what happened to QListViewItem in qt4?
I have this application I wrote some time ago in qt3. I changed that to qt4 using the aptly name "qt3toqt4" program (all this on a Fedora platform).
Internally it seems to change a lot of classes from QClass to Q3Class (probably to provide some sort of backwards compatibility) and then compile it with qt4. I had some problems with it today (to do with reading stdout from a QProcess, but that aside) and I decided to simply rewrite the application in qt4.
Now for the problem - I use a QListView and to this I add loads of QListViewItems in a tree like structure. Something like this:
But that doesn't seem to be available anymore in qt4. And I can't find any examples that provide this behaviour either. Is there a way to do this in qt4? To maybe make it more complicated - I used my own QListViewItems (derived from QListViewItem) ...
The widget you are looking for in Qt 4 is QListWidget and its item class QListWidgetItem. It pretty much corresponds to the QListView widget in Qt 3 with a classic item-based interface for adding and removing items. You can subclass QListWidgetItem just as you subclassed QListViewItem in Qt 3.
Just to complete this question. It is QTreeWidget and QTreeWidgetItem that implement this behaviour in qt4.
I started a similar question several months ago Qt and OpenGL for game development
At the moment I am not really sure what I should do. I often read that it is not recommended to use Qt for games, instead GLFW would be better suited for this task. I am not completely sure why but I think I will be on the safe side if I choose GLFW.
But I want to use Qt for the editor. The editor should be WYSIWYG, like many other game engines are. So that you can jump into the game at any given time.
Is it possible to use Qt and GLFW in the same project?
Is it possible to use Qt and GLFW in the same project?
No. But why would you? You can use GLFW for your standalone engine and Qt for the editor. It's even possible to replace the QCoreApplication event loop with something custom. Just make sure that your code is not too tightly coupled to a certain framework.
is there any way to use ArrayCollection (from mx.collections.*) in Flash CS3/4/5? How?
Not sure if you can use the Flex libs in Flash. For collections in AS3, though, check out this open source project. It rocks.
This question was asked before. It seems that there is:
How can I use ArrayCollection like feature in ActionScript 3.0 Flash IDE?
Hey there, I'm looking into using Mate, but the projects I work on do not require the majority of the functionality of the Flex framework. My workmate said that he heard of an Actionscript version, but I can find no information on the main site about this, only that they have removed some dependencies on the Flex framework.
Does anyone know if their is an effort to move Mate towards a state that it can be used without the Flex framework?
Mate uses tags heavily, therefore it has a dependency on Flex. There are some ways to use tags without the Flex framework, but there are places in Mate where we use framework classes. It would take some effort to try to remove those dependencies, and while it is something that we want to investigate, I don't think it will happen soon, unless somebody else takes over that task :)