Hi,
During the constructor phase of my QGraphicsItem derive class, I need to
perform some QFont related information. The font information may be
obtained via scene object but my study of the constructor stage is that it
is not initialized yet.
The derived class is added to the scene via the
this is an enlightening conversation, so thanks for chiming in
> One thing to be aware of when using QMacStyle or QWindowsStyle
well, but, see, i don't want to use those
i want to use stylesheets, like this:
"::focus { border: 3px solid #color }"
not related to mac or windows
and this is
BTW.. I missed that you are using QSRTM, since you are use QSRTM, you shouldn’t
need to use any proxy model.
Simply use the setFilter and setOrder methods. The setOrder should be handled
automatically by your view when you set the model, and enable sorting on the
view.
Scott
-Original
One thing I have found in years past, sorting via a proxy when dealing with sql
models, is a bad idea.
All models, have the "fetch" functionality. Allowing the application, to load
the data incrementally.. This is critical for large tables. Yes, your scroll
bars are "screwed up", but in the
right okay so my source model class is QSqlRelationalTableModel, no subclass.
does this answer your question?
sorry i'm still learning about this stuff.
now that you know that, is it easier to answer my original question?
> On Jun 8, 2020, at 1:37 PM, Francis Herne wrote:
>
> On Friday, 5
One thing to be aware of when using QMacStyle or QWindowsStyle is that they are
trying to emulate the Macintosh or Windows mandated look. The blue focus ring
is a Macintosh thing, and like many things Apple, it comes in one size. The
width of the blue line is mandated.
On Windows, when I ran
On Friday, 5 June 2020 17:23:37 BST David M. Cotter wrote:
> >>> What table view are you talking about, specifically?
> >>
> >> QTableView with QSortFilterProxyModel
> >
> > What is the model _behind_ QSFPM?
>
> i'm trying to understand your question. i'm not sure what you mean, cuz i'm
> not
can anyone explain why tree view looks fine but table view only has 1 pixel?
@adam did you download the example project? it's trivial to run and you can
test several implementations. which impl would be used with your suggestion of
PM_FocusFrame margins?
and do you have maybe example code to
On Sun, Jun 7, 2020 at 2:21 PM David M. Cotter wrote:
> i have an example project (see below), that tries 6 different
> implementations, attempts to make the focus ring 3 pix wide. None of them
> work on windows, and only one of them PARTIALLY works on mac. What i want
> is the style you get