问题标签 [qaxwidget]
For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.
qt - QAxWidget 不显示
我使用 QWidget 显示作为对话框。并将 QAxWidget 作为子小部件。但是如果我将父小部件设置为透明,则 QAxWidget 将不会显示。
如果您使用其他小部件,我会尝试,它会显示,只有 QAxWidget 不显示!我怎么能解决这个问题?
c++ - 是否可以在 Qt QAxWidget 中关闭 Internet Explorer 兼容性视图?
我正在使用 QAxWidget 通过 Internet Explorer 11 显示页面,它向我显示了“兼容性视图”中的所有页面,尽管它们没有在 Internet Explorer 本身中设置。
是否可以将其关闭,并让组件以“正常”模式显示页面,即让底层 Internet Explorer 11 像正常启动时那样将自己签名为 Firefox(即不是通过 QAxWidget / ActiveX Control )
谢谢!独山
c++ - 将 QAxWidget 添加到空项目时出现链接器错误
我有一个空项目,我在 Qt Designer 中添加了一个 QAxWidget。在添加 QAxWidget 之前编译的项目,但现在它失败并出现此链接器错误:
我是否应该更改 .pro 文件中的某些内容,或者添加一些模块?
python - PyQt:如何使用 QAxWidget 通过引用发送参数
我正在尝试使用 PyQt 与 Python 中的 ActiveX COM 对象对话。此方法适用于 Python:
但是,我不能通过引用发送参数。从文档中,我希望调用的方法是:
基本示例代码是:
我假设 Python 中使用 ctypes 的等效代码应该是:
但num
永远不会更新。
Python 中的等效代码或解决方法是什么,以及如何int&
使用 Python 发送和稍后读取类型的参数?
c++ - QT 中的未知模块:axcontainer
好吧,我无法让 qt 识别 axcontainer,我需要使用 QAxWidget 来显示 .doc,但我正在为此苦苦挣扎。这是我的 .pro
在这里我需要 QAxWidget
我正在使用 QT 5.4 版,我尝试过使用 CONFIG += axcontainer 但同样,我是否必须安装一些东西
qt - Qt Activex MainWindow on TabWidget becomes unresponsive
I have a very strange problem. The application is based on Qt C++. There is a TabWidget whose tabs are created dynamically. The tab contains QtMainWindow in ActiveX widget. When multiple apps are started, the selected one works fine. But when another tab is selected, it becomes unresponsive. When I minimize the Application and then maximize again then the tab starts working fine. I tried with setFocus, activateWindow, showNormal and setActiveWindow but nothing is working.
Can somebody help me in this issue?
c++ - 使用 QAxWidget 在 qt 中记录已完成的信号
我在 /examples/activeqt/webbrowser 中使用 qt 内置示例,并且我正在尝试使用 DocumentComplete SIGNAL。我的目的是在 QAxWidget 中使用嵌入式 Internet Explorer,并在 DocumentComplete 之后弹出一条消息(带有来自网站的内容)。NavigateComplete 信号对我来说不够好......
代码可以在这里看到:qt Web browser Example
配音员说:没有这样的插槽 MainWindow::on_WebBrowser_DocumentComplete(IDispatch*,QVariant&)
qt - QAxWidget 从客户端应用程序中窃取焦点
调用更改 QAxWidget 的 GUI 的函数会使调用者失去焦点。我怎样才能避免这种情况?
python - PyQt5 QMainWindow/QAxWidget线程问题
我想在QMainWindow
和之间有不同的线程QAxWidget
。据我所知,QMainWindow
应该有MainThread。所以我写下代码如下。
ocx(AcitveX)
有很多信号...
ocx
当我写'line★'时出现没有那种信号的错误
发生了什么样的问题?
ocx
应该在MainThread中进行吗?