1 /**********************************************************************
3 --- Qt Architect generated file ---
6 Last generated: Sat Oct 14 00:27:49 2000
8 *********************************************************************/
10 #include "paraextradlg.h"
14 #define Inherited ParaExtraDialogData
16 ParaExtraDialog::ParaExtraDialog
22 Inherited( parent, name )
24 type->insertItem(_("Normal"));
25 type->insertItem(_("Indented paragraph"));
26 type->insertItem(_("Minipage"));
27 type->insertItem(_("Wrap text around floats (floatflt)"));
29 widthvalueunits->insertItem(_("Centimetres"));
30 widthvalueunits->insertItem(_("Inches"));
31 widthvalueunits->insertItem(_("Points (1/72.27 inch)"));
32 widthvalueunits->insertItem(_("Millimetres"));
33 widthvalueunits->insertItem(_("Picas"));
34 widthvalueunits->insertItem(_("ex units"));
35 widthvalueunits->insertItem(_("em units"));
36 widthvalueunits->insertItem(_("Scaled points (1/65536 pt)"));
37 widthvalueunits->insertItem(_("Big/PS points (1/72 inch)"));
38 widthvalueunits->insertItem(_("Didot points"));
39 widthvalueunits->insertItem(_("Cicero points"));
40 widthvalueunits->insertItem(_("Percent of column"));
44 ParaExtraDialog::~ParaExtraDialog()
48 void ParaExtraDialog::typeHighlighted(int val)
50 specialalignment->setEnabled(val==2);
51 top->setEnabled(val==2);
52 middle->setEnabled(val==2);
53 bottom->setEnabled(val==2);
54 widthvalue->setEnabled(val!=0);
55 widthvalueunits->setEnabled(val!=0);
56 hfillbetween->setEnabled(val==2);
57 startnewminipage->setEnabled(val==2);