Results 1 to 20 of 56

Thread: Handcoder's IDE for Qt

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #2
    Join Date
    Jan 2006
    Posts
    371
    Thanks
    14
    Thanked 18 Times in 17 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Handcoder's IDE for Qt

    1) To make it work on Linux I had to modify the src/src.pro file.
    Qt Code:
    1. TEMPLATE = app
    2. CONFIG += uitools qt console release assistant
    3. QT+=xml # <- this line
    4. DESTDIR = ../bin
    5. TARGET = HiQt
    To copy to clipboard, switch view to plain text mode 

    2) Documentation is not working. See this patch:
    Qt Code:
    1. elcuco@pinky:~/src/qt4/HiQt/src$ diff -u HiQtDocBrowser.h{.orig,}
    2. --- HiQtDocBrowser.h.orig 2007-07-21 17:38:11.000000000 +0300
    3. +++ HiQtDocBrowser.h 2007-07-21 17:46:22.000000000 +0300
    4. @@ -3,6 +3,7 @@
    5.  
    6. #include "ui_HiQtDocBrowser.h"
    7. #include <QUrl>
    8. +#include <QLibraryInfo>
    9. #include <QMainWindow>
    10. #include <QToolBar>
    11. #include <QFileInfo>
    12. @@ -15,7 +16,9 @@
    13. HiQtDocBrowser(QWidget *parent=0) : QWidget(parent) {
    14. ui.setupUi(this);
    15.  
    16. - ui.browser->setSearchPaths(QStringList(QString(getenv("QTDIR"))+"/doc/html"));
    17. + l << QLibraryInfo::location(QLibraryInfo::DocumentationPath) + "/html";
    18. + ui.browser->setSearchPaths(l);
    19.  
    20. connect(ui.previous_button,SIGNAL(clicked()),ui.browser,SLOT(backward()));
    21. connect(ui.next_button,SIGNAL(clicked()),ui.browser,SLOT(forward()));
    22. @@ -26,7 +29,7 @@
    23. ui.browser->setSource(QUrl("index.html"));
    24. }
    25. void open_keyword(QString word) {
    26. - if (QFileInfo(QString(getenv("QTDIR"))+"/doc/html/"+word.toLower()+".html").exists())
    27. + if (QFileInfo( QLibraryInfo::location(QLibraryInfo::DocumentationPath) + "/" + word.toLower()+".html").exists())
    28. ui.browser->setSource(QUrl(word.toLower()+".html"));
    29. }
    30. public slots:
    To copy to clipboard, switch view to plain text mode 

    3) When I loaded a project based on subdirs, I get this message saying that my projects has no targets, and thus I cannot execute it.

    4) Look into Issue 155 of QDevelop, it affects your application as well. http://code.google.com/p/qdevelop/issues/detail?id=155

    A few suggestions:
    5) Get rid of all the margins in the GUI. Qt4 uses a HUGE margin for layout, it wastes a lot of space in your application (which is very concentrated anyway). Remove the frames from the editors as well. No need for 3-5 margins. Qt4's problem I know, but you have to deal with it.

    6) You use 2 tab bars. Bar usability Idea. Wastes a lot of space. Search for a better solution.

    7) Open UI's in an external designer. I don't care that they are XML. I don't want to see the XML.

    8) The source zip file - put a version on it. Also on the directory inside it.
    Attached Images Attached Images

  2. The following user says thank you to elcuco for this useful post:

    magland (21st July 2007)

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
  •  
Qt is a trademark of The Qt Company.