summaryrefslogtreecommitdiff
authorzecke <zecke>2003-02-11 19:19:30 (UTC)
committer zecke <zecke>2003-02-11 19:19:30 (UTC)
commit3a82474f1b90ac803f8dd9dd43f2901e7a0b0aad (patch) (side-by-side diff)
treec7aa37c2d44de10a05ec4ad16050653f4335b7c1
parent17738622fd2b61138695441df860f8ecd16f286f (diff)
downloadopie-3a82474f1b90ac803f8dd9dd43f2901e7a0b0aad.zip
opie-3a82474f1b90ac803f8dd9dd43f2901e7a0b0aad.tar.gz
opie-3a82474f1b90ac803f8dd9dd43f2901e7a0b0aad.tar.bz2
Add a FIXME note
drw killed the .ui files in his nice UI appealing update but setPopup is a bad idea for small screens and there was a reason for the slotHack so I need to readd it again...
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--core/pim/todo/taskeditorstatus.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/core/pim/todo/taskeditorstatus.cpp b/core/pim/todo/taskeditorstatus.cpp
index 9a5fe7a..b11fdab 100644
--- a/core/pim/todo/taskeditorstatus.cpp
+++ b/core/pim/todo/taskeditorstatus.cpp
@@ -23,48 +23,51 @@
If not, write to the Free Software Foundation,
Inc., 59 Temple Place - Suite 330,
Boston, MA 02111-1307, USA.
*/
#include "taskeditorstatus.h"
#include <opie/otodo.h>
#include <opie/opimmaintainer.h>
#include <opie/opimstate.h>
#include <qpe/datebookmonth.h>
#include <qpe/resource.h>
#include <qpe/timestring.h>
#include <qcheckbox.h>
#include <qcombobox.h>
#include <qlabel.h>
#include <qlayout.h>
#include <qscrollview.h>
#include <qtoolbutton.h>
#include <qwhatsthis.h>
+// FIXME add the hack slots instead of setPopup!!!!
+// drw you shouldn't have removed them
+
TaskEditorStatus::TaskEditorStatus( QWidget* parent, const char* name, WFlags fl )
: QWidget( parent, name, fl )
{
QDate curDate = QDate::currentDate();
m_start = m_comp = m_due = curDate;
QString curDateStr = TimeString::longDateString( curDate );
QVBoxLayout *vb = new QVBoxLayout( this );
QScrollView *sv = new QScrollView( this );
vb->addWidget( sv );
sv->setResizePolicy( QScrollView::AutoOneFit );
sv->setFrameStyle( QFrame::NoFrame );
QWidget *container = new QWidget( sv->viewport() );
sv->addChild( container );
QGridLayout *layout = new QGridLayout( container, 7, 3, 4, 4 );
// Status
QLabel *label = new QLabel( tr( "Status:" ), container );
layout->addWidget( label, 0, 0 );
QWhatsThis::add( label, tr( "Click here to set the current status of this task." ) );
cmbStatus = new QComboBox( FALSE, container );