[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: GUI editor tabs
From: |
Thorsten Liebig |
Subject: |
Re: GUI editor tabs |
Date: |
Thu, 28 Nov 2013 12:43:32 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.1.0 |
Just make it depend on the Qt version found?
#if QT_VERSION >= 0x040500
_tab_widget->setMovable (true);
#endif
Am 28.11.2013 12:29, schrieb Richard Crozier:
>
> The devs may be aware of this, but as of Qt 4.5 you can have movable tabs so
> to order can be changed by dragging them around. In Octave I have tried
> this by adding the line
>
> _tab_widget->setMovable (true);
>
> just after the tab is created around line 874 of file-editor.cc. Is there a
> maximum version of Qt for features in the GUI? If higher than 4.5, I
> think adding this might be a nice feature, as it's annoying that you can't
> rearrange the tabs.
>
> Richard
>