Results 1 to 17 of 17

Thread: announce: Ideality 0.0.1 (library)

  1. #1
    Join Date
    Jan 2006
    Posts
    24
    Thanks
    2
    Thanked 2 Times in 2 Posts
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11

    Default announce: Ideality 0.0.1 (library)

    Hi guys,

    Today I release ideality, it can be downloaded from:

    http://kde-apps.org/content/show.php?content=44015


    enjoy!

  2. #2
    Join Date
    Mar 2006
    Location
    Mountain View, California
    Posts
    489
    Thanks
    3
    Thanked 74 Times in 54 Posts
    Qt products
    Qt3 Qt4 Qt/Embedded
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: announce: Ideality 0.0.1 (library)

    As a library, shouldn't it be released under a less restrictive license, such as the LGPL?

  3. #3
    Join Date
    Jan 2006
    Posts
    24
    Thanks
    2
    Thanked 2 Times in 2 Posts
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11

    Default Re: announce: Ideality 0.0.1 (library)

    new version is available!

    I added a main window factory, I tested it with QIde and Edyuk, take a look:

    http://www.ciudadmomia.com/~krawek/edyuk_ideality.png
    http://www.ciudadmomia.com/~krawek/qide_ideality.png

    @Brandybuck: No, I want to release it under GNU/GPL terms...

    cheers,

    --David Cuadrado

  4. #4
    Join Date
    Jul 2006
    Location
    Slovakia
    Posts
    17
    Thanks
    12
    Thanked 6 Times in 2 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: announce: Ideality 0.0.1 (library)

    Just wanted to try out on Win2000/mingw but the build failes:

    debug\moc_dmainwindow.cpp:46: error: definition of static data member 'DMainWind
    ow::staticMetaObject' of dllimport'd class.

    debug\moc_dmainwindow.cpp:46: warning: 'DMainWindow::staticMetaObject' defined l
    ocally after being referenced with dllimport linkage
    debug\moc_dmainwindow.cpp:83: warning: function 'void DMainWindow::workspaceChan
    ged(int)' is defined after prior declaration as dllimport: attribute ignored
    debug\moc_dmainwindow.cpp:83: warning: 'void DMainWindow::workspaceChanged(int)'
    defined locally after being referenced with dllimport linkage
    mingw32-make[2]: *** [debug\moc_dmainwindow.o] Error 1
    mingw32-make[2]: Leaving directory `F:/qt-devel/ideality-0.0.2/lib'
    mingw32-make[1]: *** [debug] Error 2
    mingw32-make[1]: Leaving directory `F:/qt-devel/ideality-0.0.2/lib'
    mingw32-make: *** [sub-lib-make_default] Error 2

    Qt 4.2.0-tp1, compilation gives also many many warnings..
    "What's this stuff" missing, not quite obvious what is this library good for.
    I can provide full compilation output if you are interested.

    Regards.

  5. #5
    Join Date
    Jan 2006
    Location
    travelling
    Posts
    1,116
    Thanks
    8
    Thanked 127 Times in 121 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: announce: Ideality 0.0.1 (library)

    Qt Code:
    1. #ifdef Q_WS_WIN
    2.  
    3. #ifdef IDEALITY_BUILD
    4. #define IDEALITY_API Q_DECL_EXPORT
    5. #else
    6. #define IDEALITY_API Q_DECL_IMPORT
    7. #endif
    8.  
    9. #else
    10. #define IDEALITY_API
    11. #endif
    To copy to clipboard, switch view to plain text mode 

    This definition and then placing this IDEALITY_API in front of each class name, in .h files would fix that. This is a windows specific stuff that occurs with shared libraries...

    example class definition :
    Qt Code:
    1. class IDEALITY_API DMainWindow
    To copy to clipboard, switch view to plain text mode 

    BTW what is "IDEAL-like programming" ??? I searched Google but didn't find anything relevant... What features/facilities does Ideality really provide??? I admit I'm a bit puzzled by your QIde and Edyuk modifications...
    Current Qt projects : QCodeEdit, RotiDeCode

  6. #6
    Join Date
    Jan 2006
    Posts
    24
    Thanks
    2
    Thanked 2 Times in 2 Posts
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11

    Default Re: announce: Ideality 0.0.1 (library)

    Hi fullmetalcoder,

    It's fixed but I've problems linking the demos.... code is here:

    http://www.ciudadmomia.com/~krawek/ideality-mp.tar.bz2


    BTW what is "IDEAL-like programming" ??? I searched Google but didn't find anything relevant... What features/facilities does Ideality really provide??? I admit I'm a bit puzzled by your QIde and Edyuk modifications...
    well, this lib provide several facilities, but I don't know how to explain them, so please see demos...

    Ideal is the (ui)mode used in kate, kdevelop, quanta...

    in google search: kmdi ideal

    and see: http://www.codejock.com/products/dockingpane/tour_3.asp
    Last edited by jacek; 19th August 2006 at 17:06. Reason: change [ code ] to [ quote ]

  7. #7
    Join Date
    Jan 2006
    Posts
    371
    Thanks
    14
    Thanked 18 Times in 17 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: announce: Ideality 0.0.1 (library)

    Hi,

    I have been looking at this library for the last half hour and I am quite impressed. It does some funky stuff, and it seems to integrate into Qt42.

    The problem I am facing is documentation. While the demos show some real funky shite, it's hard to understand how they work because of the amount of details you put in the demos.

    I am also puzzled about the integration with the designer. As far as I saw, all I have to do is to derive my main window from DMainWindow, using addToolView (instead of addDockWidget) and everything else is done automagically right?

    I am also confused by the different demos. I am still unsure about the difference between them. I also saw that you modified an example from Qt. What did you do to make it with your library? Only the new derive?

    I also saw that you have the concepts of Workspaces, which seem to me like Eclipse (whats the name... viewports...?). That seems like a nice idea.

    In short, the library looks cool, but if you want me to use it, teach me. Write documentation. Write usable documentation. Write small examples. Make much more documentation.

  8. #8
    Join Date
    Jan 2006
    Posts
    156
    Thanked 12 Times in 12 Posts
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Default Re: announce: Ideality 0.0.1 (library)

    I will be more concise than Elcuco because of my English. I think that Ideality can be a solution for the auto-hide Docks of QIde. The screenshots shows QIde used with the library. For the moment, I wait to see the evolutions and I have other more urgent integrations in QIde. But Ideality will certainly finish integrated in QIde.

    To finish I agree with Elcuco which very often has good opinions. It is for much in the evolutions of QIde.
    QDevelop, an complete Integrated Development Environment for Qt 4: http://qdevelop.org

  9. #9
    Join Date
    Jan 2006
    Posts
    24
    Thanks
    2
    Thanked 2 Times in 2 Posts
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11

    Default Re: announce: Ideality 0.0.1 (library)

    Quote Originally Posted by elcuco
    Hi,

    I have been looking at this library for the last half hour and I am quite impressed. It does some funky stuff, and it seems to integrate into Qt42.
    yes, I develop the library with Qt 4.2, but it's works with Qt 4.1 too.

    Quote Originally Posted by elcuco
    The problem I am facing is documentation. While the demos show some real funky shite, it's hard to understand how they work because of the amount of details you put in the demos.

    I am also puzzled about the integration with the designer. As far as I saw, all I have to do is to derive my main window from DMainWindow, using addToolView (instead of addDockWidget) and everything else is done automagically right?
    basically, yes.

    Quote Originally Posted by elcuco
    I am also confused by the different demos. I am still unsure about the difference between them. I also saw that you modified an example from Qt. What did you do to make it with your library? Only the new derive?
    the Qt demo is "converted" to ideality with DMainWindowFactory::create(QMainWindow *otherMainWindow);, I only change the main.cpp

    demo1: shows basic use of ideality
    demo2: shows DTabbedMainWindow
    demo3: DMainWindowFactory
    demo4: Basic workspaces usage
    demo5: workspaces with DTabbedMainWindow
    demo6: a complete example. Shows how to add menus and tool bars to the workspace.


    Quote Originally Posted by elcuco
    I also saw that you have the concepts of Workspaces, which seem to me like Eclipse (whats the name... viewports...?). That seems like a nice idea.
    yes, the elements in the 'workspace' are shown on demand using DMainWindow::setCurrentWorkspace(int wsp). I've checked eclipse, I will rename 'workspace' to 'perspective'. thanks =)


    Quote Originally Posted by elcuco
    In short, the library looks cool, but if you want me to use it, teach me. Write documentation. Write usable documentation. Write small examples. Make much more documentation.
    yes, the documentation is really bad... like my english :P. I'd be pleased if somebody want to help me to write the documentation.


    cheers

  10. #10
    Join Date
    Jan 2006
    Location
    travelling
    Posts
    1,116
    Thanks
    8
    Thanked 127 Times in 121 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: announce: Ideality 0.0.1 (library)

    Quote Originally Posted by krawek
    Hi fullmetalcoder,
    It's fixed but I've problems linking the demos.... code is here:

    Demo's project search libs in ../src/lib whil libs are in ../src/lib/release and ../src/lib/debug
    Change library and output dir and make the name of the bins reflect the mode (debug or release). As you have Edyuk installed you should take inspiration from the project file of the core lib and the .pri file.

    well, this lib provide several facilities, but I don't know how to explain them, so please see demos...

    Ideal is the (ui)mode used in kate, kdevelop, quanta...

    in google search: kmdi ideal

    and see: http://www.codejock.com/products/dockingpane/tour_3.asp
    I downloaded the code and tested. It's quite interesting but I don't see much things NEW. Dynamic menus are already supported by qmdilib, I have already implemented a perspective system in Edyuk and jlbrd has implemented auto-hide docks in QIde.

    Good job anyway and if you manage to implement the dock widgets as CodeJock does I may consider use Ideality.

    I'll look the sources and give you more feedback.

    P.S. should'nt the content of the central widget stay constant wathever the perspective???
    Current Qt projects : QCodeEdit, RotiDeCode

  11. #11
    Join Date
    Aug 2006
    Location
    Bangalore,India
    Posts
    419
    Thanks
    37
    Thanked 53 Times in 40 Posts
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11

    Default Re: announce: Ideality 0.0.1 (library)

    The ideality library is very promising but I have a problem.
    It works very fine for Qt4.2 but not for Qt4.1
    It has problem with manual docking for Qt 4.1.
    The screenshot of the demo attached might help.
    Attached Images Attached Images

  12. #12
    Join Date
    Jan 2006
    Location
    travelling
    Posts
    1,116
    Thanks
    8
    Thanked 127 Times in 121 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: announce: Ideality 0.0.1 (library)

    Quote Originally Posted by fullmetalcoder
    P.S. should'nt the content of the central widget stay constant wathever the perspective???
    Actually the better way should be to allow each perspective to have a "private workspace" but to keep a common "default" workspace for all perspectives that don't want a "private" one. (Note : when I speak of workspace I mean "central widget" which may be a QTabWidget or a QWorkspace, or even a mix of both...)
    Current Qt projects : QCodeEdit, RotiDeCode

  13. #13
    Join Date
    Jan 2006
    Posts
    24
    Thanks
    2
    Thanked 2 Times in 2 Posts
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11

    Default Re: announce: Ideality 0.0.1 (library)

    Quote Originally Posted by Gopala Krishna
    The ideality library is very promising but I have a problem.
    It works very fine for Qt4.2 but not for Qt4.1
    It has problem with manual docking for Qt 4.1.
    The screenshot of the demo attached might help.
    I can't reproduce this issue, please post the steps

    Quote Originally Posted by fullmetalcoder
    Actually the better way should be to allow each perspective to have a "private workspace" but to keep a common "default" workspace for all perspectives that don't want a "private" one. (Note : when I speak of workspace I mean "central widget" which may be a QTabWidget or a QWorkspace, or even a mix of both...)
    it's configurable, the next version will have a stacked main window and workspace (QWorkspace) main window....

  14. #14
    Join Date
    Jan 2006
    Posts
    24
    Thanks
    2
    Thanked 2 Times in 2 Posts
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11

    Default Re: announce: Ideality 0.0.1 (library)

    Version 0.1 is out!

  15. #15
    Join Date
    Aug 2006
    Location
    Bangalore,India
    Posts
    419
    Thanks
    37
    Thanked 53 Times in 40 Posts
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11

    Thumbs up Re: announce: Ideality 0.0.1 (library)

    Hello krawek,
    I have decided to use your library for qucs. The library is good and easy to use. Thanks for the library.
    May i know the current status of ideality ?

  16. #16
    Join Date
    Jan 2006
    Posts
    24
    Thanks
    2
    Thanked 2 Times in 2 Posts
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11

    Default Re: announce: Ideality 0.0.1 (library)

    Quote Originally Posted by Gopala Krishna View Post
    Hello krawek,
    I have decided to use your library for qucs. The library is good and easy to use. Thanks for the library.
    May i know the current status of ideality ?
    Hi ,

    I'm working on designer integration

  17. #17
    Join Date
    Aug 2006
    Location
    Bangalore,India
    Posts
    419
    Thanks
    37
    Thanked 53 Times in 40 Posts
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11

    Default Re: announce: Ideality 0.0.1 (library)

    There's a small bug in your library related to DTabbedMainWindow. The bug is that, the tabwidget shows response to wheelEvent even when mouse is not over tabbar. This results in an unexpected result of tabs changing when mouse is scrolled inside tabwidget(not on tabbar).
    The following code fixed this problem in my case. But i couldn't make this respond to wheelEvent when mouse is on tabbar over empty area (non tab area).

    Qt Code:
    1. class TabBarPrivate : public QTabBar
    2. {
    3. Q_OBJECT
    4. public:
    5. TabBarPrivate(QWidget *parent=0l) : QTabBar(parent) {}
    6. ~TabBarPrivate() {}
    7.  
    8. protected:
    9. virtual void wheelEvent( QWheelEvent *e );
    10. void wheelMove( int delta );
    11. };
    12.  
    13. void TabBarPrivate::wheelEvent( QWheelEvent *ev )
    14. {
    15. wheelMove( ev->delta() );
    16. }
    17.  
    18. void TabBarPrivate::wheelMove( int delta )
    19. {
    20. if ( count() > 1 )
    21. {
    22. int current = currentIndex();
    23. if ( delta < 0 )
    24. {
    25. current = (current + 1) % count();
    26. }
    27. else
    28. {
    29. current--;
    30. if ( current < 0 )
    31. current = count() - 1;
    32. }
    33. setCurrentIndex( current );
    34. }
    35. }
    36.  
    37. class TabWidgetPrivate : public QTabWidget
    38. {
    39. Q_OBJECT
    40. public:
    41. TabWidgetPrivate(QWidget *parent = 0);
    42. ~TabWidgetPrivate() {}
    43. };
    44.  
    45. TabWidgetPrivate::TabWidgetPrivate(QWidget *parent) : QTabWidget(parent)
    46. {
    47. setTabBar(new TabBarPrivate);
    48. }
    To copy to clipboard, switch view to plain text mode 

Similar Threads

  1. announce: qmdilib 0.0.1
    By elcuco in forum Qt-based Software
    Replies: 17
    Last Post: 28th April 2024, 19:24

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.