> Hi,
>
> I want to create new window in my QTabWidget when we get "target=_new" from
> HTML file.
>
> We are getting "createWindow" call from Qt when user click on any link with
> attribute "target=_new" and I am handling that and open in new tab in
> QTabWidget.
>
> BUT when we close the
Hi,
I want to create new window in my QTabWidget when we get "target=_new" from
HTML file.
We are getting "createWindow" call from Qt when user click on any link with
attribute "target=_new" and I am handling that and open in new tab in
QTabWidget.
BUT when we close the opened tab and again clic
Thanks for your input! I see that I'll need to get more familiar with
the event dispatcher mechanism, although I am going to purge the
library's Qt4-QCoreApplication...
2017-11-17 17:36 GMT+01:00 Thiago Macieira :
> On sexta-feira, 17 de novembro de 2017 08:22:42 PST Konstantin Tokarev wrote:
>> >
I'm using QScroller on QScrollView-based classes on Android and it works
fine. When used on a QGraphicsView however, it has no effect.
This:
QGraphicsView* gv = // ...
QScroller::grabGesture(gv->viewport(), QScroller::LeftMouseButtonGesture);
seems to have no effect. If I override the mouse pr
> You can use a QStyledItemDelegate, and override the paint method. Call
> the base method to clear the cell and draw the text, then add your
> indicator based on the role. Eg:
Thanks for the suggestion, I'll take a look at it! It seems like it should do
the trick for me.
Sean
This message
Hi Sean,
You can use a QStyledItemDelegate, and override the paint method. Call
the base method to clear the cell and draw the text, then add your
indicator based on the role. Eg:
void CellDelegate::paint(QPainter *painter, const QStyleOptionViewItem &option,
const QModelIndex &index) co
>On 13.11.2017 17:12, Jean-Michaël Celerier wrote:
>> http://kgronholm.blogspot.fr/2017/11/qt-510-qml-shape-testing.html
>>
>> An interesting blog post which compares QPainter, the upcoming QML
>> Shapes and QNanoPainter. I'm surprised to see QML Shapes perform so
>> much slower than good old QP
Some spreadsheet applications (notably MS Excel, Google Sheets, etc.) have a
mechanism for indicating that a cell has a comment attached to it (see attached
screenshot, the red triangle in the upper corner of the cell A1). Is there a
way to do something similar with a QTableWidgetItem?
The only
2017-11-17 23:52 GMT+01:00 Philippe :
>> You can do hybrid apps in Qt, I did one in MFC and Qt. Remember at some
>> level Qt is "just a library". I'd imagine that at some point though you'd
>> need to merge the event loops depending on the level of intertop required.
>> If you don't have the sa