22#ifndef KPROPERTY_PROPERTYEDITOR_H
23#define KPROPERTY_PROPERTYEDITOR_H
25#include <tqguardedptr.h>
26#include "koproperty_global.h"
28#include <tdelistview.h>
76 Editor(TQWidget *parent=0, bool autoSync= true, const char *name=0);
80 virtual TQSize sizeHint() const;
81 virtual void setFocus();
82 virtual void setSorting( int column, bool ascending = true );
89 void changeSet( Set *set, bool preservePrevSelection = false);
95 void changeSet( Set *set, const TQCString& propertyToSelect);
101 void clear( bool editorOnly = false);
140 void updateEditorGeometry( bool forceUndoButtonSettings = false, bool undoButtonVisible = false);
141 void updateEditorGeometry(EditorItem *item, Widget* widget, bool forceUndoButtonSettings = false, bool undoButtonVisible = false);
142 void updateGroupLabelsPosition();
146 void slotCollapsed(TQListViewItem *item);
147 void slotExpanded(TQListViewItem *item);
148 void slotColumnSizeChanged( int section);
149 void slotColumnSizeChanged( int section, int oldSize, int newSize);
150 void slotCurrentChanged(TQListViewItem *item);
151 void changeSetLater();
152 void selectItemLater();
163 void addItem( const TQCString &name, EditorItem *parent);
165 void showUndoButton( bool show );
167 virtual void resizeEvent(TQResizeEvent *ev);
168 virtual bool eventFilter( TQObject * watched, TQEvent * e );
169 bool handleKeyPress(TQKeyEvent* ev);
171 virtual bool event( TQEvent * e );
174 virtual void contentsMousePressEvent( TQMouseEvent * e );
178 const TQCString& propertyToSelect);
183 friend class EditorItem;
Item for a single property displayed within Editor object.
void slotWidgetValueChanged(Widget *widget)
void slotSetWillBeDeleted()
Editor(TQWidget *parent=0, bool autoSync=true, const char *name=0)
void slotWidgetRejectInput(Widget *widget)
void changeSetInternal(Set *set, bool preservePrevSelection, const TQCString &propertyToSelect)
void slotClicked(TQListViewItem *item)
void slotWidgetAcceptInput(Widget *widget)
void slotSetWillBeCleared()
void addItem(const TQCString &name, EditorItem *parent)
void clear(bool editorOnly=false)
void propertySetChanged(KoProperty::Set *set)
Widget * createWidgetForProperty(Property *property, bool changeWidgetProperty=true)
void changeSet(Set *set, bool preservePrevSelection=false)
void slotPropertyChanged(KoProperty::Set &set, KoProperty::Property &property)
The base class representing a single property.
Lists holding properties in groups.
TDEListView(TQWidget *parent=0, const char *name=0)
Namespace for a set of classes implementing generic properties framework.
|