Results 1 to 8 of 8

Thread: Creating a "windowless" software

  1. #1
    Join Date
    Jan 2006
    Posts
    12
    Qt products
    Qt/Embedded
    Platforms
    Unix/X11

    Default Creating a "windowless" software

    What would be the most efficient way of creating a software (UI actually) that has no (and does not generate or show) windows with QT 4.0.1?

    The software itself should have no visible frames, caption nor menus. The looks should be as simple as in basic linux terminal on full screen (again with no caption bar, menu or other bars), and the screen should not show anything from the background, so as user will see only black screen with text in certain locations of the screen. So it actually reminds linux with no GUI, or as a DOS as in the past years. The software is interacted with keyboard, no mouse will be used.

    So basically I want to take advantage of the QT features without having the windowed looks.

    The OS will be linux.

    Can you guide me to the right direction on how to create this kind of interface? How should I create the background frame and the text fields?

    I'll specify this even more:
    The main window could be the "blank" UI window shown to user, and user controls the software via keyboard. User does not have to be able to input text via the UI. User has no ability to shutdown the UI.

  2. #2
    Join Date
    Jan 2006
    Location
    Sofia, Bulgaria
    Posts
    24
    Thanks
    1
    Qt products
    Qt3
    Platforms
    Unix/X11

    Default Re: Creating a "windowless" software

    I think qt is not the solution you should think of in this situation.
    There are tools more suitable for this thing (consider ncurses). There are plenty of things that will do the job w/o using qt. Anyway, if you want that functionality, make a normal qt application w/o any widgets, it IS possible, but if you want windows, buttons, list views, etc. in text mode, QT won't help you.

  3. #3
    Join Date
    Jan 2006
    Posts
    12
    Qt products
    Qt/Embedded
    Platforms
    Unix/X11

    Default Re: Creating a "windowless" software

    Actually it may be acceptable that the caption bar and borders are shown, so QT would still be a choice. The main window just has to be full screen then with minimal border width.

    Possibility for changing background and text colour would be nice too. I dont have need for the QT-buttons as is, as there is no mouse in the system.

    Any suggestions how to implement this?

  4. #4
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,363
    Thanks
    3
    Thanked 5,012 Times in 4,791 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: Creating a "windowless" software

    Quote Originally Posted by Yorma
    Actually it may be acceptable that the caption bar and borders are shown, so QT would still be a choice. The main window just has to be full screen then with minimal border width.
    Why do you want to make a character based application on top of a X server environment? It'll not work on terminal if you show any captions/borders/etc.

  5. #5
    Join Date
    Jan 2006
    Posts
    12
    Qt products
    Qt/Embedded
    Platforms
    Unix/X11

    Default Re: Creating a "windowless" software

    Quote Originally Posted by wysota
    Why do you want to make a character based application on top of a X server environment? It'll not work on terminal if you show any captions/borders/etc.
    Basically because the system has no mouse or other input method besides keyboard.
    So is it more an QT/E issue, is this again a wrong part of the forum? As the system is reserved only for this software, no X server is even needed. You may move the topic to the right forum if needed, I'm sorry for the mishap.

  6. #6
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,363
    Thanks
    3
    Thanked 5,012 Times in 4,791 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: Creating a "windowless" software

    But do you have an X server there? If so, you can create a regular Qt app and operate it with your keyboard or touchscreen.

    Anyway you can use Qt to help you operate on data, etc. but you should use ncurses library (or simmilar) for the text display if you don't want to use Xserver.

  7. #7
    Join Date
    Jan 2006
    Posts
    12
    Qt products
    Qt/Embedded
    Platforms
    Unix/X11

    Default Re: Creating a "windowless" software

    Quote Originally Posted by wysota
    But do you have an X server there? If so, you can create a regular Qt app and operate it with your keyboard or touchscreen.

    Anyway you can use Qt to help you operate on data, etc. but you should use ncurses library (or simmilar) for the text display if you don't want to use Xserver.
    No X server, running on frame buffer. I'll check out the ncurses lib.

  8. #8
    Join Date
    Jan 2006
    Location
    Houston, TX
    Posts
    3
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Creating a "windowless" software

    I think that Qt 4 QtCore will provide a solution for you.

    ==> http://doc.trolltech.com/4.0/qtcore.html

Similar Threads

  1. Replies: 1
    Last Post: 30th July 2008, 23:39

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.