Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
    lord_fomo
    @goodboy:matrix.org
    [m]
    @cmaureir: fair enough, i'm just coming in from having dug deep in the graphics view framework
    so, a much different approach then that
    but think i'm starting to get it šŸ˜‚
    if you're trying to pull out rows of data from a QStandardItemModel what's the normal recipe?
    seems to me you have to do all this manual schema mapping on your own but just want to make sure that's not doing it wrong
    From IRC (bridge bot)
    @FromIRC
    <IanLiu> I have this simple script that changes a layout when a button is pressed: http://ix.io/2WYX . The problem is when I click the button, the layout doesn't seem to change, only when I resize the window it does update to the new layout. Any hints why this is happening?
    CristiƔn Maureira-Fredes
    @cmaureir
    @goodboy:matrix.org you might want to have a look at QML, since it provide a declarative way of creating the interfaces, and might feel 'similar' to other graphics framerworks.
    lord_fomo
    @goodboy:matrix.org
    [m]
    hmm yeah i'm not so much after that actually
    everything i'm doing is very modal
    and am not too too worried about consistency across many widgets
    well at least not yet
    lord_fomo
    @goodboy:matrix.org
    [m]
    ok size hinting a QTreeView i'm so lost šŸ˜‚
    lord_fomo
    @goodboy:matrix.org
    [m]
    there seems to be no rhyme or reason to how big the view is when i show it
    lord_fomo
    @goodboy:matrix.org
    [m]
    arrggg
    i don't understand
    Sivan GrĆ¼nberg
    @sivang

    Hi all. I'm using PySide6 == '6.0.2' and getting an import error trying to import QtWebKit:

    In [5]: from PySide6 import QtWebKit
    ---------------------------------------------------------------------------
    ImportError                               Traceback (most recent call last)
    <ipython-input-5-297f908da156> in <module>
    ----> 1 from PySide6 import QtWebKit
    
    ImportError: cannot import name 'QtWebKit' from 'PySide6' (/Users/sivan/VirtualEnvs/venv3/lib/python3.9/site-packages/PySide6/__init__.py)

    It's missing from the module dir:

    (venv3) sivan@darwin:~/VirtualEnvs/venv3/lib/python3.9/site-packages/PySide6$ ls -la | grep -i qtwebkit
    (venv3) sivan@darwin:~/VirtualEnvs/venv3/lib/python3.9/site-packages/PySide6$ 
    `

    PySide6 installed via pip into a virtual env, anything out of the default need be done to get QtWebKit there as well ?

    CristiƔn Maureira-Fredes
    @cmaureir
    @sivang you were reaaally away from the proejct it seems :)
    webkit was deprecated loooooong time ago
    it was not even a part of the initial "official release" for 5.12
    Sivan GrĆ¼nberg
    @sivang
    I was! @cmaureir
    CristiƔn Maureira-Fredes
    @cmaureir
    people were encourage back in the day to use QtWebEngine, which will hopefully be available in 6.2
    Quoting:
    "Qt WebEngine supersedes the Qt WebKit module, which is based on the WebKit project, but has not been actively synchronized with the upstream WebKit code since Qt 5.2 and has been deprecated in Qt 5.5. For tips on how to change a Qt WebKit widgets application to use Qt WebEngine widgets, see Porting from Qt WebKit to Qt WebEngine."
    Sivan GrĆ¼nberg
    @sivang
    @cmaureir I was kind'a counting on it for some sort of a research project - a hybrid app combing several QtWebKit's view
    *views
    sivang @sivang reads and groks
    Sivan GrĆ¼nberg
    @sivang
    What would be then a potential solution to use to display web pages at the moment? (i.e. until 6.2 )
    swathichandregowda
    @swathichandregowda:matrix.org
    [m]
    Hello, everyone I developed one exe using pyside2. I want to add radial progressbar/circular progressbar in the mainwindow.Main window already contains some controls in it.So is there any way to draw radial progressbar using pyside2?,it helps me a lot.Thank in advance
    From IRC (bridge bot)
    @FromIRC
    <The-Compiler> @sivang, Qt 5.12 or 5.15 and QtWebEngine
    Sivan GrĆ¼nberg
    @sivang
    ok thanks <The-Compiler>
    luzpaz
    @luzpaz
    is there a way to put animated gifs within a tooltip ?
    Sivan GrĆ¼nberg
    @sivang
    hey all, how are things going for you this morning/evening/noon and what interesting PySide projects are you working on? (this includes obviously the PySide work itself ;) Good morning from Tel Aviv
    Luc Touraille
    @stilllman

    Hey there! I'm working with a qt and qt for python built from source (5.15.3) and I hit the following assert in Debug on Windows when importing any PySide2 module:

    Assertion failed: _PyGCHead_REFS(gc) != 0, file c:\a\18\s\modules\gcmodule.c, line 277

    Any idea what could be going wrong?

    From IRC (bridge bot)
    @FromIRC
    <delvian> Hi All. Does anybody know of a good QtQuick/QML tutorial?
    <delvian> The official docs seem a bit unorganized to me and has a few broken links. And some of the examples don't work.
    Sivan GrĆ¼nberg
    @sivang
    <delvian> this is a tutorial I really liked by a cool guy from ICS: https://www.youtube.com/watch?v=Zna1KHQj_8Y
    delvian: ^
    From IRC (bridge bot)
    @FromIRC
    <delvian> @sivang: Thanks :ā )
    Sivan GrĆ¼nberg
    @sivang
    delvian: you're most welcome, this has a nifty little booklet with the slides and some extra commentary they gave us there, but I don't know if there's a PDF version of that somewhere but the lecture is good (note there's also part 2 so somewhat comprehensive)
    luzpaz
    @luzpaz

    is there a way to put animated gifs within a tooltip ?

    (repost)

    CristiƔn Maureira-Fredes
    @cmaureir
    hckjck0
    @hckjck0:matrix.org
    [m]
    I want to implement a list of elements which are able to hold widgets. Would QAbstractItemView be the way to go?
    Yesserdz
    @Yesserdz
    Hi Developers i want a clear example with an explanation of how to link QSqlTableModel and python and qml and fill in qtableview in qml
    Till Stensitzki
    @Tillsten
    Make one?
    luzpaz
    @luzpaz
    @cmaureir :+1:
    From IRC (bridge bot)
    @FromIRC
    <The-Compiler> sahumada: I don't think so, those examples were taken from Qt 5
    CristiƔn Maureira-Fredes
    @cmaureir
    exactly, webengine should be available for 6.2. if you have a dev qt built with support for qtwebengine it should work, but afaik it's WIP
    From IRC (bridge bot)
    @FromIRC
    <shimbles> do you guys have any instructions for building qt + pyside from scratch