kword

#include <KWResizeTableDia.h>

Inherits KDialogBase.

Public Member Functions

 KWResizeTableDia (TQWidget *parent, KWTableFrameSet *table, KWDocument *doc, int resizeColumn)
 

Protected Slots

virtual void slotOk ()
 
virtual void slotApply ()
 
virtual void slotUser1 ()
 
void slotValueChanged (int pos)
 

Protected Member Functions

void setupTab1 (int resizeColumn)
 
bool doResize ()
 

Protected Attributes

TQSpinBox * m_value
 
KWTableFrameSet * m_table
 
KWDocument * m_doc
 
KoUnitDoubleSpinBox * m_position
 
double m_resetValue
 

Detailed Description

A dialog that can be used to resize columns of a table using numeric input.

Definition at line 35 of file KWResizeTableDia.h.

Constructor & Destructor Documentation

◆ KWResizeTableDia()

KWResizeTableDia::KWResizeTableDia ( TQWidget *  parent,
KWTableFrameSet *  table,
KWDocument *  doc,
int  resizeColumn 
)

Constructor.

Parameters
parentparent widget for dialog
tablethe table to do the resizes on
docthe document this table belongs to, for undo information
resizeColumnthe initial column that the user can resize.

Definition at line 31 of file KWResizeTableDia.cpp.

Member Function Documentation

◆ doResize()

bool KWResizeTableDia::doResize ( )
protected

Definition at line 58 of file KWResizeTableDia.cpp.

◆ setupTab1()

void KWResizeTableDia::setupTab1 ( int  resizeColumn)
protected

Definition at line 43 of file KWResizeTableDia.cpp.

◆ slotApply

void KWResizeTableDia::slotApply ( )
protectedvirtualslot

Definition at line 89 of file KWResizeTableDia.cpp.

◆ slotOk

void KWResizeTableDia::slotOk ( )
protectedvirtualslot

Definition at line 94 of file KWResizeTableDia.cpp.

◆ slotUser1

void KWResizeTableDia::slotUser1 ( )
protectedvirtualslot

Definition at line 83 of file KWResizeTableDia.cpp.

◆ slotValueChanged

void KWResizeTableDia::slotValueChanged ( int  pos)
protectedslot

Definition at line 74 of file KWResizeTableDia.cpp.

Member Data Documentation

◆ m_doc

KWDocument* KWResizeTableDia::m_doc
protected

Definition at line 54 of file KWResizeTableDia.h.

◆ m_position

KoUnitDoubleSpinBox* KWResizeTableDia::m_position
protected

Definition at line 55 of file KWResizeTableDia.h.

◆ m_resetValue

double KWResizeTableDia::m_resetValue
protected

Definition at line 56 of file KWResizeTableDia.h.

◆ m_table

KWTableFrameSet* KWResizeTableDia::m_table
protected

Definition at line 53 of file KWResizeTableDia.h.

◆ m_value

TQSpinBox* KWResizeTableDia::m_value
protected

Definition at line 52 of file KWResizeTableDia.h.


The documentation for this class was generated from the following files: