Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #81121
| Path | csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!news.mixmin.net!feeds.phibee-telecom.net!newsfeed.xs4all.nl!newsfeed4.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail |
|---|---|
| Return-Path | <juan0christian@gmail.com> |
| X-Original-To | python-list@python.org |
| Delivered-To | python-list@mail.python.org |
| X-Spam-Status | OK 0.005 |
| X-Spam-Evidence | '*H*': 0.99; '*S*': 0.00; 'subject:file': 0.07; 'sys': 0.07; '"__main__":': 0.09; '__name__': 0.09; 'tutorials,': 0.09; 'subject:How': 0.10; 'python': 0.11; 'def': 0.12; 'books': 0.15; '.ui': 0.16; 'code?': 0.16; 'subject:access': 0.16; 'wrote:': 0.18; 'app': 0.19; 'import': 0.22; 'load': 0.23; 'tue': 0.24; '>': 0.26; 'designer': 0.30; 'message- id:@mail.gmail.com': 0.30; 'url:mailman': 0.30; 'code': 0.31; 'doc': 0.31; 'file:': 0.31; 'skip:q 20': 0.31; 'url:python': 0.33; 'subject:from': 0.34; 'skip:u 20': 0.35; 'received:google.com': 0.35; 'google': 0.35; 'url:listinfo': 0.36; "i'll": 0.36; 'subject:?': 0.36; 'url:org': 0.36; 'so,': 0.37; 'list': 0.37; 'christian': 0.38; 'nov': 0.38; 'to:addr:python-list': 0.38; 'skip:& 20': 0.39; 'to:addr:python.org': 0.39; 'called': 0.40; 'url:mail': 0.40; 'how': 0.40; 'skip:u 10': 0.60; 'read': 0.60; 'simple': 0.61 |
| DKIM-Signature | v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:references:from:date:message-id:subject:to :content-type; bh=pVSryVZgSAKvzTabBD2qvKhZrbjXCYbCzNeD7bBhapA=; b=1IVmyQa3k/CPzgRUHY4oERq+XYmV0P55QTf3WSJQeXCRTu2vwMrwZ93pKb2zh36VZU OTlOsNKZw7RiA3OcdBzDaXoMfM5Y5bz0q7Riz/UFzdAjQRZbqjcvA5wFUDKLB2Rm/DtB dgeLsY+cHWPuuIrX1Vq6A450l3xYofZQVO/7t4hs1xots6FwGvO9VlidOEqa2IUpk4Wv uYlsl88BrTPJtTw2y3RNgXSCUK5IeuBSGW2DmvtErQmCK3sgNGzecrGx1FZLOdCwAbRy 0dx/+TBhzTZHudQ2LSWo+Mc8MSlHfD6G00oYPxgM6F1Y3dOFL44hgSrAyUPp4PYr96nk 8M/w== |
| X-Received | by 10.224.46.66 with SMTP id i2mr430906qaf.72.1416515120793; Thu, 20 Nov 2014 12:25:20 -0800 (PST) |
| MIME-Version | 1.0 |
| References | <CAAp0bGvE_4gONgiAOjW7K2XNY7cUJz5xPB7o9rGdGS=BXCwHCQ@mail.gmail.com> <546B3FE4.3050204@telenet.be> |
| From | Juan Christian <juan0christian@gmail.com> |
| Date | Thu, 20 Nov 2014 20:25:20 +0000 |
| Subject | Re: How to access Qt components loaded from file? |
| To | python-list@python.org |
| Content-Type | multipart/alternative; boundary=001a11c29e0a98113505085020b3 |
| X-BeenThere | python-list@python.org |
| X-Mailman-Version | 2.1.15 |
| Precedence | list |
| List-Id | General discussion list for the Python programming language <python-list.python.org> |
| List-Unsubscribe | <https://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe> |
| List-Archive | <http://mail.python.org/pipermail/python-list/> |
| List-Post | <mailto:python-list@python.org> |
| List-Help | <mailto:python-list-request@python.org?subject=help> |
| List-Subscribe | <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.16052.1416515128.18130.python-list@python.org> (permalink) |
| Lines | 94 |
| NNTP-Posting-Host | 2001:888:2000:d::a6 |
| X-Trace | 1416515128 news.xs4all.nl 2945 [2001:888:2000:d::a6]:58565 |
| X-Complaints-To | abuse@xs4all.nl |
| Xref | csiph.com comp.lang.python:81121 |
Show key headers only | View raw
[Multipart message — attachments visible in raw view] - view raw
**Back to the list
So, as I said the PyQt doc is using C o.0
Yes, I read the tutorials, I'll google for some books and things related.
On Tue Nov 18 2014 at 10:48:44 AM Vincent Vande Vyvre <
vincent.vande.vyvre@telenet.be> wrote:
> Le 18/11/2014 13:18, Juan Christian a écrit :
> > I have this simple code that load any Qt Designer .UI file:
> >
> > from PySide.QtCore import QFile
> > from PySide.QtGui import QApplication
> > from PySide.QtUiTools import QUiLoader
> >
> >
> > def loadui(file_name):
> > loader = QUiLoader()
> > uifile = QFile(file_name)
> > uifile.open(QFile.ReadOnly)
> > ui = loader.load(uifile)
> > uifile.close()
> > return ui
> >
> >
> > if __name__ == "__main__":
> > import sys
> >
> > app = QApplication(sys.argv)
> > MainWindow = loadui("main.ui")
> > MainWindow.show()
> > app.exec_()
> >
> > Let's say I have a QTextEdit called txtbox. How can I access this
> > txtbox inside my Python code?
> >
> >
> How about MainWindow.txtbox ?
> --
> https://mail.python.org/mailman/listinfo/python-list
>
Back to comp.lang.python | Previous | Next | Find similar | Unroll thread
Re: How to access Qt components loaded from file? Juan Christian <juan0christian@gmail.com> - 2014-11-20 20:25 +0000
csiph-web