]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/qt4/Toolbars.h
On Linux show in crash message box the backtrace
[lyx.git] / src / frontends / qt4 / Toolbars.h
index 6ecc738ad9b7ffecd5ca1aff2739780dd32362b1..3e6ac570318af3a9cc9ba3ce90659c2b0605663f 100644 (file)
@@ -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,10 @@ 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
+               IPA = 4096, //< show when in IPA inset
+               ALLOWAUTO = MATH | TABLE | REVIEW | MATHMACROTEMPLATE | IPA
        };
 
        typedef std::vector<ToolbarInfo> Infos;