Submission deadline in::

Welcome to visit Open Karelia:

You are here

Problem with progress bar(PyQt)

853 posts / 0 new
Last post
lagutinans
Problem with progress bar(PyQt)

We have a some problem with progress bar, because of such kind of progress bar as QProgressBar doesn't allow us to display progress in action with a unknown duration. Can you help us with search solution of this problem?

We have a problem with viewing media content from QWebView. If content is displayed by method QWebView.setUrl(QUrl(...)) when media is displayed correctly, but method setHtml(QString(...))don't display media. For example:
(with setHtml)
[code]
import sys

from PyQt4 import QtCore
from PyQt4 import QtGui
from PyQt4.QtWebKit import *

class ViewMessage(QtGui.QMainWindow):
    def __init__(self, parent = None):
        """
        initialization viewing window
        @return
        """
        super(ViewMessage, self).__init__(parent)

        #connect plugins for video
        QWebSettings.globalSettings().setAttribute(QWebSettings.PluginsEnabled,
                                                   True)
        QWebSettings.globalSettings().setAttribute(QWebSettings.JavaEnabled,
                                                   True)
        #our proxy(if it is needed)
        #from PyQt4.QtNetwork import QNetworkProxy
        #proxy = QNetworkProxy(QNetworkProxy.HttpProxy, "proxy.karelia.ru", 81)
        #QNetworkProxy.setApplicationProxy(proxy)
       
        self.view_mes_widget = QWebView()
              
        text5 = '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">\
        <html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>\
        <title>iframe</title><style type="text/css">HTML, BODY { background:transparent; padding:0; margin:0; border:0; overflow:hidden; }</style>\
        </head><body><object style="height: 344px; width: 425px;"><param value="http://www.youtube.com/v/3eLKrECd4x8" name="movie" />\
        <param value="true" name="allowFullScreen" /><param value="always" name="allowScriptAccess" />\
        <embed height="344" width="425" allowfullscreen="true" type="application/x-shockwave-flash" src="http://www.youtube.com/v/3eLKrECd4x8">\
        </embed></object></body></html>'
          
        self.view_mes_widget.setHtml(text5)
        self.view_mes_widget.show()

        self.setCentralWidget(self.view_mes_widget)
        self.show()
[/code]
(with setUrl)
[code]
import sys

from PyQt4 import QtCore
from PyQt4 import QtGui
from PyQt4.QtWebKit import *

class ViewMessage(QtGui.QMainWindow):
    def __init__(self, parent = None):
        """
        initialization viewing window
        @return
        """
        super(ViewMessage, self).__init__(parent)

        #connect plugins for video
        QWebSettings.globalSettings().setAttribute(QWebSettings.PluginsEnabled,
                                                   True)
        QWebSettings.globalSettings().setAttribute(QWebSettings.JavaEnabled,
                                                   True)
        #our proxy(if it is needed)
        #from PyQt4.QtNetwork import QNetworkProxy
        #proxy = QNetworkProxy(QNetworkProxy.HttpProxy, "proxy.karelia.ru", 81)
        #QNetworkProxy.setApplicationProxy(proxy)
                      
        self.view_mes_widget = QWebView()
        self.view_mes_widget.setUrl(QtCore.QUrl("embed.html"))
       
        self.view_mes_widget.show()
        self.setCentralWidget(self.view_mes_widget)
        self.show()
[/code]
 Only second example display media, though file "embed.html" contains  the same html code. 
P.S.:
Just in case this is a code from "main.py" file:

[code]
import sys
import os

def main():
    """
    this function starts application
    """

    from PyQt4 import QtGui
    app = QtGui.QApplication(sys.argv) # Note: we can't draw dialog box in
  
    from ViewMessage import ViewMessage
    home_window = ViewMessage()
   
    app.exec_()
    sys.exit()

if __name__ == "__main__":
    os.chdir(os.path.dirname(os.path.abspath(sys.argv[0])))
    main()

[/code]

lagutinans
You can also ask here http:/
roxannakel
Add new comment | Open Innovations Framework Program FRUCT

Hmm it looks like your site ate my first comment (it was extremely long) so
I guess I'll just sum it up what I had written and say, I'm thoroughly enjoying your blog.
I too am an aspiring blog writer but I'm still
new to everything. Do you have any points for rookie
blog writers? I'd definitely appreciate it.

Also visit my web site :: Live Psychic

manuelahai
Add new comment | Open Innovations Framework Program FRUCT

I am genuinely grateful to the holder of this web page who has shared this impressive
post at at this time.

My page ... psychic Affiliates Management

roxannakel
Add new comment | Open Innovations Framework Program FRUCT

I am sure this article has touched all the internet people, its really really pleasant piece of writing
on building up new weblog.

Here is my site - tarot card reading

johnnyfinc
Add new comment | Open Innovations Framework Program FRUCT
earthamort
Add new comment | Open Innovations Framework Program FRUCT

I'm amazed, I have to admit. Seldom do I come across a blog that's equally educative and amusing, and without a doubt, you've hit the nail on the head.
The problem is an issue that too few folks are speaking intelligently about.
I'm very happy I stumbled across this in my hunt for something concerning this.

Here is my website ... Psychic affiliates management group

earthamort
Add new comment | Open Innovations Framework Program FRUCT

Good site you've got here.. It's hard to find quality writing like yours these days.
I seriously appreciate individuals like you! Take care!!

My web page; psychic and astrology affiliates in Medical Specialties agoura

roxannakel
Add new comment | Open Innovations Framework Program FRUCT

I have to convey my affection for your kind-heartedness in support of men and
women who absolutely need guidance on that area of interest.
Your real commitment to getting the message around was exceptionally practical and has usually allowed
others much like me to realize their targets.
This interesting report indicates a lot a person like me and
especially to my mates. Warm regards; from each one of us.

Here is my web blog; http://iplc.f3322.net:10086/viewtopic.Php?Id=1842800

johnnyfinc
Add new comment | Open Innovations Framework Program FRUCT

A person necessarily lend a hand to make critically articles I would state.
This is the very first time I frequented your website page and up to now?
I surprised with the research you made to create this
actual put up amazing. Wonderful activity!

My blog post Psychic And Astrology Affiliates Meaning In Hindi

johnnyfinc
Add new comment | Open Innovations Framework Program FRUCT

I read this piece of writing fully on the topic
of the difference of newest and previous technologies, it's awesome
article.

Here is my homepage ... Psychic Affiliates

roxannakel
Add new comment | Open Innovations Framework Program FRUCT

Hmm it appears like your blog ate my first comment (it was
extremely long) so I guess I'll just sum it up what I had written and say,
I'm thoroughly enjoying your blog. I as well am an aspiring blog
writer but I'm still new to the whole thing.

Do you have any tips and hints for beginner blog writers?
I'd definitely appreciate it.

Also visit my web-site :: Accurate Reading

bennietown
Add new comment | Open Innovations Framework Program FRUCT

Fascinating blog! Is your theme custom made or did
you download it from somewhere? A theme like yours with a few simple adjustements would really make my blog jump out.
Please let me know where you got your design. Thanks a lot

my web blog :: psychic and astrology affiliates in dermatology

roxannakel
Add new comment | Open Innovations Framework Program FRUCT

Hi! Do you know if they make any plugins to help with Search Engine Optimization? I'm
trying to get my blog to rank for some targeted keywords but I'm not
seeing very good gains. If you know of any please share.
Thank you!

my web page; Quality Baby gifts

roxannakel
Add new comment | Open Innovations Framework Program FRUCT

I would like to voice my admiration for your kindness for folks who must have help on this important subject.
Your real dedication to passing the message all through had been definitely good and has frequently enabled associates much like me to achieve
their dreams. Your own interesting key points
denotes much to me and further more to my colleagues. Warm regards; from each
one of us.

Feel free to visit my site: Stephen

jacquiewar
Add new comment | Open Innovations Framework Program FRUCT

In fact when someone doesn't know then its up to other people that
they will help, so here it happens.

Feel free to visit my homepage labo.cside2.com

roxannakel
Add new comment | Open Innovations Framework Program FRUCT

I am sure this piece of writing has touched all the internet visitors,
its really really nice article on building up new web
site.

Here is my web page ... psychic readingdone

roxannakel
Add new comment | Open Innovations Framework Program FRUCT

Hello. impressive job. I did not expect this. This is a
fantastic story. Thanks!

my homepage - Nolan

roxannakel
Add new comment | Open Innovations Framework Program FRUCT

I don't write a bunch of responses, however i did a few searching and wound up here Add new comment | Open Innovations Framework Program FRUCT.

And I do have a couple of questions for you if it's allright.
Is it just me or does it appear like some of the remarks look like written by brain dead individuals?
:-P And, if you are posting at other places, I'd like to follow everything fresh you have to post.
Could you list of every one of all your public pages like your linkedin profile, Facebook page or
twitter feed?

Feel free to surf to my page soul Mate Affirmations

roxannakel
Add new comment | Open Innovations Framework Program FRUCT

I would like to point out my appreciation for your kind-heartedness supporting those people that actually need guidance on the issue.
Your real commitment to getting the solution all through ended up being definitely good and has all the time enabled women much
like me to get to their goals. Your invaluable report implies
this much to me and even more to my office workers.
Warm regards; from each one of us.

Also visit my web page ... love psychic readings-

lillianava
Add new comment | Open Innovations Framework Program FRUCT

I almost never comment, however I glanced through a few responses here Add new comment | Open Innovations Framework Program FRUCT.
I do have 2 questions for you if you tend not to mind.

Could it be simply me or does it give the impression like
some of the responses come across like they are written by brain dead people?
:-P And, if you are posting at additional
online social sites, I'd like to follow you.

Would you post a list of every one of all your social community sites like your twitter feed, Facebook page or
linkedin profile?

Stop by my website :: California Psychics Affiliate Program

roxannakel
Add new comment | Open Innovations Framework Program FRUCT

Excellent read, I just passed this onto a friend who
was doing some research on that. And he actually bought
me lunch as I found it for him smile Therefore let me rephrase that:
Thanks for lunch!

my web-site; Real psychic

roxannakel
Add new comment | Open Innovations Framework Program FRUCT

Nice answers in return of this matter with genuine arguments and describing the whole thing about that.

Also visit my web blog - Psychic Reading Option

roxannakel
Add new comment | Open Innovations Framework Program FRUCT

I am truly glad to glance at this weblog posts which includes lots
of valuable facts, thanks for providing these data.

Check out my web blog; Awesome baby

roxannakel
Add new comment | Open Innovations Framework Program FRUCT

Superb, what a blog it is! This blog gives useful data to us,
keep it up.

My web site; good love

roxannakel
Add new comment | Open Innovations Framework Program FRUCT

Hey! Do you know if they make any plugins to help with SEO?
I'm trying to get my blog to rank for some targeted keywords
but I'm not seeing very good success. If you know of any
please share. Kudos!

Here is my blog Shanice

roxannakel
Add new comment | Open Innovations Framework Program FRUCT

Hello. remarkable job. I did not anticipate this. This
is a fantastic story. Thanks!

My web blog - Psychic Readings excellent

roxannakel
Add new comment | Open Innovations Framework Program FRUCT

Fastidious replies in return of this question with
firm arguments and telling all regarding that.

Review my web site: tarot Reading

roxannakel
Add new comment | Open Innovations Framework Program FRUCT

I am genuinely pleased to glance at this website posts which contains
plenty of useful data, thanks for providing these kinds
of information.

Also visit my homepage: love others feel

AlexCooper1212
Boston

I simply began in this and I'm becoming more acquainted with it better! Cheers, keep doing awesome!

Boston Spray Foam Pros

roxannakel
Add new comment | Open Innovations Framework Program FRUCT

I wish to show my gratitude for your kind-heartedness supporting individuals that require guidance on your area.
Your personal commitment to getting the solution around was pretty insightful and have really
empowered men and women like me to arrive at their desired goals.
Your new valuable information denotes a lot to me and further more to my mates.
Many thanks; from everyone of us.

Check out my website Josh

roxannakel
Add new comment | Open Innovations Framework Program FRUCT

I could not resist commenting. Exceptionally well written!

Also visit my homepage :: Psychic Phone readings

roxannakel
Add new comment | Open Innovations Framework Program FRUCT

It's going to be end of mine day, but before end I
am reading this impressive post to improve my experience.

My blog connection Between people

estellabyr
Add new comment | Open Innovations Framework Program FRUCT

Thanks for sharing your info. I truly appreciate your efforts and I will be
waiting for your further post thanks once again.

Feel free to surf to my web-site ... Psychic and astrology Affiliates meaning In tagalog

roxannakel
Add new comment | Open Innovations Framework Program FRUCT

A fascinating discussion is definitely worth comment.
I think that you ought to publish more on this topic, it may not be a taboo subject but typically people don't talk about these subjects.

To the next! Many thanks!!

my web blog Find love Psychic readin

roxannakel
Add new comment | Open Innovations Framework Program FRUCT

Hello mates, its enormous piece of writing about cultureand completely
explained, keep it up all the time.

My web site - Psychic Picks

roxannakel
Add new comment | Open Innovations Framework Program FRUCT

I am sure this article has touched all the internet viewers,
its really really good piece of writing on building up new blog.

Feel free to surf to my website two people

earthamort
Add new comment | Open Innovations Framework Program FRUCT

Hello, its nice article about media print, we all
understand media is a wonderful source of data.

Visit my homepage ... psychic affiliates for Women's health

roxannakel
Add new comment | Open Innovations Framework Program FRUCT

Hey! Do you know if they make any plugins to help with
SEO? I'm trying to get my blog to rank for some targeted keywords
but I'm not seeing very good gains. If you know of any please
share. Thank you!

Here is my homepage: Geoffrey

roxannakel
Add new comment | Open Innovations Framework Program FRUCT

Everyone loves it when people come together and share opinions.
Great site, stick with it!

Look into my blog ... soul mate

earthamort
Add new comment | Open Innovations Framework Program FRUCT

Do you have a spam problem on this blog; I also am a blogger,
and I was wanting to know your situation; we have created some nice methods and we
are looking to exchange methods with others, please shoot
me an email if interested.

Check out my homepage: Psychic And Astrology Affiliates In Ob

bennietown
Add new comment | Open Innovations Framework Program FRUCT

Hi there, its nice paragraph about media print, we all be aware of media is a great source of data.

Stop by my web blog :: psychic affiliates in dermatology

rodgrimley
Add new comment | Open Innovations Framework Program FRUCT

Do you have a spam problem on this blog; I also am a blogger, and I was wondering your situation; we have created some
nice procedures and we are looking to swap
strategies with other folks, why not shoot me an e-mail if interested.

Also visit my blog - psychic and Astrology affiliates Programmes

roxannakel
Add new comment | Open Innovations Framework Program FRUCT

Hurrah! After all I got a weblog from where I know how to genuinely obtain useful data concerning my study and knowledge.

Here is my homepage :: Love psychic reading

bennietown
Add new comment | Open Innovations Framework Program FRUCT

Hi there, i read your blog from time to time and i own a similar one and i was just curious if you get
a lot of spam comments? If so how do you stop it,
any plugin or anything you can recommend?
I get so much lately it's driving me insane so any assistance is very much appreciated.

my web site: Www.Beautereport.Com

bennietown
Add new comment | Open Innovations Framework Program FRUCT

Good post. I absolutely appreciate this website.
Stick with it!

Also visit my web blog psychic and astrology Affiliates management

roxannakel
Add new comment | Open Innovations Framework Program FRUCT

Fabulous, what a weblog it is! This blog presents useful data
to us, keep it up.

Feel free to visit my web site :: good love

jeffkleibe
Add new comment | Open Innovations Framework Program FRUCT

Can I just say what a relief to discover somebody
that really understands what they are discussing on the web.
You actually understand how to bring a problem to light and make it important.
A lot more people need to read this and understand this side of your story.
I was surprised that you're not more popular since you certainly have the gift.

Look into my blog post :: psychic And astrology affiliates meaning in urdu

roxannakel
Add new comment | Open Innovations Framework Program FRUCT

I really like it when individuals get together and share ideas.
Great site, stick with it!

Here is my web blog - professional Psychic reveals

joesphboll
Add new comment | Open Innovations Framework Program FRUCT

Actually no matter if someone doesn't understand afterward its up to other people that they will assist, so here it happens.

my site; psychic and astrology affiliates in dermatology

rodgrimley
Add new comment | Open Innovations Framework Program FRUCT

Hi, I do believe this is a great site. I stumbledupon it ;) I'm going to return once again since
i have bookmarked it. Money and freedom is the greatest way to change, may
you be rich and continue to help others.

Feel free to visit my web page; Linnea

Pages

Log in or register to post comments