User:Dhaumann: Difference between revisions

    From KDE TechBase
    No edit summary
    No edit summary
    Line 17: Line 17:
    == attic ==
    == attic ==
    [[/Compiling KDE4|Setup a KDE4 development environment]]
    [[/Compiling KDE4|Setup a KDE4 development environment]]
    == Test ==
    {| class="sortable" border="1" cellpadding="5" cellspacing="0" style="border: gray solid 1px; border-collapse: collapse; text-align: left; width: 100%;"
    |- style="background: #ececec; #EEFFEE;-space:nowrap;"
    ! Status !! Project !! Description <div style="float:right;">(Contact)</div>
    |- valign=top style="background-color: #EEFFEE;;"
    | style="text-align:center; vertical-align:middle; background-color: #ABFFAB; width:10px;" | TODO
    | style="width:10px; vertical-align:middle;" | Project
    | style="vertical-align:middle; "| This is some dummy text. <div style="float:right;">[mailto:[email protected] Dummy User &lt;[email protected]&gt;]</div>
    |- valign=top style="background-color: #EEFFEE;;"
    | style="text-align:center; vertical-align:middle; background-color: #ABFFAB; width:10px;" | TODO
    | style="width:10px; vertical-align:middle;" | Project
    | style="vertical-align:middle; "| This is some dummy text to test wrap around. <div style="float:right;">[mailto:[email protected] Dummy User &lt;[email protected]&gt;]</div>
    |- valign=top style="background-color: #EEFFEE;;"
    | style="text-align:center; vertical-align:middle; background-color: #ABFFAB; width:10px;" | TODO
    | style="width:10px; vertical-align:middle;" | Project
    | style="vertical-align:middle; "| This is some dummy text to test wrap around. Test all scenarios to see what happens. <div style="float:right;">[mailto:[email protected] Dummy User &lt;[email protected]&gt;]</div>
    |- valign=top style="background-color: #EEFFEE;;"
    | style="text-align:center; vertical-align:middle; background-color: #ABFFAB; width:10px;" | TODO
    | style="width:10px; vertical-align:middle;" | Project
    | style="vertical-align:middle; "| This is some dummy text to test wrap around. Test all scenarios to see what happens with the position of the author. <div style="float:right;">[mailto:[email protected] Dummy User &lt;[email protected]&gt;]</div>
    |}
    == Todos ==
    todo: integrate (+ validate for kde4) those pages into sane locations ;)
    * Common Programming Mistakes
    : hey, the first one we have not ported yet. should be moved for kde4 into [[Development/Tutorials]] (TODO)
    :: Thinking more about it, it could be an extension of [[Policies/Library_Code_Policy]], i.e. as subpage like [[Policies/Library_Code_Policy/Common Mistakes]] (although it's not only about libraries...)
    * KDE Developer's Checklist
    : looks very old. if migrated, please fix it for kde3 or even kde4 (TODO)
    * What is Scripty?
    : indeed a TODO :)
    see: http://developer.kde.org/documentation/other/index.html
    == Reviewed Articles ==
    * [[Development/Tutorials/KDE4 Porting Guide]]
    * [[Development/Tutorials/CMake]]
    * [[Development/Tutorials/Common Programming Mistakes]]
    * [[Development/Tutorials/Using Qt Designer]]

    Revision as of 18:10, 7 June 2011

    Kate in KDE5

    Use Okular / Amarok's passive popup class to display things like "13 replacements done" or "Document successfully loaded". The needed class is PageViewMessage in the files pageviewutils.cpp and pageview.h. Maybe it is a good idea to alter the function slightly from

    void display( const QString & message, const QString & details = QString(), Icon icon = Info, int durationMs = 4000 );
    

    to

    void display( const QString & message, const QString & details = QString(), Icon icon = Info, Qt::Corner corner = Qt::TopLeft, durationMs = 4000 );
    

    TODO

    attic

    Setup a KDE4 development environment