mething about the focus.
Sorry for the complicated email, but in short, what should I do to have
the qcheckbox be drawn with the focus rectangle when my qdialog editor is
first shown?
Josh
___
Interest mailing list
Interest@qt-project.org
https://lists.qt-project.org/listinfo/interest
Any other obvious ways to speed it up, or other suggestions?
Josh
QDataStream &operator<<(QDataStream &out, const QString &str)
{
if(str.isNull())
out << (quint8)255; //null marker
else
{
QByteArray utf8=str.toUtf8();
qsizetype size=utf8.size(
Hi,
It appears QTextEdit has more shortcuts than are in the docs? For example,
Ctrl-E goes to the end of line. Where in the Qt source can I find all the
shortcuts/key bindings for QTextEdit? I can't seem to find them in
Src/qtbase/src/widgets/widgets/qtextedit.cpp or related files...
action
item shortcut to the main window. But calling k->ignore(); and then
returning in keyPressEvent() doesn't allow the main window to use the
shortcut. Is there a way that the main window can see those shortcut keys?
Josh
___
Interest mail
work.
QSettings set1("Company", "Program");
set1.setValue("key", 1);
QSettings set2("test.ini", QSettings::IniFormat);
set2 = set1;
Josh
___
Interest mailing list
Interest@qt-project.org
https://lists.qt-project.org/listinfo/interest
r QPdfView
(6.8.2) as well as the rest of Qt PDF?
Thanks,
Josh
___
Interest mailing list
Interest@qt-project.org
https://lists.qt-project.org/listinfo/interest
to keep calling
QPrinter::setPageMargins() after every QPrinter::newPage(). I suppose I
could set the margins to the minimum left/right margin, and then adjust
the painting for each page, but I'm wondering if there is a better way to
do it. Thanks,
Josh
void QSyntaxHighlighter::highlightBlock(const QString &txt)
//determine level of text
if(level)
{
setCurrentBlockState(level);
blkfmt.setTopMargin(10);
blkfmt.setLeftMargin(((level)*2)*chW);
blkfmt.setTextIndent((-level-1)*chW);
myCur.mergeBlockFormat(blkfmt);
}
T
ument::setPlainText().
I've been able to mix/match insertHtml() and insertText() to split up my
insertHtml() calls and insert tabs with insertText(). It sort of works
(see below), but I'm checking if there is a better solution...
Thanks,
Josh
QStringList tabText = text.split("\t&quo
On Sun, 12 Apr 2020, Josh wrote:
On Sat, 11 Apr 2020, Giuseppe D'Angelo via Interest wrote:
This should "just work". Are the links correctly inserted in the document?
Does it work if you use document->print() and print directly on a PDF?
HTH,
Thanks, that does hel
didn't work.
(I'm assuming span id isn't part of the supported HTML subset, didn't see
it say it was supported)
Okular and Chrome both recognize the as a link. Okular opens
dolphin when I click it and Chrome does nothing.
What am I missing?
Josh
function which generates the PDF like
following:
...
painter.translate(xmar/scale, -page*pageHeight + ymar/scale);
myDocument->drawContents(&painter, view);
...
Any ideas about getting links into the PDF are appreciated.
Josh
___
Interest maili
t get in Javascript is
co-routines. You can write run your Lua code as a co-routine and have it
yield back to C++ so Qt can run its event loop and resume the Lua code on
certain events. This lets you write Lua code that looks like straight-line
code even though it runs inside an event based system
>
> That could probably work if i want to blur an image.
> In this case i want to blur the bottom part of a ListView where i want
> to overlay a search field and blur the background.
> That case makes splitting it a bit difficult ;)
>
You can use sourceRect on ShaderEffectSource, and then apply t
Hi Sletta,
That makes sense, I'll give it a shot. Thanks.
Josh
On Mon, Nov 4, 2013 at 12:34 AM, Sletta Gunnar wrote:
> Hi Josh,
>
> This should be possible, but there are a few things to keep in mind. In Qt
> 5.1 the QQuickWindows all share the same OpenGL context, so you
Is this possible? I can't use a custom QQuickWindow subclass, as I'm using
ApplicationWindow. Is there any way to set the default QSurfaceFormat that
will be used by QWindow?
Josh
___
Interest mailing list
Interest@qt-project.org
http:
imation prevents the constant
rendering.
Is this a bug that I should file, or is it expected behavior?
Thanks
Josh
___
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest
style the dropdown? (It doesn't look
like it, as as far as I can tell ComboBoxStyle uses MenuStyle, which is not
styleable).
Is my best bet to override the mouse handling behavior and pop up my own
menu?
Thanks
Josh
___
Interest mailing l
tion also resets the value.
Is this possible at the moment? Should I just write a custom scene graph
item?
Thanks
Josh
___
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest
ts, but that should be solveable.
Thanks!
Josh
___
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest
nce is not a concern).
Thanks
Josh
___
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest
ne1);
background ->appendChildNode(line2);
Josh
On Wed, Jun 5, 2013 at 10:14 AM, Mark wrote:
> Hi,
>
> Another day, another Scene Graph question.
>
> In plain QML it's very easy to make a few rectangles laying on top of
> each other. I'm having trouble doing the same thin
arStyle is also currently not needed in the
> public API since you can anyway use a custom QML item in their place.
>
Yes, it was ToolButtonStyle that I was missing, I just happened to notice
ToolBarStyle at the same time. You're right that there's no reason it can
, or should all the styles exist in the qmldir?
(The specific ones I've noticed are ToolBarStyle and ToolButtonStyle).
Josh
___
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest
The Style class is currently private, but is required as a base-class for
custom styling. This wasn't the case until recently, but I'm not sure what
changed to require it.
Is this expected? Is custom styling not a supported feature?
Josh
__
//bugreports.qt-project.org/browse/QTBUG-31019
>
>
Ah, yes, I should have been more explicit in what I meant by "handling". I
meant ignoring -- though I also missed the obvious onVisibleChanged.
Thanks!
Josh
___
Interest mailing list
Int
There doesn't appear to be any way of handling Window close events in
QtQuick (nor, now that I look at it, in QWindow). Am I missing something
obvious?
Josh
___
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/lis
Qml does not use webkit
___
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest
I just got the same exact error on Mingw-w64 4.7.1-2 (rubenvb's build).
From what I see reported the Ming 4.4 installer also has confirmed
problems with compiling projects. This is the sloppiest release of Qt
yet. I question the future of Qt under its new management...
I just got the same error on Mingw-w64 4.7.1-2 (rubenvb's build).
From what I see reported the Ming 4.4 installer also has confirmed
problems with compiling projects. This is the sloppiest release of Qt
yet and I question the future of Qt under Digia.
__
30 matches
Mail list logo