Trolltech Home | Qt-interest Home | Recent Threads | All Threads | Author | Date
All threads index page 3

Qt-interest Archive, May 2007
Help needed in Web Browser in QT


Message 1 in thread

Hi
  I need some help regarding the web browser. Please help me in solving the issues.

  I am using a web browser built in QT (Designed Without using the QT Designer tool) but want to remove two problems from it.

1. Many times the actual size of webpage is very big compared to the web browser window. So is there any way to scale the loaded content of the web page so that the Page fits (like Zoom-In effect of IE) into the Browser size (as we use setScaledContents from QLabel) ?
   I am using QAxWidget for the Web browser and the IDE is VC++ 6.0 with QT version 4.1.1 and OS is Windows XP Home Edition.

2. Most of the web pages have Pop-ups. So is there any way to block them (as we do in IE )

I have been trying hard to find out something for both these problems but till now all of no use. Please help me out in solving these problems.

Waiting for ur reply

Thanks and regards
Ritesh 
Sr. Software Engineer
INDIA

Message 2 in thread

Ritesh Srivastav schrieb:
> Hi
>   I need some help regarding the web browser. [...]
> 1. Many times the actual size of webpage is very big compared to the web
> browser window. So is there any way to scale the loaded content [...]
>    I am using QAxWidget for the Web browser [...]
>  
> 2. Most of the web pages have Pop-ups. So is there any way to block them
> (as we do in IE )[...]

As you are using an ActiveX component as browser, I assume that the
functionality is beyond the scope of Qt. Maybe the component has some
suitable parameters that can be set by the Qt application.

Best Regards / Mit freundlichen Grüßen
Rainer Wiesenfarth

-- 
 [ signature omitted ] 

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature


Message 3 in thread

Which web browser component are you using that is QT based?

 

It sounds to me, that your using QAxWidget to point to embed an IE
browser control in your system.

 

If that is the case, this isn't a QT issue, and more, then if you
embedded the same control into Excel, and wanted to know how to do the
same things in excel..

 

Do a google on IE ActiveX interface and you will get some hits...
Eventually you might find a mailing list that is more appropriate for ie
active X calls..

 

When you find them, we can help you make those calls into the QAxWdiget
widget

 

Scott

 

________________________________

From: Ritesh Srivastav [mailto:heresritesh@xxxxxxxxx] 
Sent: Thursday, May 10, 2007 11:33 PM
To: qt-interest@xxxxxxxxxxxxx
Subject: Help needed in Web Browser in QT

 

Hi

  I need some help regarding the web browser. Please help me in solving
the issues.

 

  I am using a web browser built in QT (Designed Without using the QT
Designer tool) but want to remove two problems from it.

 

1. Many times the actual size of webpage is very big compared to the web
browser window. So is there any way to scale the loaded content of the
web page so that the Page fits (like Zoom-In effect of IE) into the
Browser size (as we use setScaledContents from QLabel) ?

   I am using QAxWidget for the Web browser and the IDE is VC++ 6.0 with
QT version 4.1.1 and OS is Windows XP Home Edition.

 

2. Most of the web pages have Pop-ups. So is there any way to block them
(as we do in IE )

 

I have been trying hard to find out something for both these problems
but till now all of no use. Please help me out in solving these
problems.

 

Waiting for ur reply

 

Thanks and regards

Ritesh 

Sr. Software Engineer

INDIA


Message 4 in thread

Please DO NOT email people directly....

 

I don't know the name of the calls you will need to make...  Again, this
is NOT a QT issue...  Please contact the proper group.

 

Scott

 

________________________________

From: Ritesh Srivastav [mailto:heresritesh@xxxxxxxxx] 
Sent: Thursday, May 10, 2007 11:45 PM
To: Scott Aron Bloom
Subject: Re: Help needed in Web Browser in QT

 

Hi 

 

   Thanks for your reply. I am trying on google as well as on mailing
lists also but till now no working solution. I am trying it as 

------------------------------------------------------------------------
---------

    Frame3 = new QFrame(this);
    Frame3->setObjectName(QString::fromUtf8("Frame3"));
    Frame3->setFrameShape(QFrame::StyledPanel);
    Frame3->setFrameShadow(QFrame::Sunken);

 

    WebBrowser = new QAxWidget(Frame3);
 
WebBrowser->setControl(QString::fromUtf8("{8856F961-340A-11D0-A96B-00C04
FD705A2}"));
    WebBrowser->setObjectName(QString::fromUtf8("WebBrowser"));
    WebBrowser->setFocusPolicy(Qt::StrongFocus);
 

 

 addressEdit->setText(www.hotmail.com);
 WebBrowser->dynamicCall("Navigate(const QString&)",
addressEdit->text());
 WebBrowser->dynamicCall("SetResizable(bool)", true);

------------------------------------------------------------------------
-------------------------

 

Still neither I am able to resize the contents to the windows size nor
do I have any idea how to stop those Pop-ups.!!

 

Regards,

Ritesh

	----- Original Message ----- 

	From: Scott Aron Bloom <mailto:scott@xxxxxxxxxxxx>  

	To: qt-interest@xxxxxxxxxxxxx 

	Sent: Friday, May 11, 2007 12:13 PM

	Subject: RE: Help needed in Web Browser in QT

	 

	Which web browser component are you using that is QT based?

	 

	It sounds to me, that your using QAxWidget to point to embed an
IE browser control in your system.

	 

	If that is the case, this isn't a QT issue, and more, then if
you embedded the same control into Excel, and wanted to know how to do
the same things in excel..

	 

	Do a google on IE ActiveX interface and you will get some
hits... Eventually you might find a mailing list that is more
appropriate for ie active X calls..

	 

	When you find them, we can help you make those calls into the
QAxWdiget widget

	 

	Scott

	 

	
________________________________


	From: Ritesh Srivastav [mailto:heresritesh@xxxxxxxxx] 
	Sent: Thursday, May 10, 2007 11:33 PM
	To: qt-interest@xxxxxxxxxxxxx
	Subject: Help needed in Web Browser in QT

	 

	Hi

	  I need some help regarding the web browser. Please help me in
solving the issues.

	 

	  I am using a web browser built in QT (Designed Without using
the QT Designer tool) but want to remove two problems from it.

	 

	1. Many times the actual size of webpage is very big compared to
the web browser window. So is there any way to scale the loaded content
of the web page so that the Page fits (like Zoom-In effect of IE) into
the Browser size (as we use setScaledContents from QLabel) ?

	   I am using QAxWidget for the Web browser and the IDE is VC++
6.0 with QT version 4.1.1 and OS is Windows XP Home Edition.

	 

	2. Most of the web pages have Pop-ups. So is there any way to
block them (as we do in IE )

	 

	I have been trying hard to find out something for both these
problems but till now all of no use. Please help me out in solving these
problems.

	 

	Waiting for ur reply

	 

	Thanks and regards

	Ritesh 

	Sr. Software Engineer

	INDIA


Message 5 in thread

Hi Scott
       Sorry for tht. But still I feel like - as I have to display the contents in the GUI made from QT, we must b having some option like scaling or so in it. Anywazz... If anyone can help me... Plzz do reply
  Thanx 
  Ritesh

Scott Aron Bloom <scott@xxxxxxxxxxxx> wrote:
        v\:* {behavior:url(#default#VML);}  o\:* {behavior:url(#default#VML);}  w\:* {behavior:url(#default#VML);}  .shape {behavior:url(#default#VML);}        st1\:*{behavior:url(#default#ieooui) }                 
        
---------------------------------
  
  From: Ritesh Srivastav [mailto:heresritesh@xxxxxxxxx] 
Sent: Thursday, May 10, 2007 11:45 PM
To: Scott Aron Bloom
Subject: Re: Help needed in Web Browser in QT

   
    Hi 

     

       Thanks for your reply. I am trying on google as well as on mailing lists also but till now no working solution. I am trying it as 

    ---------------------------------------------------------------------------------

        Frame3 = new QFrame(this);
    Frame3->setObjectName(QString::fromUtf8("Frame3"));
    Frame3->setFrameShape(QFrame::StyledPanel);
    Frame3->setFrameShadow(QFrame::Sunken);

     

        WebBrowser = new QAxWidget(Frame3);
    WebBrowser->setControl(QString::fromUtf8("{8856F961-340A-11D0-A96B-00C04FD705A2}"));
    WebBrowser->setObjectName(QString::fromUtf8("WebBrowser"));
    WebBrowser->setFocusPolicy(Qt::StrongFocus);
 

     

     addressEdit->setText(www.hotmail.com);
 WebBrowser->dynamicCall("Navigate(const QString&)", addressEdit->text());
 WebBrowser->dynamicCall("SetResizable(bool)", true);

    -------------------------------------------------------------------------------------------------

     

    Still neither I am able to resize the contents to the windows size nor do I have any idea how to stop those Pop-ups.!!

     

    Regards,

    Ritesh

      ----- Original Message ----- 

    From: Scott Aron Bloom 

    To: qt-interest@xxxxxxxxxxxxx 

    Sent: Friday, May 11, 2007 12:13 PM

    Subject: RE: Help needed in Web Browser in QT

     

  Which web browser component are you using that is QT based?
   
  It sounds to me, that your using QAxWidget to point to embed an IE browser control in your system.
   
  If that is the case, this isn?t a QT issue, and more, then if you embedded the same control into Excel, and wanted to know how to do the same things in excel..
   
  Do a google on IE ActiveX interface and you will get some hits? Eventually you might find a mailing list that is more appropriate for ie active X calls..
   
  When you find them, we can help you make those calls into the QAxWdiget widget
   
  Scott
   
        
---------------------------------
  
  From: Ritesh Srivastav [mailto:heresritesh@xxxxxxxxx] 
Sent: Thursday, May 10, 2007 11:33 PM
To: qt-interest@xxxxxxxxxxxxx
Subject: Help needed in Web Browser in QT

   
    Hi

          I need some help regarding the web browser. Please help me in solving the issues.

     

      I am using a web browser built in QT (Designed Without using the QT Designer tool) but want to remove two problems from it.

     

    1. Many times the actual size of webpage is very big compared to the web browser window. So is there any way to scale the loaded content of the web page so that the Page fits (like Zoom-In effect of IE) into the Browser size (as we use setScaledContents from QLabel) ?

       I am using QAxWidget for the Web browser and the IDE is VC++ 6.0 with QT version 4.1.1 and OS is Windows XP Home Edition.

     

    2. Most of the web pages have Pop-ups. So is there any way to block them (as we do in IE )

     

    I have been trying hard to find out something for both these problems but till now all of no use. Please help me out in solving these problems.

     

    Waiting for ur reply

     

    Thanks and regards

    Ritesh 

    Sr. Software Engineer

    INDIA








       
---------------------------------
Luggage? GPS? Comic books? 
Check out fitting  gifts for grads at Yahoo! Search.

Message 6 in thread

Try using a COM/ActiveX/.NET explorer that dumps out the interface for
controls.....  See if there are calls that work for you.... But scaling
the QT widget that is providing a HWND location for the Active X
control, is not what yoru looking for.


Scott

 

________________________________

From: Raja Lallu [mailto:lallu1901@xxxxxxxxx] 
Sent: Friday, May 11, 2007 11:24 PM
To: qt-interest@xxxxxxxxxxxxx
Subject: RE: Help needed in Web Browser in QT

 

Hi Scott

     Sorry for tht. But still I feel like - as I have to display the
contents in the GUI made from QT, we must b having some option like
scaling or so in it. Anywazz... If anyone can help me... Plzz do reply

Thanx 

Ritesh

Scott Aron Bloom <scott@xxxxxxxxxxxx> wrote:

	 

	
________________________________


	From: Ritesh Srivastav [mailto:heresritesh@xxxxxxxxx] 
	Sent: Thursday, May 10, 2007 11:45 PM
	To: Scott Aron Bloom
	Subject: Re: Help needed in Web Browser in QT

	 

	Hi 

	 

	   Thanks for your reply. I am trying on google as well as on
mailing lists also but till now no working solution. I am trying it as 

	
------------------------------------------------------------------------
---------

	    Frame3 = new QFrame(this);
	    Frame3->setObjectName(QString::fromUtf8("Frame3"));
	    Frame3->setFrameShape(QFrame::StyledPanel);
	    Frame3->setFrameShadow(QFrame::Sunken);

	 

	    WebBrowser = new QAxWidget(Frame3);
	
WebBrowser->setControl(QString::fromUtf8("{8856F961-340A-11D0-A96B-00C04
FD705A2}"));
	    WebBrowser->setObjectName(QString::fromUtf8("WebBrowser"));
	    WebBrowser->setFocusPolicy(Qt::StrongFocus);
	 

	 

	 addressEdit->setText(www.hotmail.com <http://www.hotmail.com/>
);
	 WebBrowser->dynamicCall("Navigate(const QString&)",
addressEdit->text());
	 WebBrowser->dynamicCall("SetResizable(bool)", true);

	
------------------------------------------------------------------------
-------------------------

	 

	Still neither I am able to resize the contents to the windows
size nor do I have any idea how to stop those Pop-ups.!!

	 

	Regards,

	Ritesh

		----- Original Message ----- 

		From: Scott Aron Bloom <mailto:scott@xxxxxxxxxxxx>  

		To: qt-interest@xxxxxxxxxxxxx 

		Sent: Friday, May 11, 2007 12:13 PM

		Subject: RE: Help needed in Web Browser in QT

		 

		Which web browser component are you using that is QT
based?

		 

		It sounds to me, that your using QAxWidget to point to
embed an IE browser control in your system.

		 

		If that is the case, this isn't a QT issue, and more,
then if you embedded the same control into Excel, and wanted to know how
to do the same things in excel..

		 

		Do a google on IE ActiveX interface and you will get
some hits... Eventually you might find a mailing list that is more
appropriate for ie active X calls..

		 

		When you find them, we can help you make those calls
into the QAxWdiget widget

		 

		Scott

		 

		
________________________________


		From: Ritesh Srivastav [mailto:heresritesh@xxxxxxxxx] 
		Sent: Thursday, May 10, 2007 11:33 PM
		To: qt-interest@xxxxxxxxxxxxx
		Subject: Help needed in Web Browser in QT

		 

		Hi

		  I need some help regarding the web browser. Please
help me in solving the issues.

		 

		  I am using a web browser built in QT (Designed Without
using the QT Designer tool) but want to remove two problems from it.

		 

		1. Many times the actual size of webpage is very big
compared to the web browser window. So is there any way to scale the
loaded content of the web page so that the Page fits (like Zoom-In
effect of IE) into the Browser size (as we use setScaledContents from
QLabel) ?

		   I am using QAxWidget for the Web browser and the IDE
is VC++ 6.0 with QT version 4.1.1 and OS is Windows XP Home Edition.

		 

		2. Most of the web pages have Pop-ups. So is there any
way to block them (as we do in IE )

		 

		I have been trying hard to find out something for both
these problems but till now all of no use. Please help me out in solving
these problems.

		 

		Waiting for ur reply

		 

		Thanks and regards

		Ritesh 

		Sr. Software Engineer

		INDIA

 

  

________________________________

Luggage? GPS? Comic books? 
Check out fitting gifts for grads
<http://us.rd.yahoo.com/evt=48249/*http:/search.yahoo.com/search?fr=oni_
on_mail&p=graduation+gifts&cs=bz>  at Yahoo! Search.