hide export for floatimages.
1 /****************************************************************************
2 ** ui.h extension file, included from the uic-generated form implementation.
4 ** If you wish to add, delete or rename functions or slots use
5 ** Qt Designer which will update this file, preserving your code. Create an
6 ** init() function in place of a constructor, and a destroy() function in
7 ** place of a destructor.
8 *****************************************************************************/
9 void EditXLinkDialog::init()
16 void EditXLinkDialog::deleteButtonPressed()
22 bool EditXLinkDialog::deleteXLink()
28 void EditXLinkDialog::widthChanged( int w)
33 void EditXLinkDialog::setXLink( XLinkObj * xo)
36 colorButton->setPaletteBackgroundColor (xlo->getColor() );
37 widthBox->setValue(xlo->getWidth());
40 void EditXLinkDialog::setSelection(LinkableMapObj *s)
45 void EditXLinkDialog::colorButtonPressed()
49 QColor col = QColorDialog::getColor(xlo->getColor(), this );
50 if ( !col.isValid() ) return;
52 colorButton->setPaletteBackgroundColor (col);
56 void EditXLinkDialog::setColorHeadingButtonPressed()
61 (typeid(*selection) == typeid(BranchObj)) ||
62 (typeid(*selection) == typeid(MapCenterObj)) )
64 QColor col=((BranchObj*)(selection))->getColor();
66 colorButton->setPaletteBackgroundColor (col);
71 bool EditXLinkDialog::useSettingsGlobal ()
73 return useSettings->isChecked();