On Tue, Mar 26, 2019 at 8:40 AM Murphy, Sean wrote:
> > This works for me, and the button is small 16x16.
> >
> > m_TheTabWidget->setCornerWidget(bp1);
>
> You know, I saw that function and for some reason switched it
> in my head to be talking about the corner cell in a QTableWidget,
> n
On Tue, Mar 26, 2019 at 09:19:37PM +, Murphy, Sean wrote:
> > > there doesn't appear to be an easy way to add widgets in the tab widget's
> > tab bar.
> >
> > QTabWidget::tabBar(), layout(), addItem() ?
>
> I meant "easy" in the sense of a functions like these (which don't exist):
> QToolButt
> > there doesn't appear to be an easy way to add widgets in the tab widget's
> tab bar.
>
> QTabWidget::tabBar(), layout(), addItem() ?
I meant "easy" in the sense of a functions like these (which don't exist):
QToolButton* QTabWidget::leftScrollButton()
QToolButton* QTabWidget::rightScrollB
On Tue, Mar 26, 2019 at 03:02:42PM +, Murphy, Sean wrote:
> Honestly, an decent solution would be where if I could modify the tab widget's
> tab bar to never show the scroll buttons (easy enough with the
> usesScrollButtons
> property), and instead always show the tool button. This looks harde
On Tue, Mar 26, 2019 at 11:15:19AM -0400, Matthew Woehlke wrote:
> Instead, you might want to look at e.g. KDevelop, Konqueror or Falkon
> (maybe Qt Creator can be added to that list also?) to see what they do.
Qt Creator is notorious for not using tabs. Or at least it was notorious,
looks like Wi
On Tue, Mar 26, 2019 at 01:56:00PM +, Murphy, Sean wrote:
> Is there a way to get access to the scroll buttons on a QTabWidget to
> customize
> them?
You can always check where the code driving the feature hides in the
code and then drill down using findChild() in the application.
From a qui
> This works for me, and the button is small 16x16.
>
> m_TheTabWidget->setCornerWidget(bp1);
You know, I saw that function and for some reason switched it
in my head to be talking about the corner cell in a QTableWidget,
not talking about a QTabWidget. Apparently I need more caffeine
to
On 03/26/2019 11:02 AM, Murphy, Sean wrote:
[External]
You could add a tool-button with said popup menu associated to it to the
right of the tab widget (e.g. Firefox does this). This would have the
advantage from my PoV that it's always there and works, regardless of
how many tabs are open.
On 26/03/2019 09.56, Murphy, Sean wrote:
> Is there a way to get access to the scroll buttons on a QTabWidget to
> customize them?
>
> The issue we're having is that we have a UI that uses a tab widget for
> displaying file contents - one tab per open file. Once a user opens enough
> files/tabs
> You could add a tool-button with said popup menu associated to it to the
> right of the tab widget (e.g. Firefox does this). This would have the
> advantage from my PoV that it's always there and works, regardless of
> how many tabs are open.
I'll ask whether this would be acceptable. As I menti
> > A request has come in to allow the user to right-click on the scroll
> > buttons,
> which would then open a popup menu of all open tab names which they can
> select from, and then I could just set the selected tab as the currentIndex().
> But I don't see anything on https://doc.qt.io/qt-5/qtab
You could add a tool-button with said popup menu associated to it to the
right of the tab widget (e.g. Firefox does this). This would have the
advantage from my PoV that it's always there and works, regardless of
how many tabs are open.
-Marian
Am 26.03.19 um 14:56 schrieb Murphy, Sean:
> Is ther
Is there a way to get access to the scroll buttons on a QTabWidget to customize
them?
The issue we're having is that we have a UI that uses a tab widget for
displaying file contents - one tab per open file. Once a user opens enough
files/tabs, the tab scroll buttons pop up (so far so good),
Is there a way to get access to the scroll buttons on a QTabWidget to customize
them?
The issue we're having is that we have a UI that uses a tab widget for
displaying file contents - one tab per open file. Once a user opens enough
files/tabs, the tab scroll buttons pop up (so far so good), but
14 matches
Mail list logo