Questions tagged as 'qt'

0
answers

Problem in the websocket qt and javascript

Hello, I have a webview component, in qt, on it I load an html page. In linux it works perfectly ... On windows already the websocket stops and starts and can not start ... Does anyone have any idea how to solve this problem? Edit: Rescue thi...
asked by 02.02.2016 / 22:00
0
answers

How to enable vertical scrollbar in qwebview in python?

I need to enable scrollbar in a widget qwebview , and put the automatic scrolling, but I did not find any information on how to do this in python. I tried to do this: self.qwebview.setVerticalScrollBarPolicy(Qt.ScrollBarAlwaysOn)...
asked by 05.01.2016 / 17:30
1
answer

As I call a method of a class of type QtGui.QMainWindow, inside another class of type QObject in python

I have a class: class MyWindow2Class(QtGui.QMainWindow, form2_class): Inside the init of it I have this code snippet: self.scr = ScriptManager(self) self.qwebview.page().mainFrame().addToJavaScriptWindowObject("obj", self.scr) self...
asked by 03.01.2016 / 22:17
1
answer

QML Access the image gallery on iOS and Android

I'm developing an app for iOS and Android and I'm having some difficulty accessing galeria de images of devices with QML. I need to list the image gallery images in a GridView I've been trying to use QStandar...
asked by 18.11.2015 / 19:06
1
answer

Format string qt html charset

I have the following string: QString str="Macarr & # x & 3; the integral. (I put space between all characters of the special character if it would not be visible and would appear A with the uncle "ã") and wanted to format it so that it lo...
asked by 11.11.2015 / 00:40
0
answers

QML Camera does not stay FULL SCREEN

I'm developing an application that requires the front camera to occupy the entire background screen, style the snapchat application, but using QML the camera with spacing at the top and bottom of the camera. QML Responsible for the camera: im...
asked by 08.10.2015 / 22:22
1
answer

Possible to implement KeyEvent in a class that inherits from Qwidget instead of QFrame

My class: class Jogador : public QWidget { Q_OBJECT public: Jogador(QWidget* parent = NULL); void draw(); void paintEvent(QPaintEvent* event); void keyPressEvent(QKeyEvent* event); private: int x,y,w,h; QVBoxLayout*...
asked by 30.05.2015 / 22:10
1
answer

Why can not I capture KeyEvent in my program? Problems is not the main?

#include<QApplication> #include<tabuleiro.h> #include<jogador.h> #include<QWidget> int main(int argc, char* argv[]){ QApplication app(argc, argv); QWidget window; Tabuleiro t(&window); Jogador j(&window); windo...
asked by 01.06.2015 / 13:58
1
answer

Reference loss per parameter

I'm having the following problem, when I run the insereOP() method, the instances maq and cli lose their data. So when I call the atualizarOP method, the client and machine information does not exist, generating an...
asked by 10.09.2014 / 15:11
1
answer

sqlcipher compile plugin on windows

How do I compile the plugin in windows? I'm doing this: Git Clone sqlcipher - C:\sqlcipher installed MINGW32 - C:\MINGW32 installed msys - C:\MINGW32\msys.0 installed tcltk-8.4.1-1 -...
asked by 03.04.2014 / 18:19