Diffstat (limited to 'core/pim/todo/quickeditimpl.cpp') (more/less context) (show whitespace changes)
-rw-r--r-- | core/pim/todo/quickeditimpl.cpp | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/core/pim/todo/quickeditimpl.cpp b/core/pim/todo/quickeditimpl.cpp index cadec03..7664ee4 100644 --- a/core/pim/todo/quickeditimpl.cpp +++ b/core/pim/todo/quickeditimpl.cpp @@ -2,2 +2,3 @@ #include <qlineedit.h> +#include <qwhatsthis.h> @@ -21,4 +22,2 @@ QuickEditImpl::QuickEditImpl( QWidget* parent, bool visible ) - - // TODO - come up with icons and replace text priority values m_lbl = new OClickableLabel( this ); @@ -27,2 +26,3 @@ QuickEditImpl::QuickEditImpl( QWidget* parent, bool visible ) connect(m_lbl, SIGNAL(clicked() ), this, SLOT(slotPrio()) ); + QWhatsThis::add( m_lbl, tr( "Click here to set the priority of new task.\n\nThis area is called the quick task bar.\n\nIt allows you to quickly add a new task to your list. This area can be shown or hidden by selecting Options->'Show quick task bar' from the menu above." ) ); @@ -30,2 +30,3 @@ QuickEditImpl::QuickEditImpl( QWidget* parent, bool visible ) setStretchableWidget( m_edit ); + QWhatsThis::add( m_edit, tr( "Enter description of new task here.\n\nThis area is called the quick task bar.\n\nIt allows you to quickly add a new task to your list. This area can be shown or hidden by selecting Options->'Show quick task bar' from the menu above." ) ); @@ -34,2 +35,3 @@ QuickEditImpl::QuickEditImpl( QWidget* parent, bool visible ) a->addTo( this ); + a->setWhatsThis( tr( "Click here to enter additional information for new task.\n\nThis area is called the quick task bar.\n\nIt allows you to quickly add a new task to your list. This area can be shown or hidden by selecting Options->'Show quick task bar' from the menu above." ) ); @@ -38,2 +40,3 @@ QuickEditImpl::QuickEditImpl( QWidget* parent, bool visible ) a->addTo( this ); + a->setWhatsThis( tr( "Click here to add new task.\n\nThis area is called the quick task bar.\n\nIt allows you to quickly add a new task to your list. This area can be shown or hidden by selecting Options->'Show quick task bar' from the menu above." ) ); @@ -42,2 +45,3 @@ QuickEditImpl::QuickEditImpl( QWidget* parent, bool visible ) a->addTo( this ); + a->setWhatsThis( tr( "Click here to reset new task information.\n\nThis area is called the quick task bar.\n\nIt allows you to quickly add a new task to your list. This area can be shown or hidden by selecting Options->'Show quick task bar' from the menu above." ) ); |