[rkward-cvs] rkward/rkward/dataeditor editlabelsdialog.cpp,1.3,1.4
Thomas Friedrichsmeier
tfry at users.sourceforge.net
Thu Apr 6 19:50:41 UTC 2006
- Previous message: [rkward-cvs] rkward/rkward/dataeditor editlabelsdialog.cpp,1.2,1.3 editlabelsdialog.h,1.1,1.2 twintablemember.cpp,1.16,1.17 twintablemember.h,1.14,1.15
- Next message: [rkward-cvs] rkward/rkward/dataeditor editlabelsdialog.cpp,1.4,1.5 editlabelsdialog.h,1.2,1.3 rkdrag.cpp,1.2,1.3 rkdrag.h,1.1,1.2 rkeditor.h,1.6,1.7 rkeditordataframe.cpp,1.32,1.33 rkeditordataframe.h,1.8,1.9 rkeditordataframepart.cpp,1.6,1.7 twintable.cpp,1.29,1.30 twintable.h,1.11,1.12 twintablemember.cpp,1.17,1.18 twintablemember.h,1.15,1.16
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /cvsroot/rkward/rkward/rkward/dataeditor
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv10298
Modified Files:
editlabelsdialog.cpp
Log Message:
Fixes to factor level dialog
Index: editlabelsdialog.cpp
===================================================================
RCS file: /cvsroot/rkward/rkward/rkward/dataeditor/editlabelsdialog.cpp,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** editlabelsdialog.cpp 6 Apr 2006 19:40:46 -0000 1.3
--- editlabelsdialog.cpp 6 Apr 2006 19:50:39 -0000 1.4
***************
*** 40,48 ****
setNumCols (2);
- verticalHeader ()->setLabel (0, i18n ("Index"));
- verticalHeader ()->setLabel (1, i18n ("Label"));
- setColumnReadOnly (0, true);
-
setNumRows (storage->count () + 1);
}
--- 40,49 ----
setNumCols (2);
setNumRows (storage->count () + 1);
+ horizontalHeader ()->setLabel (0, i18n ("Index"));
+ horizontalHeader ()->setLabel (1, i18n ("Label"));
+ verticalHeader ()->hide ();
+ setLeftMargin (0);
+ setColumnReadOnly (0, true);
}
***************
*** 134,137 ****
--- 135,140 ----
RK_ASSERT (!tted);
+ if (col < 1) return 0;
+
if (row >= numTrueRows ()) {
insertRows (numRows (), 1);
***************
*** 163,167 ****
QVBoxLayout *mainvbox = new QVBoxLayout (this, KDialog::marginHint (), KDialog::spacingHint ());
! QLabel *label = new QLabel (i18n ("Levels can be assigned only to consecutive integers starting with 1. To remove levels at the end of the list, just set them to empty."), this);
label->setAlignment (Qt::AlignAuto | Qt::AlignVCenter | Qt::ExpandTabs | Qt::WordBreak);
mainvbox->addWidget (label);
--- 166,170 ----
QVBoxLayout *mainvbox = new QVBoxLayout (this, KDialog::marginHint (), KDialog::spacingHint ());
! QLabel *label = new QLabel (i18n ("Levels can be assigned only to consecutive integers starting with 1 (the index column is read only). To remove levels at the end of the list, just set them to empty."), this);
label->setAlignment (Qt::AlignAuto | Qt::AlignVCenter | Qt::ExpandTabs | Qt::WordBreak);
mainvbox->addWidget (label);
- Previous message: [rkward-cvs] rkward/rkward/dataeditor editlabelsdialog.cpp,1.2,1.3 editlabelsdialog.h,1.1,1.2 twintablemember.cpp,1.16,1.17 twintablemember.h,1.14,1.15
- Next message: [rkward-cvs] rkward/rkward/dataeditor editlabelsdialog.cpp,1.4,1.5 editlabelsdialog.h,1.2,1.3 rkdrag.cpp,1.2,1.3 rkdrag.h,1.1,1.2 rkeditor.h,1.6,1.7 rkeditordataframe.cpp,1.32,1.33 rkeditordataframe.h,1.8,1.9 rkeditordataframepart.cpp,1.6,1.7 twintable.cpp,1.29,1.30 twintable.h,1.11,1.12 twintablemember.cpp,1.17,1.18 twintablemember.h,1.15,1.16
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the rkward-tracker
mailing list