23#include <kdialogbase.h>
41class KPrEffectDia :
public KDialogBase
47 KPrEffectDia( TQWidget* parent,
const char*,
const TQPtrList<KPrObject> &_objs,
53 void resizeEvent( TQResizeEvent *e );
55 TQString getSoundFileFilter()
const;
57 TQComboBox *cEffect, *cEffect2, *cDisappear, *cAppearSpeed, *cDisappearSpeed;
58 TQLabel *lEffect, *lEffect2, *lAppear, *lDisappear, *lDEffect, * lAppearSpeed, *lDisappearSpeed;
59 TQSpinBox *eAppearStep,*eDisappearStep;
60 TQCheckBox *disappear;
61 TQBoxLayout *topLayout;
62 KIntNumInput *timerOfAppear, *timerOfDisappear;
64 TQCheckBox *appearSoundEffect, *disappearSoundEffect;
65 TQLabel *lSoundEffect1, *lSoundEffect2;
66 KURLRequester *requester1, *requester2;
67 TQPushButton *buttonTestPlaySoundEffect1, *buttonTestStopSoundEffect1;
68 TQPushButton *buttonTestPlaySoundEffect2, *buttonTestStopSoundEffect2;
70 KPrSoundPlayer *soundPlayer1, *soundPlayer2;
73 TQPtrList<KPrObject> objs;
76 void slotEffectDiaOk();
79 void disappearChanged();
80 void appearEffectChanged(
int num );
81 void disappearEffectChanged(
int num );
82 void appearSoundEffectChanged();
83 void disappearSoundEffectChanged();
84 void slotRequesterClicked( KURLRequester * );
85 void slotAppearFileChanged(
const TQString& );
86 void slotDisappearFileChanged(
const TQString& );