20#ifndef KOLINEWIDTHACTION_H
21#define KOLINEWIDTHACTION_H
23#include <kdialogbase.h>
26#include <KoSelectAction.h>
27#include <koffice_export.h>
41 KoLineWidthAction( const TQString& text, const TQString& icon, TQObject* parent = 0, const char* name = 0);
50 KoLineWidthAction( const TQString& text, const TQString& icon, const TQObject* receiver,
51 const char* slot, TQObject* parent, const char* name = 0);
55 double currentWidth() const;
65 void setCurrentWidth( double width);
83 class KoLineWidthActionPrivate;
84 KoLineWidthActionPrivate* d;
110 class KoLineWidthChooserPrivate;
111 KoLineWidthChooserPrivate* d;
A line width selection action.
void lineWidthChanged(double) Emited when a new line width have been selected.
This class provides a dialog for setting a custom line width.
void setUnit(KoUnit::Unit unit) Set unit to use when showing the width.
void setWidth(double width) Set line width.
double width() const Returns the selected line width in points.
An action that provides a menu with items that can be selected.
virtual void execute(int index) Execute an item.
Unit Length units supported by KOffice.
|