]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/qt2/QTabularDialog.C
better selection and scrolling behaviour
[lyx.git] / src / frontends / qt2 / QTabularDialog.C
index 27832cf7154b7bb65ae366c51e3c6148aa1bb0d4..1ec562904bce8745b0801608300d77b6d7ec0b87 100644 (file)
@@ -17,7 +17,7 @@
 #endif
 
 #include "ControlTabular.h"
+
 #include "QTabular.h"
 #include "QTabularDialog.h"
 #include "tabular.h"
@@ -60,31 +60,30 @@ void QTabularDialog::columnAppend_clicked()
        form_->controller().set(LyXTabular::APPEND_COLUMN);
 }
 
+
 void QTabularDialog::rowAppend_clicked()
 {
        form_->controller().set(LyXTabular::APPEND_ROW);
 }
 
+
 void QTabularDialog::columnDelete_clicked()
 {
        form_->controller().set(LyXTabular::DELETE_COLUMN);
 }
 
+
 void QTabularDialog::rowDelete_clicked()
 {
        form_->controller().set(LyXTabular::DELETE_ROW);
 }
 
+
 void QTabularDialog::borderSet_clicked()
 {
        form_->controller().set(LyXTabular::SET_ALL_LINES);
        form_->update_borders();
        form_->changed();
-       //FIXME: qsetborder widget not updated
 }
 
 void QTabularDialog::borderUnset_clicked()
@@ -92,9 +91,8 @@ void QTabularDialog::borderUnset_clicked()
        form_->controller().set(LyXTabular::UNSET_ALL_LINES);
        form_->update_borders();
        form_->changed();
-       //FIXME: qsetborder widget not updated
 }
+
 
 void QTabularDialog::leftBorder_changed()
 {
@@ -148,8 +146,8 @@ void QTabularDialog::specialAlignment_changed()
 
 void QTabularDialog::width_changed()
 {
-       string const width = 
-               LyXLength(widthED->text().toDouble(), 
+       string const width =
+               LyXLength(widthED->text().toDouble(),
                        widthUnit->currentLengthItem()).asString();
        if (form_->controller().isMulticolumnCell())
                form_->controller().set(LyXTabular::SET_MPWIDTH, width);