Results 1 to 11 of 11

Thread: how to embed MS word/powerpoint/excel or pdf document onto my QWidget?

  1. #1
    Join Date
    Feb 2006
    Posts
    31

    Default how to embed MS word/powerpoint/excel or pdf document onto my QWidget?

    Hi,

    How to embed MS word/powerpoint/excel or pdf document onto my QWidget?

    Is there any example?

    Thanks

  2. #2
    Join Date
    Jan 2006
    Location
    Mountain View, CA
    Posts
    279
    Thanked 42 Times in 37 Posts
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Default Re: how to embed MS word/powerpoint/excel or pdf document onto my QWidget?

    Have a look at QAxWidget. In fact, open Designer and drop a QAxWidget on your form. Right-click on the widget and there's an option that will present you with a list of all the activeX plugins available on your system. I believe the ones you want will be in that list.
    Last edited by Chicken Blood Machine; 7th March 2006 at 06:45.
    Save yourself some pain. Learn C++ before learning Qt.

  3. #3
    Join Date
    Mar 2006
    Location
    Hyderabad
    Posts
    69
    Thanks
    5
    Thanked 1 Time in 1 Post
    Qt products
    Qt3
    Platforms
    Unix/X11

    Default Re: how to embed MS word/powerpoint/excel or pdf document onto my QWidget?

    hi,
    I did not understand by the term embedding. Do you want to show the contents of those documents(like opening the document) in your widget or what? Is the widget a textarea or what?Kindly answer these clearly.

  4. #4
    Join Date
    Feb 2006
    Posts
    31

    Default Re: how to embed MS word/powerpoint/excel or pdf document onto my QWidget?

    I'd like to create a QAxWidget (or QWidget). It shows a Word document, PowerPoint slide, Excel document or PDF file.

    I know how to display PDF file inside QAxWidget, since there is a "Adobe PDF Reader" activeX control. How about word/powerpoint/excel?

    Thanks.

  5. #5
    Join Date
    Jan 2006
    Posts
    273
    Thanks
    42
    Thanked 1 Time in 1 Post
    Qt products
    Qt3 Qt4
    Platforms
    Windows

    Default Re: how to embed MS word/powerpoint/excel or pdf document onto my QWidget?

    Qt:4.1.1
    WinXP

    Hi everybody, it looks to be interesting
    But i could not found "QAxWidget" in the Designer
    Where is it?

    oob2: Could you send us your code how to show a pdf inside QAxWidget

    Thanks
    Think DigitalGasoline

  6. #6
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    6,264
    Thanks
    36
    Thanked 1,519 Times in 1,389 Posts
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows Symbian S60 Maemo/MeeGo

    Default Re: how to embed MS word/powerpoint/excel or pdf document onto my QWidget?

    Quote Originally Posted by raphaelf
    But i could not found "QAxWidget" in the Designer
    Where is it?
    See Containers in the Widget Box. It's the last one.

  7. #7
    Join Date
    Jan 2006
    Posts
    273
    Thanks
    42
    Thanked 1 Time in 1 Post
    Qt products
    Qt3 Qt4
    Platforms
    Windows

    Default Re: how to embed MS word/powerpoint/excel or pdf document onto my QWidget?

    Hi JPN,

    under containers i found: Group Box, Tool Box, Tab Widget, Stacked Widget, Frame und Dock Widget. But not " QAxWidget "
    Think DigitalGasoline

  8. #8
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    6,264
    Thanks
    36
    Thanked 1,519 Times in 1,389 Posts
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows Symbian S60 Maemo/MeeGo

    Default Re: how to embed MS word/powerpoint/excel or pdf document onto my QWidget?

    Maybe you're using open source edition or your licence does not cover the ActiveQt module?
    The ActiveQt modules are part of the Qt Desktop Edition. They are not part of the Qt Open Source Edition.
    ActiveQt Framework

  9. #9
    Join Date
    Jan 2006
    Posts
    273
    Thanks
    42
    Thanked 1 Time in 1 Post
    Qt products
    Qt3 Qt4
    Platforms
    Windows

    Default Re: how to embed MS word/powerpoint/excel or pdf document onto my QWidget?

    Hi JPN!
    I am using the Open Source Edition
    thx
    Think DigitalGasoline

  10. #10
    Join Date
    Jun 2012
    Posts
    1
    Qt products
    Qt4

    Default Re: how to embed MS word/powerpoint/excel or pdf document onto my QWidget?

    Quote Originally Posted by oob2 View Post
    I'd like to create a QAxWidget (or QWidget). It shows a Word document, PowerPoint slide, Excel document or PDF file.

    I know how to display PDF file inside QAxWidget, since there is a "Adobe PDF Reader" activeX control. How about word/powerpoint/excel?

    Thanks.
    Could you send us your code how to show a pdf inside QAxWidget

  11. #11
    Join Date
    Mar 2009
    Location
    Brisbane, Australia
    Posts
    7,729
    Thanks
    13
    Thanked 1,610 Times in 1,537 Posts
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11 Windows
    Wiki edits
    17

    Default Re: how to embed MS word/powerpoint/excel or pdf document onto my QWidget?

    Did you really need to resurrect a six-year-old post to ask a me too question with your very first post? Really?

    Have you bothered to read any of the ActiveQt documentation or examples (particularly the Web Browser)? Have you tried anything yourself or are you just expecting someone to do everything for you?

Similar Threads

  1. Replies: 11
    Last Post: 25th February 2009, 18:35
  2. Replies: 0
    Last Post: 11th November 2008, 16:36
  3. Dynamic updates of a QWidget in a QScrollArea
    By plamkata in forum Qt Programming
    Replies: 2
    Last Post: 21st July 2008, 00:45
  4. Error in put one QWidget in another QWidget
    By xjtu in forum Qt Programming
    Replies: 1
    Last Post: 19th April 2008, 17:05

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.