Am 26.02.2014 04:02, schrieb Marcelo Estanislau Geyer:
It's possible load pdf file to QByteArray? The simple code below is not
work:
QFile file("/home/marcelo/Documents/test.pdf");
if (!file.open(QIODevice::ReadOnly)) {
qDebug() << "file open error";
return;
}
QByteArray ba_pdf = file.r
> It's possible load pdf file to QByteArray? The simple code below is not work:
But your code works perfectly. You successfully loaded the pdf file into your
QByteArray. But I suppose what you really wanted, is that your document is
rendered.
Sorry, QByteArray is no pdf renderer.
Maybe this w
It's possible load pdf file to QByteArray? The simple code below is not work:
QFile file("/home/marcelo/Documents/test.pdf");
if (!file.open(QIODevice::ReadOnly)) {qDebug() << "file open error";
return;}
QByteArray ba_pdf = file.readAll();
qDebug() << ba_pdf;
file.close();
The output is
Have you tried implementing a layout that has a locking mechanism?
In theory you can get the root layout to not layout until you approve the
change? This will produce an unfilled area until you unlock it.
From: "william.croc...@analog.com"
To: interest@qt-pro
On Tue, Feb 25, 2014 at 1:39 AM, Damian Ivanov wrote:
> Hi Alex,
>
> depends on how you define menubar..
> You can make a few buttons next to each other and every button
> triggers it's own menu
>
That's a good suggestion, but there are a lot of nice features that the Qt
Quick MenuBar has (keyb
On 02/25/2014 12:56 PM, Thiago Macieira wrote:
> Em seg 24 fev 2014, às 14:30:29, John Weeks escreveu:
>> On 24-Feb-2014, at 2:24 PM, Thiago Macieira wrote:
>>> That's something entirely controlled by the window manager. Sorry.
>>
>> Thanks, Thiago. That's good to know.
>
> Here's a suggestion: do
Em seg 24 fev 2014, às 14:30:29, John Weeks escreveu:
> On 24-Feb-2014, at 2:24 PM, Thiago Macieira wrote:
> > That's something entirely controlled by the window manager. Sorry.
>
> Thanks, Thiago. That's good to know.
Here's a suggestion: do a delayed repainting after you get a resize event.
If
Em ter 25 fev 2014, às 13:07:27, Jan Kundrát escreveu:
> On Sunday, 23 February 2014 13:24:54 CEST, igor.mironc...@gmail.com wrote:
> > QApplication::desktop()->physicalDpiY()
>
> In addition to what has already been said, note that the value is not
> updated after the application has started. In
Right- this is what Thiago meant in his reply to my original posting.
And verified on Mac OS X: before posting, I tried QApplication::mouseButtons()
to detect the mouse state, and got false information. The mouse events that
drive the resizing aren't getting to Qt at all.
Well, then again, putt
On Monday 24 February 2014 13:56:01 John Weeks wrote:
> We have windows in our application that are potentially expensive to
> repaint, so when the user resizes a window we may need to put off
> repainting until the resizing is finished. It seems that we don't get mouse
> down/mouse up events when
Hello,
I'm creating installers for my current project (online and offline) with Qt
Installer Framework 1.5. The installer works, but I'm having problems with
using the installer to install updates.
I have these issues:
[1] when running the offline or online installer again for a new version,
On Sunday, 23 February 2014 13:24:54 CEST, igor.mironc...@gmail.com wrote:
> QApplication::desktop()->physicalDpiY()
In addition to what has already been said, note that the value is not
updated after the application has started. In X11, the actual DPI can very
well change (for example when swit
Hi Alex,
depends on how you define menubar..
You can make a few buttons next to each other and every button
triggers it's own menu like
Row {
Menu{id:1 }
Menu{id:2 }
Menu{id:3 }
Button {id:1 onClicked: menu1.popup()}
Button {id:2 onClick
13 matches
Mail list logo