| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
| |
- Port away from QDesktopWidget
- Use QFontMetrics::horizontalAdvance() instead of width()
Change-Id: I5d721fa574356a27e414545d6b9b2d28d400080b
Reviewed-by: Oliver Wolff <oliver.wolff@qt.io>
(cherry picked from commit 55b91dc4714d36d457fbfa32bc6b412415362430)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
|
|
|
|
|
|
|
| |
Remove ugly C-style cast and add Q_UNUSED().
Change-Id: Ia6ec8202ef2a5ad44a05c4f4bb68ed5936381f53
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
|
|
|
|
|
|
|
|
| |
This eliminates warnings about float truncation and increases
readibility of the code.
Change-Id: I9fcae5a556128a31a508613289772128a908a3bb
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
|
|
|
|
|
| |
Change-Id: I81b1b2b251a3ffca2f925d5d61f88ac71728ca2b
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
|
|
|
|
|
|
|
|
| |
Prepare for migration to Qt 6 by using QVector where possible.
Otherwise, use auto or typedefs like QVariantList.
Change-Id: I6d385efe1a45a0519cf4bb06a1f6d1ea869e890e
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
|
|
|
|
|
|
|
|
| |
This method has been deprecated and does not have any effect.
Task-number: QTBUG-76491
Change-Id: I001718cc48a2d8ba5caf81a66511814d2ff87ba4
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
|
|
|
|
|
|
|
|
|
|
| |
- Add override
- Use "= default" for trivial constructors/destructors
- Q_DISABLE_COPY_MOVE to delete move constructors and assignment
Change-Id: If773ad8c092ab8000b268c4231f7f27e5f484e56
Reviewed-by: André de la Rocha <andre.rocha@qt.io>
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
|
|
|
|
|
|
|
| |
Apply Fixits by Qt Creator with some amendments.
Change-Id: Ia47cee2d55432ddc14635aa593c52d80ab39cc82
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
|
|
|
|
|
|
|
|
|
|
|
| |
Fix warnings emitted by clang, use default constructors where
applicable.
Remove some unused members.
Change-Id: I287ffa4d884be253ec5272e4266a1645376e7235
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
Reviewed-by: Oliver Wolff <oliver.wolff@qt.io>
|
|
|
|
|
|
|
|
|
|
| |
The DISCARDABLE attribute is only supported on 16bit Windows, and is ignored for 32 &
64bit applications. Usage can therefore be removed to simplify the sample code.
Microsoft doc: https://docs.microsoft.com/en-us/windows/desktop/menurc/common-resource-attributes
Change-Id: Ib84217a79cb726b6c1355107e6b254033de515fe
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
|
|
|
|
|
|
|
|
| |
Also, convert tabs to spaces. Done to simplify and make all DEF files within this repo
identical.
Change-Id: I9c97da9c09686ab6bd761722e08e856dfffe3b1e
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
|
|
|
|
|
|
| |
Fixes: QTBUG-65661
Change-Id: I3f82bd3428c4a19f80864c376bda5d23b92c2896
Reviewed-by: Venugopal Shivashankar <Venugopal.Shivashankar@qt.io>
|
|
|
|
|
| |
Change-Id: I1508ff6c68dc9a2f7409fd4728f3493fe1cfb0a4
Reviewed-by: Kai Koehne <kai.koehne@qt.io>
|
|
|
|
|
|
|
|
|
|
|
|
| |
The Media Player example uses the Microsoft Media Player ActiveX
control to implement a functional media player application.
This example demonstrates how a Qt application can communicate with
embedded ActiveX controls using signals, slots and the dynamicCall()
function.
Task-number: QTBUG-60636
Change-Id: Ie2f65d3d8796076b2c18d5fa561b709035a53e79
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
|
|\
| |
| |
| |
| |
| |
| |
| | |
Conflicts:
examples/activeqt/webbrowser/main.cpp
examples/activeqt/webbrowser/webaxwidget.h
Change-Id: I80775f6d355a278880d7e6044390b67a6f6a893e
|
| |\
| | |
| | |
| | |
| | |
| | |
| | | |
Conflicts:
.qmake.conf
Change-Id: Ie457478a64a28434afb3361dfc6f9478dd9c58bd
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Use new version with commercial exception.
Change-Id: I20b377176e99b80db47f41596d20192ae7d5564f
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Use nullptr, member initialization, new connect syntax, QStringLiteral, etc.
Change-Id: Ia79473ca302216f91eec6a32f670cf606761ed0d
Reviewed-by: Michael Winkelmann <michael.winkelmann@qt.io>
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
The Web Browser example is obsolete, since it demonstrates embedding
the long-deprecated Internet Explorer control, which is unable to
display any modern web site, including qt.io.
Task-number: QTBUG-60636
Change-Id: I63f3c25474fb202740a4c067d74f921d2d8dd2cd
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
|
|/ /
| |
| |
| |
| | |
Change-Id: Iaf72bd006af026255bc5cd1ecf14f187db1bcf52
Reviewed-by: Lars Knoll <lars.knoll@qt.io>
|
|/
|
|
|
| |
Change-Id: I00033e7be4103e22d0b78b079ec4bd313cd813f2
Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io>
|
|\
| |
| |
| |
| |
| |
| |
| | |
Conflicts:
.qmake.conf
src/activeqt/control/qaxserverbase.cpp
Change-Id: Ic47ed12f7acf788b923571d1e3515ececd986a19
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Added a new ActiveQt example application. The application demonstrates
the use of QML inside an ActiveQt control, running in-process.
Change-Id: I47582cf7eda665ef70f8feccdb6ed1f9e126ab30
Reviewed-by: Fredrik Orderud <forderud@gmail.com>
Reviewed-by: Andy Shaw <andy.shaw@qt.io>
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
|
|/
|
|
|
|
|
| |
Use range based for.
Change-Id: If91077be5bb13aa1447866c4243511db72d4f46c
Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
|
|\
| |
| |
| |
| |
| |
| | |
Conflicts:
src/activeqt/container/qaxwidget.h
Change-Id: Ic6e7267fc71e3ace14e75b392ad3f7cac0df41a1
|
| |
| |
| |
| |
| |
| |
| |
| | |
Subjects each *.png file that matched grep -law "sRGB" to:
pngcrush -ow -brute -rem allb -reduce -force
Change-Id: I4e19b57a70a1618d1a4d8d3e5cf1bf2394e8eee8
Reviewed-by: Topi Reiniö <topi.reinio@theqtcompany.com>
|
|\|
| |
| |
| |
| |
| |
| | |
Conflicts:
.qmake.conf
Change-Id: I06247d29c4b05020e91bb377a7f93e5374184f47
|
| |
| |
| |
| |
| |
| | |
Change-Id: Ia23dede42f669034e6601b92d04876a3777bdc6e
Task-number: QTBUG-50261
Reviewed-by: Topi Reiniö <topi.reinio@theqtcompany.com>
|
| |
| |
| |
| |
| |
| |
| | |
Updated FDL license.
Change-Id: I033ad6208bb264292af9d2641cfa54c95d81e35b
Reviewed-by: Lars Knoll <lars.knoll@theqtcompany.com>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Move class ID, interface ID and events ID COM metadata into C++
classes with Q_CLASSINFO for improved readability and
maintainability.
QAXFACTORY_DEFAULT is still documented with an example as part
of the QAxFactory class documentation. Also, it is still used in
the "testcon" ActiveX test container.
Change-Id: I48f5502809081804dc86f1d6b862da281c4cc441
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@theqtcompany.com>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
The openglax example relies on deprecated OpenGL 1.1 functions
that are no longer present in OpenGL ES 2. This leads to a
missing symbols linker error. The problem is fixed by inheriting
from QOpenGLFunctions_1_1 that provides implementations of the
missing OpenGL functions.
The GLBox destructor is also hardened with selective delete to
avoid crashing if initializeGL is not called (occurs when
dumping IDL).
Change-Id: If35539749ab76293f98a5d75944f0f393f4d2a3c
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@theqtcompany.com>
|
|/
|
|
|
|
|
|
|
|
|
| |
DEF files are required to enable symbol export when building
ActiveX controls as in-process DLLs. This makes the menus,
opengl and simple examples compatible with being built as DLLs by
just changing the project template from "app" to "lib".
Change-Id: I6702736505cd143aad9fa939620ce03a52cec6cb
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@theqtcompany.com>
Reviewed-by: Andy Shaw <andy.shaw@theqtcompany.com>
|
|\
| |
| |
| |
| |
| |
| | |
Conflicts:
qtactiveqt.pro
Change-Id: Ie6deaadc8cf69e111a0ae7ebef420b4f47e3b9a3
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
It does not make sense to register the server examples on the CI
since the registration step is slow and bound to fail if for example
the QPA plugin fails to load in headless environments.
Detect the CI environment by checking on the environment variable
JENKINS_HOME and turn off the axserver post link step accordingly.
Change-Id: I59e8170f071504ee2b141b8a38b594d5bac734c6
Reviewed-by: Andy Shaw <andy.shaw@digia.com>
|
| |
| |
| |
| |
| |
| |
| |
| | |
qtactiveqt/src/activeqt/control/qaxfactory.cpp:540: warning: Can't link to 'QAxFactory::QAXCLASS()'
qtactiveqt/examples/activeqt/comapp/doc/src/comapp.qdoc:28: warning: Can't link to 'QApplication::quit()'
Change-Id: I900d29cfb0d25352357385a77ff6198b31dc7a95
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@theqtcompany.com>
|
|\|
| |
| |
| | |
Change-Id: Ifd323d19d2f8d9f58098f904fe44321327fa9bc8
|
| |
| |
| |
| |
| |
| | |
Task-number: QTBUG-43810
Change-Id: Ide165158a226beb731e9d300df57b142cf456d5d
Reviewed-by: Martin Smith <martin.smith@digia.com>
|
| |
| |
| |
| |
| | |
Change-Id: Ifb2d18d57602260546cc8a29af221298442575ac
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@theqtcompany.com>
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Qt copyrights are now in The Qt Company, so we could update the source
code headers accordingly. In the same go we should also fix the links to
point to qt.io.
Change-Id: I2febb46d711c51eeb08f13418a4fc15ab0502f1a
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@theqtcompany.com>
|
| |
| |
| |
| |
| | |
Change-Id: I92c4df2ca8a75d6caafa1900db0730d2e0abaf07
Reviewed-by: Joerg Bornemann <joerg.bornemann@theqtcompany.com>
|
| |
| |
| |
| |
| |
| | |
Task-number: QTBUG-41130
Change-Id: I4951e2cc27d5652fd9802216511bbc3a4cdeb186
Reviewed-by: Joerg Bornemann <joerg.bornemann@theqtcompany.com>
|
|\|
| |
| |
| | |
Change-Id: I9c2d50304f8f12e8e609929c90332ae405020b62
|
| |
| |
| |
| |
| | |
Change-Id: Ib7f269cc9a4841c9477c92e2cb906a052f6c5911
Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
|
|\|
| |
| |
| | |
Change-Id: I1961b2fa015b4fc50b13379d357cb9be4af21631
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
- Change URL to qt.io.
- Save version number to settings and overwrite saved bookmarks
unless version exists (enabling further updates depending on version).
- Save geometry and make initial geometry large to accommodate qt.io
and High DPI screens.
Task-number: QTBUG-41798
Task-number: QTBUG-38858
Change-Id: I4da1d6e66135ff2867b6c678f5742767dbcb59fd
Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
|
|/
|
|
|
|
|
| |
Task-number: QTBUG-41127
Task-number: QTBUG-41130
Change-Id: I0907e92c99ed8861227e90beca579baeb25a06b4
Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
|
|
|
|
|
| |
Change-Id: I06b98ef9dbabbcdddcd77d4fd6f4400e54d90b0c
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com>
|
|
|
|
|
|
|
|
|
|
| |
Update address edit when the browser finishes loading.
Add some rudimentary bookmark/history functionality. Add relevant
default bookmarks and make qt-project.org the start page.
Handle URLs passed on the command line.
Change-Id: I21efeb5b4d2a05941407d308a96df7b024100f19
Reviewed-by: Topi Reiniö <topi.reinio@digia.com>
|
|
|
|
|
| |
Change-Id: I662e9b8fe644571fc7216a96f1dacfdc274a0e4c
Reviewed-by: Jerome Pasion <jerome.pasion@digia.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The example uses a Qt Designer form with widgets on a QToolBar
imported from Qt 3 which is not supported in Qt 4 and later.
In the code generated by uic, a QLabel is constructed passing
the toolbar as parent and added to the toolbar using
QToolBar::addWidget() which then causes a crash in Qt 4.
Move the widgets from the form into the class to avoid this.
Task-number: QTBUG-36948
Change-Id: Ia4af871ce99faf555bebc6ebde19bcae0de4d29e
Reviewed-by: Andy Shaw <andy.shaw@digia.com>
|