Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.
tdelibs/tdewidgets
Michele Calgaro c8ece3630d
Replace Qt with TQt
5 månader sedan
..
pics Fix invalid headers in PNG files and optimize for size 8 år sedan
tests Replace QObject, QWidget, QImage, QPair, QRgb, QColor, QChar, QString, QIODevice with TQ* version 7 månader sedan
AUTHORS Rename kdewidgets => tdewidgets 10 år sedan
CMakeLists.txt Revert commit 1d498994 10 år sedan
Makefile.am LIB_QT -> LIB_TQT conversion to align to updated admin module 6 år sedan
README Replace QObject, QWidget, QImage, QPair, QRgb, QColor, QChar, QString, QIODevice with TQ* version 7 månader sedan
classpreviews.cpp Rename kdewidgets => tdewidgets 10 år sedan
classpreviews.h Rename kdewidgets => tdewidgets 10 år sedan
kde.widgets Replace Qt with TQt 5 månader sedan
maketdewidgets.cpp Replace Qt branding with TQt ones. 5 år sedan

README

KDE Custom Widgets for Qt Designer 2
====================================


Summary:
========

This directory contains KDE custom widgets for designer 2 which comes with
Qt 3. Just make sure your plugin path in qtconfig includes
$TDEDIR/lib/trinity/plugins . With the KDE build system nothing special 
(i.e. editing the plugin path) is needed, as uic will automatically be
called with -L <path to the tdewidgets plugin> .

This plugin uses the TQWidget plugin API of Qt >= 3.0
Don't expect it to work with any other versions of Qt.


Known Bugs:
===========

Designer crashes when using widgets that use the kapp pointer.

HOWTO Add Widgets:
==================
Just add new widgets to kde.widgets like this:
[ClassName]
IncludeFile=myheader.h
IconSet=mycoolwidget.png
ToolTip=My Cool Widget
WhatsThis=Long description of my cool widget
ConstructorArgs=(parent, name, otherNeccessaryArg)
IsContainer=true
Group=MyWidgetCollection

Everything but [ClassName] is optional.
IncludeFile defaults to classname.h (all lowercase)
IconSet defaults to classname.png (all lowercase)
ToolTip defaults to ClassName
WhatsThis defaults to ClassName
ConstructorArgs=(parent, name)
IsContainer defaults to false - note, any value except an empty one is
                                interpreted as true, even if the value
                                is "false" :) So, if the widget is not a
                                container, just omit this line.
Group defaults to "KDE"

Don't forget to add an icon to the pics directory.  Try to make it look similar to the other icons and be the same size.

There are some global options that you can have.

[Global]
Init=new InitCode();
Destroy= delete object;
PluginName=MyPlugin

PluginName overrides the passed in value at the command line and is optional.
Init and Destroy are both optional arguments that can be used for custom build
up and tear down code.

Have fun!


Ian Reinhart Geiser <geiseri@kde.org>
Daniel Molkentin <molkentin@kde.org>
Malte Starostik <malte@kde.org>