]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/qt2/README
better selection and scrolling behaviour
[lyx.git] / src / frontends / qt2 / README
index 2fa5e7387db2d323bd3828f83ff9c956a4da0cdc..904dfce4745aff5d29ed9f46292437d275643465 100644 (file)
@@ -11,7 +11,9 @@ then remember to call form_->changed() at the end (if it has changed !)
  
 Every non-trivial widget should have a tooltip. If you don't know
 what to write, write "FIXME", and it can fixed later. Don't be afraid
-to use QWhatsThis too (e.g. the index dialog)
+to use QWhatsThis too, but this must be done in the derived class's
+constructor, and use _("..."). Non-trivial means that things like "OK"
+/must not/ have a tooltip.
  
 If necessary, you should override Qt2Base::isValid() for determining the validity
 of the current dialog's contents.
@@ -55,17 +57,49 @@ PB - push button
 Dialog         Maintainer      MVC conversion
 ----------------------------------------------
 About          John            Done
+Bibitem                John            Done
 Bibtex         John            Done
-Character      Edwin
+Character      Edwin           Done
 Citation       Kalle           Done
 Document       Kalle           Waiting for MVC
+ERT            John            Done
+Error          John            Done 
+External       John            Done 
+Graphics       John            Done
+Include                John            Done 
 Index          Kalle           Done
-Paragraph      Edwin           Waiting for MVC
-Print          Edwin
+Log            John            Done
+Minipage       John            Done 
+Paragraph      Edwin           Waiting to be updated
+Preamble       John            Done
+Print          Edwin           Done
 Ref            Kalle           Done
-Search         Edwin
+Search         Edwin           Done
+Spellchecker   John            Done
 Splash         Edwin
 Tabular                                Waiting for MVC
-TabularCreate  Edwin
-Toc            Kalle
+TabularCreate  Edwin           Done
+Thesaurus      John            Done
+Toc            Kalle           Waiting to be updated
 Url            Kalle           Done
+VCLog          John            Done
+
+
+Stuff to be aware of
+--------------------
+
+The connect statement in Qt is a macro and its arguments does not follow
+the C++ standard as it should. Using the construct "Type const &" as
+argument will lead to runtime-errors, use "const Type &" instead.
+
+ex.
+
+--right--
+
+       connect(list, SIGNAL(selected(const QString &)),
+               this, SLOT(complete_selected(const QString &)));
+
+--wrong--
+
+       connect(list, SIGNAL(selected(QString const &)),
+               this, SLOT(complete_selected(QString const &)));