Results 1 to 4 of 4

Thread: What is the way to have a visual utility ? a custom widget ?

  1. #1
    Join Date
    Sep 2010
    Posts
    654
    Thanks
    56
    Thanked 1 Time in 1 Post
    Qt products
    Qt4
    Platforms
    Windows

    Default What is the way to have a visual utility ? a custom widget ?

    I would want to develop an utility to (for example) opening a file, reading it, put some data in a memory region.
    Must I learn how to develop a custom widget ? or there is an easiest way ?
    ( I want that this utility does not spent time when compiling the main project)
    Thanks

  2. #2
    Join Date
    Jan 2006
    Location
    Belgium
    Posts
    1,938
    Thanked 268 Times in 268 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows
    Wiki edits
    20

    Default Re: What is the way to have a visual utility ? a custom widget ?

    Quote Originally Posted by tonnot View Post
    I would want to develop an utility to (for example) opening a file, reading it, put some data in a memory region.
    Must I learn how to develop a custom widget ? or there is an easiest way ?
    What do you want to do? Do you want to visualise some data? If so, try using the standard widgets.
    If that doesn't suit you, you can create your own.

    But for just the data handling, you don't need to create widgets.

    ( I want that this utility does not spent time when compiling the main project)
    Please try to explain this a little bit better. I can't make anything of this.

  3. #3
    Join Date
    Sep 2010
    Posts
    654
    Thanks
    56
    Thanked 1 Time in 1 Post
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: What is the way to have a visual utility ? a custom widget ?

    I would want to develop an utility to (for example) opening a file, reading it, put some data in a memory region.
    Imagine a little element of my program that make something ( a dialog where the user open some file to import, for example)
    This piece (with visual aspect, since it has a dialog with some buttons) can be a custom widget, or a dll ?
    I want that this utility does not spent time when compiling the main project
    Depends of my utility is either a custom widget or a dll ?
    I hope that now I have explained better.

  4. #4
    Join Date
    Jan 2006
    Location
    Belgium
    Posts
    1,938
    Thanked 268 Times in 268 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows
    Wiki edits
    20

    Default Re: What is the way to have a visual utility ? a custom widget ?

    I find your posts very confusing, but I'll give it a try.

    You can create a dialog with standard widgets like buttons, lists, menus etc...
    This can be done in a standalone program, or as a plugin or library.

    For you I recommend starting a little bit easier:
    http://doc.qt.nokia.com/4.6/tutorials.html

    As for the second question, are you asking if there is a difference in compile speed between an application or a library?
    That is not a question anyone can answer since that would be comparing apples and oranges. Yes both are fruit, bur very different.

Similar Threads

  1. Replies: 0
    Last Post: 11th April 2009, 12:07
  2. where is a utility - qconfig?
    By avrecorder in forum Qt for Embedded and Mobile
    Replies: 6
    Last Post: 27th November 2007, 14:18
  3. (solved) MacOSX Utility Window
    By Zatraz in forum Qt Programming
    Replies: 1
    Last Post: 22nd November 2006, 14:02
  4. Replies: 1
    Last Post: 5th November 2006, 23:50
  5. Text search utility
    By NewGuy in forum Newbie
    Replies: 7
    Last Post: 23rd July 2006, 11:59

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.