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
Does anyone know if an offline version of the latest PyQt4 and PyQt5 documentation is available somewhere on the Internet? I don't want to depend on whether I have a working Internet connection or not. I can of course grab it using wget or similar but I would prefer if I can do that the "normal" way (a PDF version would also be nice).
Note: Mny things are covered by the official Qt documentation (C++) however there are also things specific to Python. An example for such a treat is the fact that in C++ there are functions which have multiple overloaded versions while in Python such a thing is not possible. I find myself ever so often looking into the PyQt docs to see how this and that Qt thing looks like in Python.
The PyQt source releases contain the documentation in doc/html.
You can also use the Python builtin help() on a PyQt object - often that way you'll get more relevant information (like the exact Python signatures) compared to the documentation.
Qt comes with a dedicated program, called Qt Assistant, that can be used to browse the documentation off-line. I use it regularly. It's C++ only obviously.
I don't know where it is installed on your system but it may very well be in the same directory as the Qt Designer.
Related
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
How to make/create a GUI (Graphical User Interface) in Ada programming language? It is possible?
In Python, you can use tkinter to make a window form.
I know of 5 GUI frameworks for Ada (see the Awesome Ada List for some of them)
GtkAda
Gnavi
Claw
Gnoga
QtAda
GtkAda you can get for free from AdaCore. Claw can be purchased. I'm not familiar with Gnavi so I cannot comment on it much. I've spent more time working with Gnoga and like both it and GtkAda. GtkAda is a native framework, but I like Gnoga because you can provide the GUI via webbrowser (so more easily cross platform) or you can integrate it with a native platform (including GtkAda, Electron, etc.). I'm not familiar much with QtAda
Also note, that if you can find another C or C++ GUI library, you can write bindings for it in Ada (it has a very good external language interface).
You could try Tcl Ada Shell, which supports Tk so should, I expect, be close-ish to tkinter. Personally I find it easiest to develop the user interface in Tcl/Tk and build the model in Ada.
Or there’s GtkAda - can be obtained from AdaCore for Linux, Windows (I assume you’re running the 2018 Community Edition?)
I would add my support for Gnoga. I like it because
It is not a binding; it is a GUI written in Ada.
It is completely portable, because it uses a browser to provide the GUI
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
Having done a number of projects in python and node.js, I am missing an interactive interpreter/console in dart that those languages, as well as other like ruby, provide so nicely.
Tests, logging, debuggers, profilers are the instruments we use in application development while digging into issues or trying things out. But in scripting, in server side scripting, it is the interpreter that is the primary tool to try things out. Having experience from both, software development with a long list of languages and a number of scripting domains (python and bash for admin functions, node for http request evaluation, R for data analysis etc.), I fail to see how, if server side scripting is to be taken seriously, any language not providing an interpreter/console can hope for any sensible share of the pie.
Is dart not intended for scripting or am I just missing something obvious?
PS. There is (was) one project addressing the issue, but it did not see any development for the past 3 years: https://github.com/sam-mccall/dart-console
As far as I know the REPL for the Dart language was not originally planned by the development team. The discussion on the REPL took place back in 2012 with no real outcome:
Github: Dart needs a REPL
So the answer is, there exists no interactive interpreter/console for Dart and it does not look like there are any plans to create one.
Observaory, Dartium, and WebStorm debugger allow to interactively execute Dart code.
REPL for dartlang
Is there anyway to invoke a Dart REPL on a website, when using Dartium?
Is there an "Immediate Window" in the Dart Editor / Debugger?
Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 10 years ago.
Improve this question
I want to start a cross-platform project. I had my researches and now I am almost certain Qt is the right deal. There is a big obstacle here though: licensing.
I want to sell my project and I also don't want to give out any source related to my work or pay for a license. I checked and noticed Qt offers both commercial and open source solutions. I have heard too many conflicting sayings on Qt licensing which confused me a lot. Some say that even if I use LGPL version of Qt, I still need to submit my code. Is this true?
Can someone give me a simple explanation on Qt licenses and tell me if I can sell my application without any kind of restrictions at all or not? Would anyone tell me any other equivalents to Qt for cross-platform development without any restrictions?
Just dynamically link to Qt. If you dynamically link to LGPL libraries, there's nothing to worry about.
If you statically link to them, you can just distribute your object files (not your source code), and you'll be fine.
The idea of the LGPL is that the end user has to be able to replace the LGPL library with a version they want. Dynamically linking to the LGPL library lets you do that, as does statically linking and distributing your object files. So long as you do this, you can sell your closed source program all you want.
Of course, there's more to the LGPL than just this, but that's the relevant part.
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'm writing a Qt application that uses a QWebView to host the UI. Similar to the ImageAnalyzer example in the Qt SDK samples.
I would like to test this UI using an automated method. A scripting interface like Selenium Web-Driver would be preferable.
Any recommendations/examples on how to do this?
Edit:
I'm looking for a solution can identify HTML elements via classes and id's so that it's maintainable and robust to change.
Tools like Sikuli (which are appearance based), don't satisfy this criterion. Note: I believe those are great for quick one-off scripting, they just don't work very well across many different platforms/configurations and over time for my purpose.
There is a WebDriver implementationfor Qt: https://github.com/cisco-open-source/qtwebdriver
Using Selenium tests and this WebDriver you can automate QtWebkit, widget and QML applications
So, I'm not sure this would satisfy your "Qt application that uses a QWebView" requirement, but when you say "I'm looking for a solution can identify HTML elements via classes and id's so that it's maintainable and robust to change." I can think of WatiR (which is a "browser driver").
It's open source so perhaps you could adapt it to drive your application.
There is also a .Net version called WatiN, but then you are restricted to Windows.
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've decided to rewrite most of my distributed server programs in Go to replace the existing c# based ones.
Can someone point me to a Go TCP libs or a Go general network programming lib.
Thanks
Edi: ... and how do i complile this code is visual stuido 2008? Thanks
Here's the official API docs for the net package.
Regarding how to compile: See the installation guide. As of yet there doesn't seem to be an obvious way to compile in VS:
The Go tool chain is written in C. To
build it, you need to have GCC, the
standard C libraries, the parser
generator Bison, and the text editor
ed installed.
So in order to develop on Windows, the easiest route would be to use cygwin.
Depending on the needs of your distributed software, you may also want to check out the rpc package which makes it quite easy to register an object's public methods and call them remotely.