From e16866e072f94410321d70daedbcb855ea878cac Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Sun, 6 Nov 2011 15:56:40 -0600 Subject: Actually move the kde files that were renamed in the last commit --- tdeui/AUTHORS | 97 + tdeui/CMakeLists.txt | 168 ++ tdeui/MAINTAINERS | 97 + tdeui/Mainpage.dox | 43 + tdeui/Makefile.am | 171 ++ tdeui/README.kspell | 17 + tdeui/TODO.kspell | 34 + tdeui/TODO.xmlgui | 91 + tdeui/about/CMakeLists.txt | 21 + tdeui/about/Makefile.am | 9 + tdeui/about/bar-bottom-left.png | Bin 0 -> 369 bytes tdeui/about/bar-bottom-middle.png | Bin 0 -> 160 bytes tdeui/about/bar-bottom-right.png | Bin 0 -> 346 bytes tdeui/about/bar-middle-left.png | Bin 0 -> 126 bytes tdeui/about/bar-middle-right.png | Bin 0 -> 141 bytes tdeui/about/bar-top-left.png | Bin 0 -> 358 bytes tdeui/about/bar-top-middle.png | Bin 0 -> 145 bytes tdeui/about/bar-top-right.png | Bin 0 -> 359 bytes tdeui/about/bottom-left.png | Bin 0 -> 665 bytes tdeui/about/bottom-middle.png | Bin 0 -> 174 bytes tdeui/about/bottom-right.png | Bin 0 -> 4922 bytes tdeui/about/box-bottom-left.png | Bin 0 -> 470 bytes tdeui/about/box-bottom-middle.png | Bin 0 -> 103 bytes tdeui/about/box-bottom-right.png | Bin 0 -> 462 bytes tdeui/about/box-middle-left.png | Bin 0 -> 95 bytes tdeui/about/box-middle-right.png | Bin 0 -> 95 bytes tdeui/about/box-top-left.png | Bin 0 -> 450 bytes tdeui/about/box-top-middle.png | Bin 0 -> 104 bytes tdeui/about/box-top-right.png | Bin 0 -> 496 bytes tdeui/about/kde_infopage.css | 239 ++ tdeui/about/kde_infopage_rtl.css | 11 + tdeui/about/top-left.png | Bin 0 -> 10867 bytes tdeui/about/top-middle.png | Bin 0 -> 233 bytes tdeui/about/usage-example.html | 64 + tdeui/aboutkde.png | Bin 0 -> 29600 bytes tdeui/colors/Makefile.am | 10 + tdeui/colors/README | 2 + tdeui/colors/rgb.txt | 753 +++++ tdeui/dcolorarrow.xbm | 6 + tdeui/dcolorreset.xpm | 19 + tdeui/kaboutapplication.cpp | 188 ++ tdeui/kaboutapplication.h | 94 + tdeui/kaboutdialog.cpp | 1797 ++++++++++++ tdeui/kaboutdialog.h | 633 +++++ tdeui/kaboutdialog_private.h | 143 + tdeui/kaboutkde.cpp | 87 + tdeui/kaboutkde.h | 62 + tdeui/kaccelgen.h | 280 ++ tdeui/kaction.cpp | 1288 +++++++++ tdeui/kaction.h | 676 +++++ tdeui/kactionclasses.cpp | 2421 ++++++++++++++++ tdeui/kactionclasses.h | 1436 ++++++++++ tdeui/kactioncollection.cpp | 802 ++++++ tdeui/kactioncollection.h | 393 +++ tdeui/kactionselector.cpp | 538 ++++ tdeui/kactionselector.h | 402 +++ tdeui/kactionshortcutlist.h | 79 + tdeui/kactivelabel.cpp | 142 + tdeui/kactivelabel.h | 87 + tdeui/kanimwidget.cpp | 212 ++ tdeui/kanimwidget.h | 144 + tdeui/karrowbutton.cpp | 113 + tdeui/karrowbutton.h | 94 + tdeui/kauthicon.cpp | 203 ++ tdeui/kauthicon.h | 173 ++ tdeui/kbugreport.cpp | 538 ++++ tdeui/kbugreport.h | 121 + tdeui/kbuttonbox.cpp | 377 +++ tdeui/kbuttonbox.h | 170 ++ tdeui/kcharselect.cpp | 546 ++++ tdeui/kcharselect.h | 266 ++ tdeui/kcmenumngr.cpp | 129 + tdeui/kcmenumngr.h | 116 + tdeui/kcmodule.cpp | 220 ++ tdeui/kcmodule.h | 361 +++ tdeui/kcolorbtn.h | 12 + tdeui/kcolorbutton.cpp | 207 ++ tdeui/kcolorbutton.h | 115 + tdeui/kcolorcombo.cpp | 264 ++ tdeui/kcolorcombo.h | 95 + tdeui/kcolordialog.cpp | 1616 +++++++++++ tdeui/kcolordialog.h | 496 ++++ tdeui/kcolordlg.h | 6 + tdeui/kcolordrag.cpp | 112 + tdeui/kcolordrag.h | 79 + tdeui/kcombobox.cpp | 797 ++++++ tdeui/kcombobox.h | 825 ++++++ tdeui/kcommand.cpp | 379 +++ tdeui/kcommand.h | 289 ++ tdeui/kcompletionbox.cpp | 562 ++++ tdeui/kcompletionbox.h | 246 ++ tdeui/kconfigdialog.cpp | 259 ++ tdeui/kconfigdialog.h | 279 ++ tdeui/kcursor.cpp | 434 +++ tdeui/kcursor.h | 224 ++ tdeui/kcursor_private.h | 99 + tdeui/kdatepicker.cpp | 549 ++++ tdeui/kdatepicker.h | 257 ++ tdeui/kdatepik.h | 6 + tdeui/kdatetbl.cpp | 1031 +++++++ tdeui/kdatetbl.h | 447 +++ tdeui/kdatetimewidget.cpp | 74 + tdeui/kdatetimewidget.h | 92 + tdeui/kdatewidget.cpp | 177 ++ tdeui/kdatewidget.h | 90 + tdeui/kdcopactionproxy.cpp | 159 ++ tdeui/kdcopactionproxy.h | 112 + tdeui/kdepackages.h | 1301 +++++++++ tdeui/kdetrayproxy/CMakeLists.txt | 46 + tdeui/kdetrayproxy/Makefile.am | 13 + tdeui/kdetrayproxy/kdetrayproxy.cpp | 194 ++ tdeui/kdetrayproxy/kdetrayproxy.desktop | 134 + tdeui/kdetrayproxy/kdetrayproxy.h | 50 + tdeui/kdetrayproxy/module.cpp | 33 + tdeui/kdetrayproxy/module.h | 39 + tdeui/kdialog.cpp | 496 ++++ tdeui/kdialog.h | 259 ++ tdeui/kdialogbase.cpp | 1844 +++++++++++++ tdeui/kdialogbase.h | 1632 +++++++++++ tdeui/kdialogbase_priv.h | 71 + tdeui/kdockwidget.cpp | 3331 +++++++++++++++++++++++ tdeui/kdockwidget.h | 1553 +++++++++++ tdeui/kdockwidget_p.h | 89 + tdeui/kdockwidget_private.cpp | 712 +++++ tdeui/kdockwidget_private.h | 335 +++ tdeui/kdockwindow.h | 41 + tdeui/kdualcolorbtn.h | 6 + tdeui/kdualcolorbutton.cpp | 283 ++ tdeui/kdualcolorbutton.h | 159 ++ tdeui/keditcl.h | 436 +++ tdeui/keditcl1.cpp | 718 +++++ tdeui/keditcl2.cpp | 1127 ++++++++ tdeui/keditlistbox.cpp | 418 +++ tdeui/keditlistbox.h | 279 ++ tdeui/kedittoolbar.cpp | 1455 ++++++++++ tdeui/kedittoolbar.h | 439 +++ tdeui/kfontcombo.cpp | 382 +++ tdeui/kfontcombo.h | 179 ++ tdeui/kfontdialog.cpp | 799 ++++++ tdeui/kfontdialog.h | 504 ++++ tdeui/kfontrequester.cpp | 127 + tdeui/kfontrequester.h | 157 ++ tdeui/kguiitem.cpp | 229 ++ tdeui/kguiitem.h | 98 + tdeui/khelpmenu.cpp | 321 +++ tdeui/khelpmenu.h | 281 ++ tdeui/kiconview.cpp | 751 +++++ tdeui/kiconview.h | 281 ++ tdeui/kiconviewsearchline.cpp | 308 +++ tdeui/kiconviewsearchline.h | 184 ++ tdeui/kinputdialog.cpp | 472 ++++ tdeui/kinputdialog.h | 292 ++ tdeui/kjanuswidget.cpp | 1255 +++++++++ tdeui/kjanuswidget.h | 615 +++++ tdeui/kkeybutton.cpp | 178 ++ tdeui/kkeybutton.h | 91 + tdeui/kkeydialog.cpp | 1209 ++++++++ tdeui/kkeydialog.h | 407 +++ tdeui/klanguagebutton.cpp | 284 ++ tdeui/klanguagebutton.h | 182 ++ tdeui/kled.cpp | 644 +++++ tdeui/kled.h | 329 +++ tdeui/klineedit.cpp | 1382 ++++++++++ tdeui/klineedit.h | 656 +++++ tdeui/klineeditdlg.cpp | 194 ++ tdeui/klineeditdlg.h | 127 + tdeui/klistbox.cpp | 266 ++ tdeui/klistbox.h | 128 + tdeui/klistview.cpp | 2365 ++++++++++++++++ tdeui/klistview.h | 1086 ++++++++ tdeui/klistviewlineedit.h | 65 + tdeui/klistviewsearchline.cpp | 501 ++++ tdeui/klistviewsearchline.h | 264 ++ tdeui/kmainwindow.cpp | 1249 +++++++++ tdeui/kmainwindow.h | 1076 ++++++++ tdeui/kmainwindowiface.cpp | 194 ++ tdeui/kmainwindowiface.h | 161 ++ tdeui/kmenubar.cpp | 571 ++++ tdeui/kmenubar.h | 114 + tdeui/kmessagebox.cpp | 1071 ++++++++ tdeui/kmessagebox.h | 1166 ++++++++ tdeui/knuminput.cpp | 1180 ++++++++ tdeui/knuminput.h | 962 +++++++ tdeui/knumvalidator.cpp | 371 +++ tdeui/knumvalidator.h | 212 ++ tdeui/kpanelapplet.cpp | 198 ++ tdeui/kpanelapplet.h | 395 +++ tdeui/kpanelappmenu.cpp | 182 ++ tdeui/kpanelappmenu.h | 99 + tdeui/kpanelextension.cpp | 163 ++ tdeui/kpanelextension.h | 345 +++ tdeui/kpanelmenu.cpp | 158 ++ tdeui/kpanelmenu.h | 182 ++ tdeui/kpartgui.dtd | 181 ++ tdeui/kpassdlg.cpp | 724 +++++ tdeui/kpassdlg.h | 414 +++ tdeui/kpassivepopup.cpp | 499 ++++ tdeui/kpassivepopup.h | 368 +++ tdeui/kpixmapio-perf.png | Bin 0 -> 3899 bytes tdeui/kpixmapio.cpp | 908 ++++++ tdeui/kpixmapio.h | 185 ++ tdeui/kpixmapregionselectordialog.cpp | 127 + tdeui/kpixmapregionselectordialog.h | 107 + tdeui/kpixmapregionselectorwidget.cpp | 450 +++ tdeui/kpixmapregionselectorwidget.h | 170 ++ tdeui/kpopupmenu.cpp | 694 +++++ tdeui/kpopupmenu.h | 282 ++ tdeui/kprogress.cpp | 414 +++ tdeui/kprogress.h | 401 +++ tdeui/kprogressbox.cpp | 316 +++ tdeui/kprogressbox.h | 291 ++ tdeui/kpushbutton.cpp | 220 ++ tdeui/kpushbutton.h | 161 ++ tdeui/krestrictedline.cpp | 81 + tdeui/krestrictedline.h | 95 + tdeui/krootpixmap.cpp | 347 +++ tdeui/krootpixmap.h | 240 ++ tdeui/kruler.cpp | 742 +++++ tdeui/kruler.h | 521 ++++ tdeui/ksconfig.cpp | 1028 +++++++ tdeui/ksconfig.h | 293 ++ tdeui/kscrollview.cpp | 189 ++ tdeui/kscrollview.h | 62 + tdeui/kselect.cpp | 534 ++++ tdeui/kselect.h | 373 +++ tdeui/kseparator.cpp | 116 + tdeui/kseparator.h | 87 + tdeui/ksharedpixmap.cpp | 228 ++ tdeui/ksharedpixmap.h | 120 + tdeui/kshortcutdialog.cpp | 529 ++++ tdeui/kshortcutdialog.h | 96 + tdeui/kshortcutdialog_advanced.ui | 254 ++ tdeui/kshortcutdialog_simple.ui | 120 + tdeui/kspell.cpp | 1577 +++++++++++ tdeui/kspell.h | 568 ++++ tdeui/kspelldlg.cpp | 285 ++ tdeui/kspelldlg.h | 114 + tdeui/kspellui.ui | 300 ++ tdeui/ksplashscreen.cpp | 42 + tdeui/ksplashscreen.h | 62 + tdeui/ksqueezedtextlabel.cpp | 87 + tdeui/ksqueezedtextlabel.h | 84 + tdeui/kstatusbar.cpp | 156 ++ tdeui/kstatusbar.h | 208 ++ tdeui/kstdaction.cpp | 323 +++ tdeui/kstdaction.h | 614 +++++ tdeui/kstdaction_p.h | 139 + tdeui/kstdguiitem.cpp | 287 ++ tdeui/kstdguiitem.h | 183 ++ tdeui/kstringvalidator.cpp | 90 + tdeui/kstringvalidator.h | 141 + tdeui/kswitchlanguagedialog.cpp | 349 +++ tdeui/kswitchlanguagedialog.h | 87 + tdeui/ksyntaxhighlighter.cpp | 677 +++++ tdeui/ksyntaxhighlighter.h | 184 ++ tdeui/ksystemtray.cpp | 350 +++ tdeui/ksystemtray.h | 216 ++ tdeui/ktabbar.cpp | 427 +++ tdeui/ktabbar.h | 113 + tdeui/ktabctl.cpp | 336 +++ tdeui/ktabctl.h | 90 + tdeui/ktabwidget.cpp | 526 ++++ tdeui/ktabwidget.h | 294 ++ tdeui/ktextbrowser.cpp | 145 + tdeui/ktextbrowser.h | 133 + tdeui/ktextedit.cpp | 419 +++ tdeui/ktextedit.h | 174 ++ tdeui/ktimewidget.cpp | 58 + tdeui/ktimewidget.h | 86 + tdeui/ktimezonewidget.cpp | 133 + tdeui/ktimezonewidget.h | 112 + tdeui/ktip-background.png | Bin 0 -> 190 bytes tdeui/ktip-bulb.png | Bin 0 -> 14134 bytes tdeui/ktip.cpp | 447 +++ tdeui/ktip.h | 192 ++ tdeui/ktoolbar.cpp | 2264 +++++++++++++++ tdeui/ktoolbar.h | 1130 ++++++++ tdeui/ktoolbarbutton.cpp | 781 ++++++ tdeui/ktoolbarbutton.h | 331 +++ tdeui/ktoolbarhandler.cpp | 246 ++ tdeui/ktoolbarhandler.h | 69 + tdeui/ktoolbarlabelaction.cpp | 117 + tdeui/ktoolbarlabelaction.h | 137 + tdeui/ktoolbarradiogroup.cpp | 77 + tdeui/ktoolbarradiogroup.h | 88 + tdeui/kurllabel.cpp | 450 +++ tdeui/kurllabel.h | 411 +++ tdeui/kwhatsthismanager.cpp | 121 + tdeui/kwhatsthismanager_p.h | 58 + tdeui/kwindowinfo.cpp | 178 ++ tdeui/kwindowinfo.h | 145 + tdeui/kwindowlistmenu.cpp | 257 ++ tdeui/kwindowlistmenu.h | 74 + tdeui/kwizard.cpp | 57 + tdeui/kwizard.h | 62 + tdeui/kwordwrap.cpp | 269 ++ tdeui/kwordwrap.h | 149 + tdeui/kxmlgui.h | 6 + tdeui/kxmlgui.xsd | 445 +++ tdeui/kxmlguibuilder.cpp | 441 +++ tdeui/kxmlguibuilder.h | 96 + tdeui/kxmlguiclient.cpp | 951 +++++++ tdeui/kxmlguiclient.h | 367 +++ tdeui/kxmlguifactory.cpp | 614 +++++ tdeui/kxmlguifactory.h | 220 ++ tdeui/kxmlguifactory_p.cpp | 836 ++++++ tdeui/kxmlguifactory_p.h | 254 ++ tdeui/libtdeui.nmcheck | 5 + tdeui/libtdeui_weak.nmcheck | 2 + tdeui/preparetips | 66 + tdeui/qxembed.cpp | 1450 ++++++++++ tdeui/qxembed.h | 244 ++ tdeui/tests/CMakeLists.txt | 49 + tdeui/tests/Makefile.am | 105 + tdeui/tests/RayTracedGear.png | Bin 0 -> 5844 bytes tdeui/tests/background_1.png | Bin 0 -> 7209 bytes tdeui/tests/go.png | Bin 0 -> 3286 bytes tdeui/tests/itemcontainertest.cpp | 225 ++ tdeui/tests/itemcontainertest.h | 45 + tdeui/tests/kaboutdialogtest.cpp | 72 + tdeui/tests/kaccelgentest.cpp | 51 + tdeui/tests/kactiontest.cpp | 38 + tdeui/tests/kalphaicontest.h | 24 + tdeui/tests/kblendtest.cpp | 98 + tdeui/tests/kblendtest.h | 24 + tdeui/tests/kbuttonboxtest.cpp | 205 ++ tdeui/tests/kcharselecttest.cpp | 16 + tdeui/tests/kcolordlgtest.cpp | 41 + tdeui/tests/kcolortest.cpp | 169 ++ tdeui/tests/kcolortest.h | 21 + tdeui/tests/kcomboboxtest.cpp | 227 ++ tdeui/tests/kcomboboxtest.h | 44 + tdeui/tests/kcompletiontest.cpp | 198 ++ tdeui/tests/kcompletiontest.h | 67 + tdeui/tests/kdatepicktest.cpp | 16 + tdeui/tests/kdatetimewidgettest.cpp | 14 + tdeui/tests/kdatewidgettest.cpp | 16 + tdeui/tests/kdesattest.cpp | 65 + tdeui/tests/kdesattest.h | 31 + tdeui/tests/kdialogbasetest.cpp | 77 + tdeui/tests/kdocktest.cpp | 65 + tdeui/tests/kdocktest.h | 19 + tdeui/tests/kdockwidgetdemo.cpp | 796 ++++++ tdeui/tests/kdockwidgetdemo.h | 164 ++ tdeui/tests/kdockwidgettest.cpp | 255 ++ tdeui/tests/kdockwidgettest.h | 72 + tdeui/tests/kdualcolortest.cpp | 63 + tdeui/tests/kdualcolortest.h | 20 + tdeui/tests/keditlistboxtest.cpp | 21 + tdeui/tests/kedittest.cpp | 14 + tdeui/tests/kfontdialogtest.cpp | 51 + tdeui/tests/kgradienttest.cpp | 108 + tdeui/tests/kgradienttest.h | 24 + tdeui/tests/khashtest.cpp | 137 + tdeui/tests/khashtest.h | 26 + tdeui/tests/kinputdialogtest.cpp | 67 + tdeui/tests/kjanuswidgettest.cpp | 25 + tdeui/tests/kledtest.cpp | 160 ++ tdeui/tests/kledtest.h | 56 + tdeui/tests/klineeditdlgtest.cpp | 19 + tdeui/tests/klineedittest.cpp | 137 + tdeui/tests/klineedittest.h | 41 + tdeui/tests/klistviewtest.cpp | 39 + tdeui/tests/kmainwindowrestoretest.cpp | 41 + tdeui/tests/kmainwindowrestoretest.h | 48 + tdeui/tests/kmainwindowtest.cpp | 38 + tdeui/tests/kmainwindowtest.h | 18 + tdeui/tests/kmessageboxtest.cpp | 242 ++ tdeui/tests/knuminputtest.cpp | 145 + tdeui/tests/knuminputtest.h | 23 + tdeui/tests/kpalettetest.cpp | 38 + tdeui/tests/kpanelmenutest.cpp | 72 + tdeui/tests/kpanelmenutest.h | 21 + tdeui/tests/kpixmapregionselectordialogtest.cpp | 33 + tdeui/tests/kpopuptest.cpp | 40 + tdeui/tests/kprogresstest.cpp | 58 + tdeui/tests/krulertest.cpp | 375 +++ tdeui/tests/krulertest.h | 91 + tdeui/tests/kseparatortest.cpp | 51 + tdeui/tests/kspelltest.cpp | 57 + tdeui/tests/ksqueezedtextlabeltest.cpp | 13 + tdeui/tests/kstatusbartest.cpp | 121 + tdeui/tests/kstatusbartest.h | 33 + tdeui/tests/ksystemtraytest.cpp | 14 + tdeui/tests/ktabctltest.cpp | 105 + tdeui/tests/ktabctltest.h | 30 + tdeui/tests/ktabwidgettest.cpp | 366 +++ tdeui/tests/ktabwidgettest.h | 69 + tdeui/tests/ktextedittest.cpp | 43 + tdeui/tests/ktimewidgettest.cpp | 14 + tdeui/tests/ktoolbarlabelactiontest.cpp | 97 + tdeui/tests/ktoolbarlabelactiontestui.rc | 9 + tdeui/tests/kunbalancedgrdtest.cpp | 176 ++ tdeui/tests/kunbalancedgrdtest.h | 49 + tdeui/tests/kwindowtest.cpp | 528 ++++ tdeui/tests/kwindowtest.h | 71 + tdeui/tests/kwizardtest.cpp | 54 + tdeui/tests/kwordwraptest.cpp | 43 + tdeui/tests/kxmlguitest.cpp | 64 + tdeui/tests/kxmlguitest.h | 19 + tdeui/tests/kxmlguitest_part.rc | 8 + tdeui/tests/kxmlguitest_shell.rc | 7 + tdeui/tests/qxembedtest.cpp | 88 + tdeui/tests/testimage.png | Bin 0 -> 35951 bytes tdeui/ui_standards.rc | 211 ++ 405 files changed, 117890 insertions(+) create mode 100644 tdeui/AUTHORS create mode 100644 tdeui/CMakeLists.txt create mode 100644 tdeui/MAINTAINERS create mode 100644 tdeui/Mainpage.dox create mode 100644 tdeui/Makefile.am create mode 100644 tdeui/README.kspell create mode 100644 tdeui/TODO.kspell create mode 100644 tdeui/TODO.xmlgui create mode 100644 tdeui/about/CMakeLists.txt create mode 100644 tdeui/about/Makefile.am create mode 100644 tdeui/about/bar-bottom-left.png create mode 100644 tdeui/about/bar-bottom-middle.png create mode 100644 tdeui/about/bar-bottom-right.png create mode 100644 tdeui/about/bar-middle-left.png create mode 100644 tdeui/about/bar-middle-right.png create mode 100644 tdeui/about/bar-top-left.png create mode 100644 tdeui/about/bar-top-middle.png create mode 100644 tdeui/about/bar-top-right.png create mode 100644 tdeui/about/bottom-left.png create mode 100644 tdeui/about/bottom-middle.png create mode 100644 tdeui/about/bottom-right.png create mode 100644 tdeui/about/box-bottom-left.png create mode 100644 tdeui/about/box-bottom-middle.png create mode 100644 tdeui/about/box-bottom-right.png create mode 100644 tdeui/about/box-middle-left.png create mode 100644 tdeui/about/box-middle-right.png create mode 100644 tdeui/about/box-top-left.png create mode 100644 tdeui/about/box-top-middle.png create mode 100644 tdeui/about/box-top-right.png create mode 100644 tdeui/about/kde_infopage.css create mode 100644 tdeui/about/kde_infopage_rtl.css create mode 100644 tdeui/about/top-left.png create mode 100644 tdeui/about/top-middle.png create mode 100644 tdeui/about/usage-example.html create mode 100644 tdeui/aboutkde.png create mode 100644 tdeui/colors/Makefile.am create mode 100644 tdeui/colors/README create mode 100644 tdeui/colors/rgb.txt create mode 100644 tdeui/dcolorarrow.xbm create mode 100644 tdeui/dcolorreset.xpm create mode 100644 tdeui/kaboutapplication.cpp create mode 100644 tdeui/kaboutapplication.h create mode 100644 tdeui/kaboutdialog.cpp create mode 100644 tdeui/kaboutdialog.h create mode 100644 tdeui/kaboutdialog_private.h create mode 100644 tdeui/kaboutkde.cpp create mode 100644 tdeui/kaboutkde.h create mode 100644 tdeui/kaccelgen.h create mode 100644 tdeui/kaction.cpp create mode 100644 tdeui/kaction.h create mode 100644 tdeui/kactionclasses.cpp create mode 100644 tdeui/kactionclasses.h create mode 100644 tdeui/kactioncollection.cpp create mode 100644 tdeui/kactioncollection.h create mode 100644 tdeui/kactionselector.cpp create mode 100644 tdeui/kactionselector.h create mode 100644 tdeui/kactionshortcutlist.h create mode 100644 tdeui/kactivelabel.cpp create mode 100644 tdeui/kactivelabel.h create mode 100644 tdeui/kanimwidget.cpp create mode 100644 tdeui/kanimwidget.h create mode 100644 tdeui/karrowbutton.cpp create mode 100644 tdeui/karrowbutton.h create mode 100644 tdeui/kauthicon.cpp create mode 100644 tdeui/kauthicon.h create mode 100644 tdeui/kbugreport.cpp create mode 100644 tdeui/kbugreport.h create mode 100644 tdeui/kbuttonbox.cpp create mode 100644 tdeui/kbuttonbox.h create mode 100644 tdeui/kcharselect.cpp create mode 100644 tdeui/kcharselect.h create mode 100644 tdeui/kcmenumngr.cpp create mode 100644 tdeui/kcmenumngr.h create mode 100644 tdeui/kcmodule.cpp create mode 100644 tdeui/kcmodule.h create mode 100644 tdeui/kcolorbtn.h create mode 100644 tdeui/kcolorbutton.cpp create mode 100644 tdeui/kcolorbutton.h create mode 100644 tdeui/kcolorcombo.cpp create mode 100644 tdeui/kcolorcombo.h create mode 100644 tdeui/kcolordialog.cpp create mode 100644 tdeui/kcolordialog.h create mode 100644 tdeui/kcolordlg.h create mode 100644 tdeui/kcolordrag.cpp create mode 100644 tdeui/kcolordrag.h create mode 100644 tdeui/kcombobox.cpp create mode 100644 tdeui/kcombobox.h create mode 100644 tdeui/kcommand.cpp create mode 100644 tdeui/kcommand.h create mode 100644 tdeui/kcompletionbox.cpp create mode 100644 tdeui/kcompletionbox.h create mode 100644 tdeui/kconfigdialog.cpp create mode 100644 tdeui/kconfigdialog.h create mode 100644 tdeui/kcursor.cpp create mode 100644 tdeui/kcursor.h create mode 100644 tdeui/kcursor_private.h create mode 100644 tdeui/kdatepicker.cpp create mode 100644 tdeui/kdatepicker.h create mode 100644 tdeui/kdatepik.h create mode 100644 tdeui/kdatetbl.cpp create mode 100644 tdeui/kdatetbl.h create mode 100644 tdeui/kdatetimewidget.cpp create mode 100644 tdeui/kdatetimewidget.h create mode 100644 tdeui/kdatewidget.cpp create mode 100644 tdeui/kdatewidget.h create mode 100644 tdeui/kdcopactionproxy.cpp create mode 100644 tdeui/kdcopactionproxy.h create mode 100644 tdeui/kdepackages.h create mode 100644 tdeui/kdetrayproxy/CMakeLists.txt create mode 100644 tdeui/kdetrayproxy/Makefile.am create mode 100644 tdeui/kdetrayproxy/kdetrayproxy.cpp create mode 100644 tdeui/kdetrayproxy/kdetrayproxy.desktop create mode 100644 tdeui/kdetrayproxy/kdetrayproxy.h create mode 100644 tdeui/kdetrayproxy/module.cpp create mode 100644 tdeui/kdetrayproxy/module.h create mode 100644 tdeui/kdialog.cpp create mode 100644 tdeui/kdialog.h create mode 100644 tdeui/kdialogbase.cpp create mode 100644 tdeui/kdialogbase.h create mode 100644 tdeui/kdialogbase_priv.h create mode 100644 tdeui/kdockwidget.cpp create mode 100644 tdeui/kdockwidget.h create mode 100644 tdeui/kdockwidget_p.h create mode 100644 tdeui/kdockwidget_private.cpp create mode 100644 tdeui/kdockwidget_private.h create mode 100644 tdeui/kdockwindow.h create mode 100644 tdeui/kdualcolorbtn.h create mode 100644 tdeui/kdualcolorbutton.cpp create mode 100644 tdeui/kdualcolorbutton.h create mode 100644 tdeui/keditcl.h create mode 100644 tdeui/keditcl1.cpp create mode 100644 tdeui/keditcl2.cpp create mode 100644 tdeui/keditlistbox.cpp create mode 100644 tdeui/keditlistbox.h create mode 100644 tdeui/kedittoolbar.cpp create mode 100644 tdeui/kedittoolbar.h create mode 100644 tdeui/kfontcombo.cpp create mode 100644 tdeui/kfontcombo.h create mode 100644 tdeui/kfontdialog.cpp create mode 100644 tdeui/kfontdialog.h create mode 100644 tdeui/kfontrequester.cpp create mode 100644 tdeui/kfontrequester.h create mode 100644 tdeui/kguiitem.cpp create mode 100644 tdeui/kguiitem.h create mode 100644 tdeui/khelpmenu.cpp create mode 100644 tdeui/khelpmenu.h create mode 100644 tdeui/kiconview.cpp create mode 100644 tdeui/kiconview.h create mode 100644 tdeui/kiconviewsearchline.cpp create mode 100644 tdeui/kiconviewsearchline.h create mode 100644 tdeui/kinputdialog.cpp create mode 100644 tdeui/kinputdialog.h create mode 100644 tdeui/kjanuswidget.cpp create mode 100644 tdeui/kjanuswidget.h create mode 100644 tdeui/kkeybutton.cpp create mode 100644 tdeui/kkeybutton.h create mode 100644 tdeui/kkeydialog.cpp create mode 100644 tdeui/kkeydialog.h create mode 100644 tdeui/klanguagebutton.cpp create mode 100644 tdeui/klanguagebutton.h create mode 100644 tdeui/kled.cpp create mode 100644 tdeui/kled.h create mode 100644 tdeui/klineedit.cpp create mode 100644 tdeui/klineedit.h create mode 100644 tdeui/klineeditdlg.cpp create mode 100644 tdeui/klineeditdlg.h create mode 100644 tdeui/klistbox.cpp create mode 100644 tdeui/klistbox.h create mode 100644 tdeui/klistview.cpp create mode 100644 tdeui/klistview.h create mode 100644 tdeui/klistviewlineedit.h create mode 100644 tdeui/klistviewsearchline.cpp create mode 100644 tdeui/klistviewsearchline.h create mode 100644 tdeui/kmainwindow.cpp create mode 100644 tdeui/kmainwindow.h create mode 100644 tdeui/kmainwindowiface.cpp create mode 100644 tdeui/kmainwindowiface.h create mode 100644 tdeui/kmenubar.cpp create mode 100644 tdeui/kmenubar.h create mode 100644 tdeui/kmessagebox.cpp create mode 100644 tdeui/kmessagebox.h create mode 100644 tdeui/knuminput.cpp create mode 100644 tdeui/knuminput.h create mode 100644 tdeui/knumvalidator.cpp create mode 100644 tdeui/knumvalidator.h create mode 100644 tdeui/kpanelapplet.cpp create mode 100644 tdeui/kpanelapplet.h create mode 100644 tdeui/kpanelappmenu.cpp create mode 100644 tdeui/kpanelappmenu.h create mode 100644 tdeui/kpanelextension.cpp create mode 100644 tdeui/kpanelextension.h create mode 100644 tdeui/kpanelmenu.cpp create mode 100644 tdeui/kpanelmenu.h create mode 100644 tdeui/kpartgui.dtd create mode 100644 tdeui/kpassdlg.cpp create mode 100644 tdeui/kpassdlg.h create mode 100644 tdeui/kpassivepopup.cpp create mode 100644 tdeui/kpassivepopup.h create mode 100644 tdeui/kpixmapio-perf.png create mode 100644 tdeui/kpixmapio.cpp create mode 100644 tdeui/kpixmapio.h create mode 100644 tdeui/kpixmapregionselectordialog.cpp create mode 100644 tdeui/kpixmapregionselectordialog.h create mode 100644 tdeui/kpixmapregionselectorwidget.cpp create mode 100644 tdeui/kpixmapregionselectorwidget.h create mode 100644 tdeui/kpopupmenu.cpp create mode 100644 tdeui/kpopupmenu.h create mode 100644 tdeui/kprogress.cpp create mode 100644 tdeui/kprogress.h create mode 100644 tdeui/kprogressbox.cpp create mode 100644 tdeui/kprogressbox.h create mode 100644 tdeui/kpushbutton.cpp create mode 100644 tdeui/kpushbutton.h create mode 100644 tdeui/krestrictedline.cpp create mode 100644 tdeui/krestrictedline.h create mode 100644 tdeui/krootpixmap.cpp create mode 100644 tdeui/krootpixmap.h create mode 100644 tdeui/kruler.cpp create mode 100644 tdeui/kruler.h create mode 100644 tdeui/ksconfig.cpp create mode 100644 tdeui/ksconfig.h create mode 100644 tdeui/kscrollview.cpp create mode 100644 tdeui/kscrollview.h create mode 100644 tdeui/kselect.cpp create mode 100644 tdeui/kselect.h create mode 100644 tdeui/kseparator.cpp create mode 100644 tdeui/kseparator.h create mode 100644 tdeui/ksharedpixmap.cpp create mode 100644 tdeui/ksharedpixmap.h create mode 100644 tdeui/kshortcutdialog.cpp create mode 100644 tdeui/kshortcutdialog.h create mode 100644 tdeui/kshortcutdialog_advanced.ui create mode 100644 tdeui/kshortcutdialog_simple.ui create mode 100644 tdeui/kspell.cpp create mode 100644 tdeui/kspell.h create mode 100644 tdeui/kspelldlg.cpp create mode 100644 tdeui/kspelldlg.h create mode 100644 tdeui/kspellui.ui create mode 100644 tdeui/ksplashscreen.cpp create mode 100644 tdeui/ksplashscreen.h create mode 100644 tdeui/ksqueezedtextlabel.cpp create mode 100644 tdeui/ksqueezedtextlabel.h create mode 100644 tdeui/kstatusbar.cpp create mode 100644 tdeui/kstatusbar.h create mode 100644 tdeui/kstdaction.cpp create mode 100644 tdeui/kstdaction.h create mode 100644 tdeui/kstdaction_p.h create mode 100644 tdeui/kstdguiitem.cpp create mode 100644 tdeui/kstdguiitem.h create mode 100644 tdeui/kstringvalidator.cpp create mode 100644 tdeui/kstringvalidator.h create mode 100644 tdeui/kswitchlanguagedialog.cpp create mode 100644 tdeui/kswitchlanguagedialog.h create mode 100644 tdeui/ksyntaxhighlighter.cpp create mode 100644 tdeui/ksyntaxhighlighter.h create mode 100644 tdeui/ksystemtray.cpp create mode 100644 tdeui/ksystemtray.h create mode 100644 tdeui/ktabbar.cpp create mode 100644 tdeui/ktabbar.h create mode 100644 tdeui/ktabctl.cpp create mode 100644 tdeui/ktabctl.h create mode 100644 tdeui/ktabwidget.cpp create mode 100644 tdeui/ktabwidget.h create mode 100644 tdeui/ktextbrowser.cpp create mode 100644 tdeui/ktextbrowser.h create mode 100644 tdeui/ktextedit.cpp create mode 100644 tdeui/ktextedit.h create mode 100644 tdeui/ktimewidget.cpp create mode 100644 tdeui/ktimewidget.h create mode 100644 tdeui/ktimezonewidget.cpp create mode 100644 tdeui/ktimezonewidget.h create mode 100644 tdeui/ktip-background.png create mode 100644 tdeui/ktip-bulb.png create mode 100644 tdeui/ktip.cpp create mode 100644 tdeui/ktip.h create mode 100644 tdeui/ktoolbar.cpp create mode 100644 tdeui/ktoolbar.h create mode 100644 tdeui/ktoolbarbutton.cpp create mode 100644 tdeui/ktoolbarbutton.h create mode 100644 tdeui/ktoolbarhandler.cpp create mode 100644 tdeui/ktoolbarhandler.h create mode 100644 tdeui/ktoolbarlabelaction.cpp create mode 100644 tdeui/ktoolbarlabelaction.h create mode 100644 tdeui/ktoolbarradiogroup.cpp create mode 100644 tdeui/ktoolbarradiogroup.h create mode 100644 tdeui/kurllabel.cpp create mode 100644 tdeui/kurllabel.h create mode 100644 tdeui/kwhatsthismanager.cpp create mode 100644 tdeui/kwhatsthismanager_p.h create mode 100644 tdeui/kwindowinfo.cpp create mode 100644 tdeui/kwindowinfo.h create mode 100644 tdeui/kwindowlistmenu.cpp create mode 100644 tdeui/kwindowlistmenu.h create mode 100644 tdeui/kwizard.cpp create mode 100644 tdeui/kwizard.h create mode 100644 tdeui/kwordwrap.cpp create mode 100644 tdeui/kwordwrap.h create mode 100644 tdeui/kxmlgui.h create mode 100644 tdeui/kxmlgui.xsd create mode 100644 tdeui/kxmlguibuilder.cpp create mode 100644 tdeui/kxmlguibuilder.h create mode 100644 tdeui/kxmlguiclient.cpp create mode 100644 tdeui/kxmlguiclient.h create mode 100644 tdeui/kxmlguifactory.cpp create mode 100644 tdeui/kxmlguifactory.h create mode 100644 tdeui/kxmlguifactory_p.cpp create mode 100644 tdeui/kxmlguifactory_p.h create mode 100644 tdeui/libtdeui.nmcheck create mode 100644 tdeui/libtdeui_weak.nmcheck create mode 100755 tdeui/preparetips create mode 100644 tdeui/qxembed.cpp create mode 100644 tdeui/qxembed.h create mode 100644 tdeui/tests/CMakeLists.txt create mode 100644 tdeui/tests/Makefile.am create mode 100644 tdeui/tests/RayTracedGear.png create mode 100644 tdeui/tests/background_1.png create mode 100644 tdeui/tests/go.png create mode 100644 tdeui/tests/itemcontainertest.cpp create mode 100644 tdeui/tests/itemcontainertest.h create mode 100644 tdeui/tests/kaboutdialogtest.cpp create mode 100644 tdeui/tests/kaccelgentest.cpp create mode 100644 tdeui/tests/kactiontest.cpp create mode 100644 tdeui/tests/kalphaicontest.h create mode 100644 tdeui/tests/kblendtest.cpp create mode 100644 tdeui/tests/kblendtest.h create mode 100644 tdeui/tests/kbuttonboxtest.cpp create mode 100644 tdeui/tests/kcharselecttest.cpp create mode 100644 tdeui/tests/kcolordlgtest.cpp create mode 100644 tdeui/tests/kcolortest.cpp create mode 100644 tdeui/tests/kcolortest.h create mode 100644 tdeui/tests/kcomboboxtest.cpp create mode 100644 tdeui/tests/kcomboboxtest.h create mode 100644 tdeui/tests/kcompletiontest.cpp create mode 100644 tdeui/tests/kcompletiontest.h create mode 100644 tdeui/tests/kdatepicktest.cpp create mode 100644 tdeui/tests/kdatetimewidgettest.cpp create mode 100644 tdeui/tests/kdatewidgettest.cpp create mode 100644 tdeui/tests/kdesattest.cpp create mode 100644 tdeui/tests/kdesattest.h create mode 100644 tdeui/tests/kdialogbasetest.cpp create mode 100644 tdeui/tests/kdocktest.cpp create mode 100644 tdeui/tests/kdocktest.h create mode 100644 tdeui/tests/kdockwidgetdemo.cpp create mode 100644 tdeui/tests/kdockwidgetdemo.h create mode 100644 tdeui/tests/kdockwidgettest.cpp create mode 100644 tdeui/tests/kdockwidgettest.h create mode 100644 tdeui/tests/kdualcolortest.cpp create mode 100644 tdeui/tests/kdualcolortest.h create mode 100644 tdeui/tests/keditlistboxtest.cpp create mode 100644 tdeui/tests/kedittest.cpp create mode 100644 tdeui/tests/kfontdialogtest.cpp create mode 100644 tdeui/tests/kgradienttest.cpp create mode 100644 tdeui/tests/kgradienttest.h create mode 100644 tdeui/tests/khashtest.cpp create mode 100644 tdeui/tests/khashtest.h create mode 100644 tdeui/tests/kinputdialogtest.cpp create mode 100644 tdeui/tests/kjanuswidgettest.cpp create mode 100644 tdeui/tests/kledtest.cpp create mode 100644 tdeui/tests/kledtest.h create mode 100644 tdeui/tests/klineeditdlgtest.cpp create mode 100644 tdeui/tests/klineedittest.cpp create mode 100644 tdeui/tests/klineedittest.h create mode 100644 tdeui/tests/klistviewtest.cpp create mode 100644 tdeui/tests/kmainwindowrestoretest.cpp create mode 100644 tdeui/tests/kmainwindowrestoretest.h create mode 100644 tdeui/tests/kmainwindowtest.cpp create mode 100644 tdeui/tests/kmainwindowtest.h create mode 100644 tdeui/tests/kmessageboxtest.cpp create mode 100644 tdeui/tests/knuminputtest.cpp create mode 100644 tdeui/tests/knuminputtest.h create mode 100644 tdeui/tests/kpalettetest.cpp create mode 100644 tdeui/tests/kpanelmenutest.cpp create mode 100644 tdeui/tests/kpanelmenutest.h create mode 100644 tdeui/tests/kpixmapregionselectordialogtest.cpp create mode 100644 tdeui/tests/kpopuptest.cpp create mode 100644 tdeui/tests/kprogresstest.cpp create mode 100644 tdeui/tests/krulertest.cpp create mode 100644 tdeui/tests/krulertest.h create mode 100644 tdeui/tests/kseparatortest.cpp create mode 100644 tdeui/tests/kspelltest.cpp create mode 100644 tdeui/tests/ksqueezedtextlabeltest.cpp create mode 100644 tdeui/tests/kstatusbartest.cpp create mode 100644 tdeui/tests/kstatusbartest.h create mode 100644 tdeui/tests/ksystemtraytest.cpp create mode 100644 tdeui/tests/ktabctltest.cpp create mode 100644 tdeui/tests/ktabctltest.h create mode 100644 tdeui/tests/ktabwidgettest.cpp create mode 100644 tdeui/tests/ktabwidgettest.h create mode 100644 tdeui/tests/ktextedittest.cpp create mode 100644 tdeui/tests/ktimewidgettest.cpp create mode 100644 tdeui/tests/ktoolbarlabelactiontest.cpp create mode 100644 tdeui/tests/ktoolbarlabelactiontestui.rc create mode 100644 tdeui/tests/kunbalancedgrdtest.cpp create mode 100644 tdeui/tests/kunbalancedgrdtest.h create mode 100644 tdeui/tests/kwindowtest.cpp create mode 100644 tdeui/tests/kwindowtest.h create mode 100644 tdeui/tests/kwizardtest.cpp create mode 100644 tdeui/tests/kwordwraptest.cpp create mode 100644 tdeui/tests/kxmlguitest.cpp create mode 100644 tdeui/tests/kxmlguitest.h create mode 100644 tdeui/tests/kxmlguitest_part.rc create mode 100644 tdeui/tests/kxmlguitest_shell.rc create mode 100644 tdeui/tests/qxembedtest.cpp create mode 100644 tdeui/tests/testimage.png create mode 100644 tdeui/ui_standards.rc (limited to 'tdeui') diff --git a/tdeui/AUTHORS b/tdeui/AUTHORS new file mode 100644 index 000000000..9e7ce9592 --- /dev/null +++ b/tdeui/AUTHORS @@ -0,0 +1,97 @@ +Dawit Alemayehu +KLineEdit, KComboBox + +Espen Sand : +KDialogBase, KAboutDialog (based on work by Mirko), KHelpMenu, KTextBrowser +and various adjustments here and there. + +Daniel M. Duley +Maintainer of KPixmapEffect, KStyle, KThemeStyle, and KThemeBase - as well as +general misc coding here and there. + +Matthias Kalle Dalheimer : +classes KApplication, KConfig, KTextStream, KColorSet, +automake, autoconf, maintenance + +Richard Moore : +KLedLamp class, KNewPanner class. + +Martynas Kunigelis : +KProgress class + +Steffen Hansen : +KURL class + +Torben Weis +DnD stuff, KSocket and KServerSocket classes, KPixmap + +Alexander Sanda +Read and write numerical config entries, KPanner, KTabControl, +KPopupMenu, KMessageBox, KEdit widgets. + +Martin Jones +Bugfixes in KPixmap and KURL, KColorDialog, KSelector +KColorButton + +Keith Brown +KTreeList class + +Bernd Johannes Wuebben +KFontDialog class + +Tim D. Gilman +KDatePicker, KDateTable class + +Nicolas Hadacek +Key configuration classes, bug fixes + +Christoph Neerfeld +KIconLoader class + +Sven Radej +KLineEdit, KCombo, KToolbar, KStatusBar + +Rainer Bawidamann +Rubberbanding in KTreeList + +Andre Fornacon +KSpinBox + +Michael Wiedmann +KRestrictedLine, KIntegerLine + +Matthias Ettrich +KWMModuleApplication, tearing/docking of ktoolbar and kmenubar, heavy +modifications to kbutton + +Stephan Kulow +first versions of KTopLevelWidget and KToolBar, heavy modifications to +automake and autoconf + +Joerg Habenicht +KLed class + +Thomas Tanghus +Classes KNotebook and KWizard + +Jorge Monteiro +KContainerLayout class + +Kurt Granroth +KURLLabel class + +Jörg Habenicht +KRuler class + +Rene Beutler +Widget Identifying System + +Maxim Judin +created the Dockwidget class set + +Falk Brettschneider +contributes for the Dockwidget class set + +Holger Freyther +KDialogBase, KGuiItem, KStdGuiItem, KAction, +added KMessageBox::questionYesNoCancel( ) diff --git a/tdeui/CMakeLists.txt b/tdeui/CMakeLists.txt new file mode 100644 index 000000000..284a37409 --- /dev/null +++ b/tdeui/CMakeLists.txt @@ -0,0 +1,168 @@ +################################################# +# +# (C) 2010 Serghei Amelian +# serghei (DOT) amelian (AT) gmail.com +# +# Improvements and feedback are welcome +# +# This file is released under GPL >= 2 +# +################################################# + +if( BUILD_KDEUI_TESTS ) + add_subdirectory( tests ) +endif( BUILD_KDEUI_TESTS ) + +add_subdirectory( about ) +add_subdirectory( kdetrayproxy ) + +include_directories( + ${TQT_INCLUDE_DIRS} + ${CMAKE_CURRENT_SOURCE_DIR} + ${CMAKE_CURRENT_BINARY_DIR} + ${CMAKE_BINARY_DIR} + ${CMAKE_BINARY_DIR}/tdecore + ${CMAKE_SOURCE_DIR}/dcop + ${CMAKE_SOURCE_DIR}/tdecore + ${CMAKE_SOURCE_DIR}/tdefx + ${CMAKE_SOURCE_DIR}/kio + ${CMAKE_SOURCE_DIR}/kio/kio + ${CMAKE_SOURCE_DIR}/kio/kfile + ${FREETYPE_INCLUDE_DIRS} +) + +link_directories( + ${TQT_LIBRARY_DIRS} +) + + +##### headers ################################### + +install( FILES + kprogressbox.h kprogress.h kcolordlg.h + kcolordialog.h kselect.h + kdatepik.h kdatepicker.h kdatetbl.h kfontdialog.h kpopupmenu.h + kfontrequester.h ktabctl.h kstatusbar.h + kmainwindow.h kmainwindowiface.h ktoolbar.h kmenubar.h + knuminput.h kseparator.h klineedit.h + krestrictedline.h kcolorbutton.h kcolorbtn.h + ksystemtray.h kdockwindow.h kbuttonbox.h + keditcl.h kled.h keditlistbox.h + kwizard.h kkeydialog.h kkeybutton.h + kurllabel.h kruler.h kcursor.h + klineeditdlg.h kinputdialog.h kactivelabel.h + kcharselect.h kcolordrag.h qxembed.h + knumvalidator.h kdialog.h kdialogbase.h + kjanuswidget.h kaboutdialog.h + kauthicon.h kmessagebox.h ksharedpixmap.h + kdualcolorbtn.h kdualcolorbutton.h ktoolbarbutton.h + ktoolbarradiogroup.h ktextbrowser.h + kaction.h kactioncollection.h kactionclasses.h khelpmenu.h kswitchlanguagedialog.h + kcmodule.h kcmenumngr.h kpanelmenu.h kpanelappmenu.h + kactionshortcutlist.h kstdaction.h kcombobox.h + kiconview.h klistview.h klistbox.h kbugreport.h kpassdlg.h + kxmlguiclient.h kxmlgui.h kxmlguibuilder.h kxmlguifactory.h + kpixmapio.h kwordwrap.h + kedittoolbar.h kdockwidget.h kanimwidget.h + krootpixmap.h kaboutkde.h kaboutapplication.h + kpanelapplet.h kpushbutton.h kdcopactionproxy.h kcolorcombo.h + kpanelextension.h kcompletionbox.h ksqueezedtextlabel.h + kcommand.h kwindowlistmenu.h kfontcombo.h kaccelgen.h ktip.h + kdatewidget.h karrowbutton.h kguiitem.h kstdguiitem.h + kstringvalidator.h kwindowinfo.h + ktextedit.h kpassivepopup.h + kdatetimewidget.h ktimewidget.h ktimezonewidget.h kscrollview.h + kspell.h ksconfig.h kspelldlg.h ksyntaxhighlighter.h + ktabbar.h ktabwidget.h ksplashscreen.h kconfigdialog.h + kactionselector.h klanguagebutton.h klistviewsearchline.h + kpixmapregionselectorwidget.h kpixmapregionselectordialog.h + kiconviewsearchline.h ktoolbarlabelaction.h kshortcutdialog.h + DESTINATION ${INCLUDE_INSTALL_DIR} ) + + +##### other data ################################ + +install( FILES + aboutkde.png ktip-bulb.png ktip-background.png + DESTINATION ${DATA_INSTALL_DIR}/tdeui/pics ) + +install( FILES + ui_standards.rc + DESTINATION ${CONFIG_INSTALL_DIR}/ui ) + +install( PROGRAMS + preparetips + DESTINATION ${BIN_INSTALL_DIR} ) + + +##### libtdeui ################################## + +set( target tdeui ) + +set( ${target}_SRCS + qxembed.cpp ksharedpixmap.cpp kpixmapio.cpp + kpopupmenu.cpp ktoolbar.cpp kaction.cpp kstdaction.cpp + kactioncollection.cpp kactionclasses.cpp + kurllabel.cpp kmenubar.cpp kinputdialog.cpp + knuminput.cpp klineedit.cpp klistview.cpp kprogress.cpp + kprogressbox.cpp kcolordialog.cpp kselect.cpp kdatepicker.cpp + kdatetbl.cpp kfontrequester.cpp kfontdialog.cpp ktabctl.cpp + kstatusbar.cpp kmainwindow.cpp + keditlistbox.cpp kscrollview.cpp + kseparator.cpp krestrictedline.cpp + kcolorbutton.cpp ksystemtray.cpp + kbuttonbox.cpp keditcl1.cpp keditcl2.cpp kled.cpp + kshortcutdialog_simple.ui kshortcutdialog_advanced.ui + kshortcutdialog.cpp kkeybutton.cpp kkeydialog.cpp + kruler.cpp kcursor.cpp klineeditdlg.cpp + kcharselect.cpp kcolordrag.cpp + knumvalidator.cpp kdialog.cpp kdialogbase.cpp + kjanuswidget.cpp kaboutdialog.cpp + kauthicon.cpp kmessagebox.cpp kdualcolorbutton.cpp + ktoolbarradiogroup.cpp ktoolbarbutton.cpp + ktextbrowser.cpp khelpmenu.cpp kswitchlanguagedialog.cpp + kcmenumngr.cpp kpanelmenu.cpp + kiconview.cpp klistbox.cpp kwordwrap.cpp kbugreport.cpp + kcombobox.cpp kpassdlg.cpp kxmlguiclient.cpp kxmlguifactory.cpp + kxmlguifactory_p.cpp kxmlguibuilder.cpp kedittoolbar.cpp + kpanelappmenu.cpp kdockwidget.cpp kdockwidget_private.cpp + kanimwidget.cpp krootpixmap.cpp kaboutkde.cpp + kaboutapplication.cpp kpanelapplet.cpp kdcopactionproxy.cpp + kcolorcombo.cpp kpushbutton.cpp kpanelextension.cpp + kcompletionbox.cpp ksqueezedtextlabel.cpp kcmodule.cpp + kcommand.cpp kwindowlistmenu.cpp kfontcombo.cpp ktip.cpp + kdatewidget.cpp karrowbutton.cpp kmainwindowiface.cpp + kmainwindowiface.skel kguiitem.cpp kstdguiitem.cpp + kstringvalidator.cpp kactivelabel.cpp + kwindowinfo.cpp ktextedit.cpp kwizard.cpp kpassivepopup.cpp + ktoolbarhandler.cpp kdatetimewidget.cpp ktimewidget.cpp ktimezonewidget.cpp + ksconfig.cpp kspelldlg.cpp + kspell.cpp ksyntaxhighlighter.cpp ktabbar.cpp ktabwidget.cpp + ksplashscreen.cpp kspellui.ui kconfigdialog.cpp + kactionselector.cpp klanguagebutton.cpp klistviewsearchline.cpp + kpixmapregionselectorwidget.cpp kpixmapregionselectordialog.cpp + kwhatsthismanager.cpp kiconviewsearchline.cpp + ktoolbarlabelaction.cpp +) + +tde_add_library( ${target} SHARED AUTOMOC + SOURCES ${${target}_SRCS} + VERSION 4.2.0 + LINK tdecore-shared ${FREETYPE_LIBRARIES} ${FONTCONFIG_LIBRARIES} + DEPENDENCIES dcopidl + DESTINATION ${LIB_INSTALL_DIR} +) + + +##### libkspell ################################# + +set( target kspell ) + +configure_file( ${CMAKE_SOURCE_DIR}/cmake/modules/template_dummy_cpp.cmake dummy.cpp COPYONLY ) + +tde_add_library( ${target} SHARED + SOURCES ${CMAKE_CURRENT_BINARY_DIR}/dummy.cpp + LINK ${TQT_LIBRARIES} + VERSION 4.2.0 + DESTINATION ${LIB_INSTALL_DIR} +) diff --git a/tdeui/MAINTAINERS b/tdeui/MAINTAINERS new file mode 100644 index 000000000..16942949f --- /dev/null +++ b/tdeui/MAINTAINERS @@ -0,0 +1,97 @@ +Here are the code maintainers for each part of this library. Any problems or +suggested patches for a class should be directed to the responsible person for +that class. + +When adding yourself as a maintainer, don't be afraid to reorder the files to a +more logical grouping. + +kaboutapplication.cpp +kaboutdialog.cpp +kaboutkde.cpp +kaction.cpp Holger Freyther , Martijn Klingens +kanimwidget.cpp Waldo Bastian +karrowbutton.cpp Frerich Raabe +kauthicon.cpp +kbugreport.cpp +kbuttonbox.cpp +kcharselect.cpp +kcmenumngr.cpp +kcmodule.cpp +kcolorbutton.cpp +kcolorcombo.cpp +kcolordialog.cpp Waldo Bastian +kcolordrag.cpp +kcombobox.cpp Dawit Alemayehu , Carsten Pfeiffer +kcommand.cpp Werner Trobin +kcompletionbox.cpp Carsten Pfeiffer +kcursor.cpp Carsten Pfeiffer +kdatepicker.cpp +kdatetbl.cpp +kdatetimewidget.cpp Hans Petter Bieker +kdatewidget.cpp Waldo Bastian +kdcopactionproxy.cpp +kdialog.cpp +kdialogbase.cpp Waldo Bastian +kdockwidget.cpp Joseph Wenninger +kdockwidget_private.cpp Joseph Wenninger +kdualcolorbutton.cpp +keditcl1.cpp Waldo Bastian +keditcl2.cpp Waldo Bastian +keditlistbox.cpp +kedittoolbar.cpp +kfontcombo.cpp +kfontdialog.cpp +kguiitem.cpp Holger Freyther , Martijn Klingens +khelpmenu.cpp +kiconview.cpp +kjanuswidget.cpp Ravikiran Rajagopal +kkeybutton.cpp Ellis Whitehead +kkeydialog.cpp Ellis Whitehead +kled.cpp +klineedit.cpp Dawit Alemayehu , Carsten Pfeiffer +klineeditdlg.cpp +klistbox.cpp +klistview.cpp +kmainwindow.cpp +kmainwindowiface.cpp +kmenubar.cpp +kmessagebox.cpp Waldo Bastian +knuminput.cpp Dirk Mueller +knumvalidator.cpp +kpanelapplet.cpp +kpanelappmenu.cpp +kpanelextension.cpp +kpanelmenu.cpp +kpassdlg.cpp Waldo Bastian +kpixmapio.cpp +kpopupmenu.cpp Holger Freyther +kprogress.cpp +kpushbutton.cpp Carsten Pfeiffer , Martijn Klingens +krestrictedline.cpp +krootpixmap.cpp +kruler.cpp +kselect.cpp +kseparator.cpp Waldo Bastian +ksharedpixmap.cpp +kshortcutdialog.cpp Ellis Whitehead +ksqueezedtextlabel.cpp +kstatusbar.cpp +kstdaction.cpp +kstdguiitem.cpp Holger Freyther , Martijn Klingens +kstringvalidator.cpp Marc Mutz +ksystemtray.cpp +ktabctl.cpp +ktextbrowser.cpp +ktimewidget Hans Petter Bieker +ktip.cpp +ktoolbar.cpp Waldo Bastian +ktoolbarbutton.cpp Waldo Bastian +ktoolbarradiogroup.cpp +kurllabel.cpp +kwindowlistmenu.cpp +kwizard.cpp +kwordwrap.cpp David Faure +kxmlguibuilder.cpp +kxmlguiclient.cpp +kxmlguifactory.cpp +qxembed.cpp diff --git a/tdeui/Mainpage.dox b/tdeui/Mainpage.dox new file mode 100644 index 000000000..778c962f1 --- /dev/null +++ b/tdeui/Mainpage.dox @@ -0,0 +1,43 @@ +/* + A dummy source file for documenting the library. + Sirtaj Singh Kang + $Id$ + Distributed under the LGPL. +*/ + +/** +* @mainpage The Trinity User Interface library +* +* This library provides standard user interface elements for use in +* Trinity applications. If your Trinity application has a GUI, you will almost +* certainly link to libtdeui. +* +* Most applications with single or multiple toplevel widgets +* should use the KMainWindow class in this library, which +* automatically provides features like session management and simplified +* toolbar/menubar/statusbar creation. +* +* A spell-checker library is also provided. +* KSpell offers easy access to International ISpell or ASpell +* (at the user's option) as well as a spell-checker GUI +* ("Add", "Replace", etc.). +* +* You can use KSpell to +* automatically spell-check an ASCII file as well as to implement +* online spell-checking and to spell-check proprietary format and +* marked up (e.g. HTML, TeX) documents. The relevant methods for +* these three procedures are check(), checkWord(), and +* checkList(), respectively. +* +* KSpellConfig holds configuration information about KSpell as well +* as acting as an options-setting dialog. +* +* KSpell usually works asynchronously. If you do not need that, you should +* simply use KSpell::modalCheck(). It won't return until the +* passed string is processed or the spell checking canceled. +* During modal spell checking your GUI is still repainted, but the user may +* only interact with the KSpell dialog. +* +* @see KSpell, KSpellConfig +*/ + diff --git a/tdeui/Makefile.am b/tdeui/Makefile.am new file mode 100644 index 000000000..4752cdb95 --- /dev/null +++ b/tdeui/Makefile.am @@ -0,0 +1,171 @@ + +# This file is part of the KDE libraries +# Copyright (C) 1997 Matthias Kalle Dalheimer (kalle@kde.org) +# (C) 1997 Stephan Kulow (coolo@kde.org) + +# This library is free software; you can redistribute it and/or +# modify it under the terms of the GNU Library General Public +# License as published by the Free Software Foundation; either +# version 2 of the License, or (at your option) any later version. + +# This library is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# Library General Public License for more details. + +# You should have received a copy of the GNU General Public License +# along with this library; see the file COPYING. If not, write to +# the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +# Boston, MA 02110-1301, USA. + +SUBDIRS = . tests about kdetrayproxy + +INCLUDES= -I/usr/include/freetype2/ -I$(top_srcdir)/tdefx -I$(top_srcdir)/interfaces $(all_includes) + +# For the future: examine if condensing the tons of *_LDFLAGS variables +# into $(all_libraries) isn't better +AM_LDFLAGS = $(LDFLAGS_AS_NEEDED) $(LDFLAGS_NEW_DTAGS) + +lib_LTLIBRARIES = libtdeui.la libkspell.la +libtdeui_la_LDFLAGS = $(KDE_MT_LDFLAGS) -no-undefined -version-info 6:0:2 +libtdeui_la_LIBADD = ../tdecore/libtdecore.la $(LIB_QT) $(top_builddir)/dcop/libDCOP.la $(LIB_X11) $(top_builddir)/tdefx/libtdefx.la $(LIB_XEXT) + +libkspell_la_LDFLAGS = $(KDE_MT_LDFLAGS) -version-info 6:0:2 -no-undefined +libkspell_la_SOURCES = dummy.cpp + +picsdir = $(kde_datadir)/tdeui/pics +pics_DATA = aboutkde.png ktip-bulb.png ktip-background.png + +include_HEADERS = kprogressbox.h kprogress.h kcolordlg.h \ + kcolordialog.h kselect.h \ + kdatepik.h kdatepicker.h kdatetbl.h kfontdialog.h kpopupmenu.h \ + kfontrequester.h ktabctl.h kstatusbar.h \ + kmainwindow.h kmainwindowiface.h ktoolbar.h kmenubar.h \ + knuminput.h kseparator.h klineedit.h \ + krestrictedline.h kcolorbutton.h kcolorbtn.h \ + ksystemtray.h kdockwindow.h kbuttonbox.h \ + keditcl.h kled.h keditlistbox.h \ + kwizard.h kkeydialog.h kkeybutton.h \ + kurllabel.h kruler.h kcursor.h \ + klineeditdlg.h kinputdialog.h kactivelabel.h \ + kcharselect.h kcolordrag.h qxembed.h \ + knumvalidator.h kdialog.h kdialogbase.h \ + kjanuswidget.h kaboutdialog.h \ + kauthicon.h kmessagebox.h ksharedpixmap.h \ + kdualcolorbtn.h kdualcolorbutton.h ktoolbarbutton.h \ + ktoolbarradiogroup.h ktextbrowser.h \ + kaction.h kactioncollection.h kactionclasses.h khelpmenu.h kswitchlanguagedialog.h \ + kcmodule.h kcmenumngr.h kpanelmenu.h kpanelappmenu.h \ + kactionshortcutlist.h kstdaction.h kcombobox.h \ + kiconview.h klistview.h klistbox.h kbugreport.h kpassdlg.h \ + kxmlguiclient.h kxmlgui.h kxmlguibuilder.h kxmlguifactory.h \ + kpixmapio.h kwordwrap.h \ + kedittoolbar.h kdockwidget.h kanimwidget.h \ + krootpixmap.h kaboutkde.h kaboutapplication.h \ + kpanelapplet.h kpushbutton.h kdcopactionproxy.h kcolorcombo.h \ + kpanelextension.h kcompletionbox.h ksqueezedtextlabel.h \ + kcommand.h kwindowlistmenu.h kfontcombo.h kaccelgen.h ktip.h \ + kdatewidget.h karrowbutton.h kguiitem.h kstdguiitem.h \ + kstringvalidator.h kwindowinfo.h \ + ktextedit.h kpassivepopup.h \ + kdatetimewidget.h ktimewidget.h ktimezonewidget.h kscrollview.h \ + kspell.h ksconfig.h kspelldlg.h ksyntaxhighlighter.h \ + ktabbar.h ktabwidget.h ksplashscreen.h kconfigdialog.h \ + kactionselector.h klanguagebutton.h klistviewsearchline.h \ + kpixmapregionselectorwidget.h kpixmapregionselectordialog.h \ + kiconviewsearchline.h ktoolbarlabelaction.h kshortcutdialog.h + +# the order of the sources isn't randomly (at least not completely). +# the order is predictated by the use of X11 header files +# the files on the first line need to occur first when compiling +# with --enable-final since they use X defines that get undefined +# in ksharedpixmap.cpp +libtdeui_la_SOURCES = \ + qxembed.cpp ksharedpixmap.cpp kpixmapio.cpp \ + kpopupmenu.cpp ktoolbar.cpp kaction.cpp kstdaction.cpp \ + kactioncollection.cpp kactionclasses.cpp \ + kurllabel.cpp kmenubar.cpp kinputdialog.cpp \ + knuminput.cpp klineedit.cpp klistview.cpp kprogress.cpp \ + kprogressbox.cpp kcolordialog.cpp kselect.cpp kdatepicker.cpp \ + kdatetbl.cpp kfontrequester.cpp kfontdialog.cpp ktabctl.cpp \ + kstatusbar.cpp kmainwindow.cpp \ + keditlistbox.cpp kscrollview.cpp \ + kseparator.cpp krestrictedline.cpp \ + kcolorbutton.cpp ksystemtray.cpp \ + kbuttonbox.cpp keditcl1.cpp keditcl2.cpp kled.cpp \ + kshortcutdialog_simple.ui kshortcutdialog_advanced.ui \ + kshortcutdialog.cpp kkeybutton.cpp kkeydialog.cpp \ + kruler.cpp kcursor.cpp klineeditdlg.cpp \ + kcharselect.cpp kcolordrag.cpp \ + knumvalidator.cpp kdialog.cpp kdialogbase.cpp \ + kjanuswidget.cpp kaboutdialog.cpp \ + kauthicon.cpp kmessagebox.cpp kdualcolorbutton.cpp \ + ktoolbarradiogroup.cpp ktoolbarbutton.cpp \ + ktextbrowser.cpp khelpmenu.cpp kswitchlanguagedialog.cpp \ + kcmenumngr.cpp kpanelmenu.cpp \ + kiconview.cpp klistbox.cpp kwordwrap.cpp kbugreport.cpp \ + kcombobox.cpp kpassdlg.cpp kxmlguiclient.cpp kxmlguifactory.cpp \ + kxmlguifactory_p.cpp kxmlguibuilder.cpp kedittoolbar.cpp \ + kpanelappmenu.cpp kdockwidget.cpp kdockwidget_private.cpp \ + kanimwidget.cpp krootpixmap.cpp kaboutkde.cpp \ + kaboutapplication.cpp kpanelapplet.cpp kdcopactionproxy.cpp \ + kcolorcombo.cpp kpushbutton.cpp kpanelextension.cpp \ + kcompletionbox.cpp ksqueezedtextlabel.cpp kcmodule.cpp \ + kcommand.cpp kwindowlistmenu.cpp kfontcombo.cpp ktip.cpp \ + kdatewidget.cpp karrowbutton.cpp kmainwindowiface.cpp \ + kmainwindowiface.skel kguiitem.cpp kstdguiitem.cpp \ + kstringvalidator.cpp kactivelabel.cpp \ + kwindowinfo.cpp ktextedit.cpp kwizard.cpp kpassivepopup.cpp \ + ktoolbarhandler.cpp kdatetimewidget.cpp ktimewidget.cpp ktimezonewidget.cpp \ + ksconfig.cpp kspelldlg.cpp \ + kspell.cpp ksyntaxhighlighter.cpp ktabbar.cpp ktabwidget.cpp \ + ksplashscreen.cpp kspellui.ui kconfigdialog.cpp \ + kactionselector.cpp klanguagebutton.cpp klistviewsearchline.cpp \ + kpixmapregionselectorwidget.cpp kpixmapregionselectordialog.cpp \ + kwhatsthismanager.cpp kiconviewsearchline.cpp \ + ktoolbarlabelaction.cpp + +noinst_HEADERS = kdockwidget_private.h kdockwidget_p.h klistviewlineedit.h \ + kdialogbase_priv.h kaboutdialog_private.h kcursor_private.h \ + kdepackages.h kxmlguifactory_p.h \ + kstdaction_p.h kwhatsthismanager_p.h + +scripts_SCRIPTS = preparetips +scriptsdir = $(kde_bindir) + +libtdeui_la_METASOURCES = AUTO +libtdeui_la_NMCHECK = $(srcdir)/libtdeui.nmcheck +libtdeui_la_NMCHECKWEAK = $(srcdir)/libtdeui_weak.nmcheck $(top_srcdir)/tdecore/libtdecore_weak.nmcheck \ + $(top_srcdir)/dcop/libDCOP_weak.nmcheck $(top_srcdir)/tdecore/libqt-mt_weak.nmcheck + +rcdir = $(kde_confdir)/ui +rc_DATA = ui_standards.rc + +EXTRA_DIST = CHANGES.kdatepicker USERS.kdatepicker kpixmapio-perf.png dcolorreset.xpm kpartgui.dtd dcolorarrow.xbm colors Mainpage.dox + +.PHONY: kdepackages + +kdepackages: + -rm $(srcdir)/kdepackages.h + curl "http://bugsold.kde.org/xml.cgi?data=versiontable" > tmp_download + echo "// DO NOT EDIT - EDIT bugs/Maintainers instead" > $(srcdir)/kdepackages.h + echo "const char * const packages[] = {" >> $(srcdir)/kdepackages.h + cat tmp_download | egrep "product|component" | grep -v "" | \ + sed -e "s,,product=\"\1\"; component=\"general\",; \ + s#\([^<]*\)#component=\"\1\"#" > tmp_download2 + (while read i; do eval $$i; echo "\"$$product/$$component\","; done) < tmp_download2 | \ + sed -e "s,/general\",/00general\"," | LC_ALL=C sort -u | \ + grep -v 'valgrind/' | sed -e "s,/00general\",\"," >> $(srcdir)/kdepackages.h + echo "0 };" >> $(srcdir)/kdepackages.h + rm tmp_download2 tmp_download + +dummy.cpp: + echo "#ifdef _AIX" >dummy.cpp + echo "namespace {" >> dummy.cpp + echo "void *not_empty_file;" >>dummy.cpp + echo "}" >> dummy.cpp + echo "#endif" >> dummy.cpp + +DOXYGEN_REFERENCES = tdecore tdefx dcop kio kutils +DOXYGEN_SET_INTERNAL_DOCS = YES +include ../admin/Doxyfile.am diff --git a/tdeui/README.kspell b/tdeui/README.kspell new file mode 100644 index 000000000..9ae1afe84 --- /dev/null +++ b/tdeui/README.kspell @@ -0,0 +1,17 @@ +KSpell, by David Sweet +---------------------- +KSpell provides an interface to ASpell and International ISpell 3.1. You +should use it like a UI widget to provide spellchecking in your application. +See kspell.h and http://www.chaos.umd.edu/~dsweet/KDE/KSpell for +documentation. + +Settings +-------- +A configuration dialog/widget is also provided. This class (KSpellConfig) acts +not only as a widget allowing the user to set KSpell preferences, but also +as a data abstraction class allowing you to get and set the preferences from +within your program. You can pass an instance of KSpellConfig to KSpell +and the spellchecker will run with the appropriate preference settings. The +preferences, when saved (see kspelldlg.h) are saved globally. If needed, +you can read them with KSpellDlg and set and use application-specific +spellchecking settings. diff --git a/tdeui/TODO.kspell b/tdeui/TODO.kspell new file mode 100644 index 000000000..99c9df408 --- /dev/null +++ b/tdeui/TODO.kspell @@ -0,0 +1,34 @@ +from Daniel Naber, 2002-02-17: + +- there's the pspell library that offers an API to ispell and aspell, + it would make our code much simpler. It's not asynchronous by itself, + but maybe that can be added in KSpell. + +- add an option to ignore HTML/XML markup (-h). It's currently not + possible (i.e. it doesn't work) because we feed the text into ispell + line by line and it gets confused if tags are spread over more + than one line. + +from Wolfram Diestel: + +- add more charsets - need support from users of this charsets +- rewrite the all the stuff to make it more asynchronous: + o one process should send data + o one process should read data + synchronization is done only by counting empty output lines from ispell + +old todo from David Sweet +------------------------- + +properly handle capitalization on "Replace All" (in parseOneResponse()) + +ensure that KSpell is reusable with the same replace/ignore lists + for multiple spellchecks in a single editing session + +allow saving of ignore/replace lists for multiple spellchecks of a + given document across multiple sessions + +add a "move()" function to move the dialog box (calling app should use this + in response to a misspelled() signal to move the d.b. out of the way + of the misspelled word) + This is done, but it doesn't work on the first call -- any ideas? diff --git a/tdeui/TODO.xmlgui b/tdeui/TODO.xmlgui new file mode 100644 index 000000000..3c3d4f8a4 --- /dev/null +++ b/tdeui/TODO.xmlgui @@ -0,0 +1,91 @@ +Bug with toolbars: a->saveState(); delete a; b->saveState(); delete b; +will store wrong positions (index, offset and newline). +When removing an xmlgui-client involves destroying toolbars, we need to save the +whole set of toolbar positions of the mainwindow, into the xmlgui-client. + +Data structure: +struct KToolBarPos { + short int index; + short int offset; + bool newLine; +}; +typedef QValueVector KToolBarPosList; + +API: +KToolBarPosList KMainWindow::toolBarPositionList() const; + +The remaining problem is to know when to call it: +* when we know in advance that we'll be able to remove toolbars? + (when creating the client we could remember if we created a toolbar and store + that bit of information, to re-use it when removing the client again) +* when removing the first toolbar (of a given client); then we need +to differentiate between first and following toolbars +* always, if fast enough? With tons of plugins that might not be a good idea. + +========== More long term + +Problems: +* No ui_standards.rc merging for parts +* Confusing tag names (MergeLocal vs DefineGroup) for similar features +* Two different merging codes (DOM-tree merging for ui_standards, xmlguifactory merging +between xmlguiclients). + +Solution: +* Get rid of the custom DOM-tree merging code from kxmlguiclient (for ui_standards.rc), +use the existing merging code from kxmlguifactory instead +* MergeLocal and DefineGroup are renamed MergeGroup, and append= becomes equivalent to group=. +* Action is renamed MergeAction, and uses a new kind of place holder +(one that matches actions by name during merging) +So ui_standards.rc needs to be turned into s and s only. +* This also means that it will be possible to have only merge tags (and custom items +like separators and tearoffhandle etc.) in a container, in which case it should +not appear in the GUI. For that, ContainerNode must be improved so that it supports +having no real GUI container attached to it. +Big problem here. This means not building a container until we find that it +really has an action (and the other way round: deleting a container when +removing its last action, as we do, but still keeping a ContainerNode around...) +(A ContainerNode is destroyed when its owner guiclient is removed from the factory, +no change here). + +* A new XMLGUIClient provides the ui_standards.rc XML. It has the same instance +as the mainwindow's guiclient. It provides no actions. No problems, since it +only has tags. + +But that new xmlguiclient will 'own' the containers, so KEditToolbar will +give wrong information. + +=====> +This means the following KEditToolbar improvement is necessary: +(it's an almost unrelated and necessary change there anyway, usability-wise) + +It would use merging, to present a merged view of the toolbars +When the user inserts an action to a toolbar, we know which client the action +belongs to, so we know which XML file to modify. +BUT if the user adds actions in non-contiguous positions, we need to +create groups, so that the merging actually does +what the user asked for (!!) + +This allows to get rid of the "toolbar " combobox stuff, and just have +a list of toolbars there. + +Implementation: it can do this by providing its own KXMLGUIBuilder, to a +new factory. The guiclients would be wrapped in a KXMLGUIClientProxy, +which would forward the action() and domElement() calls - because a client +can be in only one factory at a time. + +This custom builder needs to know about action plugging too, we don't really want +to call KAction::plug here. So this would be 'virtualized' (new virtual, in a new +interface to keep BC, that by default calls plug, but does something else in +kedittoolbar's builder). + + +====== + +Additional benefits: +* Any XML file can use the new feature to modify the way a +child client (e.g. a part) is getting merged, without adding group attributes +to the child client (useful for a binary-only one, e.g.) + +-- +David Faure +Simon Hausmann diff --git a/tdeui/about/CMakeLists.txt b/tdeui/about/CMakeLists.txt new file mode 100644 index 000000000..7330005e2 --- /dev/null +++ b/tdeui/about/CMakeLists.txt @@ -0,0 +1,21 @@ +################################################# +# +# (C) 2010 Serghei Amelian +# serghei (DOT) amelian (AT) gmail.com +# +# Improvements and feedback are welcome +# +# This file is released under GPL >= 2 +# +################################################# + +##### other data ################################ + +install( FILES + bar-bottom-left.png bar-top-right.png bar-bottom-middle.png bottom-left.png + box-middle-left.png top-left.png bar-bottom-right.png bottom-middle.png + box-middle-right.png top-middle.png bar-middle-left.png bottom-right.png + box-top-left.png bar-middle-right.png box-bottom-left.png box-top-middle.png + bar-top-left.png box-bottom-middle.png box-top-right.png bar-top-middle.png + box-bottom-right.png kde_infopage.css kde_infopage_rtl.css + DESTINATION ${DATA_INSTALL_DIR}/tdeui/about ) diff --git a/tdeui/about/Makefile.am b/tdeui/about/Makefile.am new file mode 100644 index 000000000..478bb71e0 --- /dev/null +++ b/tdeui/about/Makefile.am @@ -0,0 +1,9 @@ + +kde_infopage_datadir = $(kde_datadir)/tdeui/about +kde_infopage_data_DATA = \ + bar-bottom-left.png bar-top-right.png bar-bottom-middle.png bottom-left.png \ + box-middle-left.png top-left.png bar-bottom-right.png bottom-middle.png \ + box-middle-right.png top-middle.png bar-middle-left.png bottom-right.png \ + box-top-left.png bar-middle-right.png box-bottom-left.png box-top-middle.png \ + bar-top-left.png box-bottom-middle.png box-top-right.png bar-top-middle.png \ + box-bottom-right.png kde_infopage.css kde_infopage_rtl.css diff --git a/tdeui/about/bar-bottom-left.png b/tdeui/about/bar-bottom-left.png new file mode 100644 index 000000000..30a323592 Binary files /dev/null and b/tdeui/about/bar-bottom-left.png differ diff --git a/tdeui/about/bar-bottom-middle.png b/tdeui/about/bar-bottom-middle.png new file mode 100644 index 000000000..b2ebbbed5 Binary files /dev/null and b/tdeui/about/bar-bottom-middle.png differ diff --git a/tdeui/about/bar-bottom-right.png b/tdeui/about/bar-bottom-right.png new file mode 100644 index 000000000..e664e1511 Binary files /dev/null and b/tdeui/about/bar-bottom-right.png differ diff --git a/tdeui/about/bar-middle-left.png b/tdeui/about/bar-middle-left.png new file mode 100644 index 000000000..72fda9ec2 Binary files /dev/null and b/tdeui/about/bar-middle-left.png differ diff --git a/tdeui/about/bar-middle-right.png b/tdeui/about/bar-middle-right.png new file mode 100644 index 000000000..eb8d3201c Binary files /dev/null and b/tdeui/about/bar-middle-right.png differ diff --git a/tdeui/about/bar-top-left.png b/tdeui/about/bar-top-left.png new file mode 100644 index 000000000..b05fd216c Binary files /dev/null and b/tdeui/about/bar-top-left.png differ diff --git a/tdeui/about/bar-top-middle.png b/tdeui/about/bar-top-middle.png new file mode 100644 index 000000000..387f81017 Binary files /dev/null and b/tdeui/about/bar-top-middle.png differ diff --git a/tdeui/about/bar-top-right.png b/tdeui/about/bar-top-right.png new file mode 100644 index 000000000..a552ff91d Binary files /dev/null and b/tdeui/about/bar-top-right.png differ diff --git a/tdeui/about/bottom-left.png b/tdeui/about/bottom-left.png new file mode 100644 index 000000000..78c9fece3 Binary files /dev/null and b/tdeui/about/bottom-left.png differ diff --git a/tdeui/about/bottom-middle.png b/tdeui/about/bottom-middle.png new file mode 100644 index 000000000..41e52dd8a Binary files /dev/null and b/tdeui/about/bottom-middle.png differ diff --git a/tdeui/about/bottom-right.png b/tdeui/about/bottom-right.png new file mode 100644 index 000000000..ef81b04a8 Binary files /dev/null and b/tdeui/about/bottom-right.png differ diff --git a/tdeui/about/box-bottom-left.png b/tdeui/about/box-bottom-left.png new file mode 100644 index 000000000..49b1be6d9 Binary files /dev/null and b/tdeui/about/box-bottom-left.png differ diff --git a/tdeui/about/box-bottom-middle.png b/tdeui/about/box-bottom-middle.png new file mode 100644 index 000000000..fd09ebb66 Binary files /dev/null and b/tdeui/about/box-bottom-middle.png differ diff --git a/tdeui/about/box-bottom-right.png b/tdeui/about/box-bottom-right.png new file mode 100644 index 000000000..4013c8ff4 Binary files /dev/null and b/tdeui/about/box-bottom-right.png differ diff --git a/tdeui/about/box-middle-left.png b/tdeui/about/box-middle-left.png new file mode 100644 index 000000000..1cd801a45 Binary files /dev/null and b/tdeui/about/box-middle-left.png differ diff --git a/tdeui/about/box-middle-right.png b/tdeui/about/box-middle-right.png new file mode 100644 index 000000000..54c5b0391 Binary files /dev/null and b/tdeui/about/box-middle-right.png differ diff --git a/tdeui/about/box-top-left.png b/tdeui/about/box-top-left.png new file mode 100644 index 000000000..29f91c129 Binary files /dev/null and b/tdeui/about/box-top-left.png differ diff --git a/tdeui/about/box-top-middle.png b/tdeui/about/box-top-middle.png new file mode 100644 index 000000000..5ea907597 Binary files /dev/null and b/tdeui/about/box-top-middle.png differ diff --git a/tdeui/about/box-top-right.png b/tdeui/about/box-top-right.png new file mode 100644 index 000000000..f86163176 Binary files /dev/null and b/tdeui/about/box-top-right.png differ diff --git a/tdeui/about/kde_infopage.css b/tdeui/about/kde_infopage.css new file mode 100644 index 000000000..69085675e --- /dev/null +++ b/tdeui/about/kde_infopage.css @@ -0,0 +1,239 @@ + +/* + * text styles + */ + +img {margin: 0px; padding: 0px} +body {margin: 0px; padding: 0px; background-color: #418ade;} +.bar_text a {color: #008;} + +#subtext { + font-size: 10pt; + font-style: italic; +} + +#nextlink { + margin-bottom: 0px; + text-align: right; + font-size: 10pt; +} + +/* + * the header + */ + +#header { + background-image: url(top-middle.png); + width: 100%; + height: 131px; +} + +#headerL { + position: absolute; + background-image: url(top-left.png); + left: 0px; + height: 131px; + width: 147px; + z-index: 1; +} + +#headerR { + position: absolute; + right: 0px; +} + +/* title and tagline are part of the header diff */ +#title { + position: absolute; + top: 63px; + right: 100px; + margin-top: -1em; + text-align: right; + font-size: xx-large; + font-weight: bold; + text-shadow: #fff 0px 0px 5px; + color: #444; + z-index: 5; +} + +#tagline { + position: absolute; + top: 70px; + right: 100px; + text-align: right; + font-size: large; + font-weight: bold; + text-shadow: #fff 0px 0px 5px; + color: #444; + z-index: 5; +} + +/* + * the nav bar + */ + +#bar { + width: 100%; + background-color: #5babe5; + padding-top: 0.5ex; + border-bottom: 1px solid black; + padding-bottom: 0.5ex; +} + +#barCenter { + text-align: center; + color: #282828; + font-weight: bold; + font-size: small; +} + +#barCenter a.selected, #barCenter a.selected:hover { + color: #282828; + text-decoration: none; + text-shadow: #fff 0px 0px 5px; +} + + +#barCenter li a:link, #barCenter li a:visited, #barCenter li a:active { + color: #282828; + text-decoration: none; + text-shadow: none; +} + +#barCenter li a:hover { + color: #282828; + text-decoration: none; + text-shadow: #fff 0px 0px 6px; +} + +#barCenter ul { + margin: 0; + padding: 0; +} + +#barCenter li { + display: inline; +} + +#barCenter li:not(:first-child):before { /* Aren't css3 selectors great? */ + content: " · "; +} + +/* + * the main box + */ + +#box { + width: 90%; + margin-left: 5%; + margin-right: 5%; + margin-top: 10px; + margin-bottom: 10px; +} + +#boxT { + width: 100%; + height: 22px; +} + +#boxTL { + width: 25px; + height: 22px; + float: left; + background-image: url(box-top-left.png); +} + +#boxTR { + width: 25px; + height: 22px; + float: right; + background-image: url(box-top-right.png); +} + +#boxTC { + height: 22px; + margin-left: 25px; + margin-right: 25px; + background-image: url(box-top-middle.png); + background-repeat: repeat-x; +} + +#boxL { + background-image: url(box-middle-left.png); + background-repeat: repeat-y; + background-position: left; + padding-left: 20px; +} + +#boxCenter { + background-color: #dfe7f3; + background-position: center; + text-align: left; +} + +#boxR { + background-image: url(box-middle-right.png); + background-repeat: repeat-y; + background-position: right; + padding-right: 20px; +} + +#boxB { + width: 100%; + height: 22px; +} + +#boxBL { + width: 25px; + height: 22px; + float: left; + background-image: url(box-bottom-left.png); +} + +#boxBR { + width: 25px; + height: 22px; + float: right; + background-image: url(box-bottom-right.png); +} + +#boxBC { + height: 22px; + margin-left: 25px; + margin-right: 25px; + background-image: url(box-bottom-middle.png); + background-repeat: repeat-x; +} + +/* + * the footer + */ + +#footer { + position: fixed; + background-image: url(bottom-middle.png); + width: 100%; + height: 100px; + z-index: -2; + bottom:0; +} + +#footerL { + position: fixed; + background-image: url(bottom-left.png); + left: 0px; + width: 155px; + height: 100px; + z-index: -2; +} + +#footerR { + position: fixed; + background-image: url(bottom-right.png); + right: 0px; + width: 429px; + height: 100px; + z-index: -1; +} + +/* vim:set sw=2 et nocindent smartindent: */ diff --git a/tdeui/about/kde_infopage_rtl.css b/tdeui/about/kde_infopage_rtl.css new file mode 100644 index 000000000..003330196 --- /dev/null +++ b/tdeui/about/kde_infopage_rtl.css @@ -0,0 +1,11 @@ +body {direction: rtl} + +#boxCenter { + text-align: right; +} + +#nextlink { + text-align: left; +} + +/* vim:set sw=2 et nocindent smartindent: */ diff --git a/tdeui/about/top-left.png b/tdeui/about/top-left.png new file mode 100644 index 000000000..c97114a7f Binary files /dev/null and b/tdeui/about/top-left.png differ diff --git a/tdeui/about/top-middle.png b/tdeui/about/top-middle.png new file mode 100644 index 000000000..bb3fe7428 Binary files /dev/null and b/tdeui/about/top-middle.png differ diff --git a/tdeui/about/usage-example.html b/tdeui/about/usage-example.html new file mode 100644 index 000000000..fd78d8cfb --- /dev/null +++ b/tdeui/about/usage-example.html @@ -0,0 +1,64 @@ + + + + + + + + + + %1 + + + +