๐Ÿš€ go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: pl.comp.objects
2 messages
2 total messages Started by bl0nda Sun, 09 Jan 2005 23:19
Qt i www-browser
#12029
Author: bl0nda
Date: Sun, 09 Jan 2005 23:19
10 lines
1041 bytes
Czy ma ktos moze pomysl na fragment codu cpp, ktory umozliwi otworzenie 
konkretnej strony www w standardowej pregladace z poziomu Qt?

Pozdrawiam



-- 
Wysล‚ano z serwisu OnetNiusy: http://niusy.onet.pl
[NTG] Re: Qt i www-browser
#12030
Author: Mariusz Lotko
Date: Mon, 10 Jan 2005 21:17
23 lines
1327 bytes
bl0nda wrote:

> 
> Czy ma ktos moze pomysl na fragment codu cpp, ktory umozliwi otworzenie
> konkretnej strony www w standardowej pregladace z poziomu Qt?

int main(int argc, char** argv)
{
        QApplication app(argc, argv);
        QTextBrowser browser;

        browser.setSource(argv[1]);
        app.setMainWidget(&browser);
        return app.exec();
}

I zapisz sie na qt-devel na nntp.trolltech.com, a nie tutaj takie...
A tam tez lepiej nie dawaj takich postow, tylko sie zaglab w lekture
http://doc.trolltech.com/

-- 
Mariusz Lotko
http://www.lotko.magma-net.pl/
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads