X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Ffrontends%2Fqt4%2FToolbars.h;h=92bd3de78b46e1f1032264c6f7a88538808f5a7e;hb=425d092204118ea6c24c28e85fdf03fcf2bb51a4;hp=6ecc738ad9b7ffecd5ca1aff2739780dd32362b1;hpb=a54850d7622f63d6ca39aaa2c211d959c295f232;p=lyx.git diff --git a/src/frontends/qt4/Toolbars.h b/src/frontends/qt4/Toolbars.h index 6ecc738ad9..92bd3de78b 100644 --- a/src/frontends/qt4/Toolbars.h +++ b/src/frontends/qt4/Toolbars.h @@ -38,8 +38,10 @@ public: LAYOUTS, /// a special widget to insert tabulars TABLEINSERT, - /// + /// a button that expands a menu POPUPMENU, + /// a button that expands a menu but remembers the last choice + STICKYPOPUPMENU, /// ICONPALETTE }; @@ -77,7 +79,7 @@ public: /// toolbar name std::string name; /// toolbar GUI name - std::string gui_name; + docstring gui_name; /// toolbar contents Items items; @@ -105,7 +107,8 @@ public: MATH = 128, //< show when in math TABLE = 256, //< show when in table REVIEW = 512, //< show when change tracking is enabled - MATHMACROTEMPLATE = 1024 //< show in math macro template + MATHMACROTEMPLATE = 1024, //< show in math macro template + SAMEROW = 2048 //place to the current row, no new line }; typedef std::vector Infos;