On 2011/11/24 01:46 PM, Mark Constable wrote:
On 2011-11-24 12:07 PM, Alex Strickland wrote:
If I maximise a screen, is there a way to scale everything?
Does my initial rectangle of 400x400 scale up to the screen
pixels? Does x = 5 become 20 if, for arguments sake, my
screen is 1600x1600
On 2011/12/07 01:59 PM, kai.koe...@nokia.com wrote:
My suggestion would be to look into (nested) ListViews (or GridViews) +
appropriate Model(s) behind the scenes.
Grid {
id: maingrid
anchors.fill: parent
columns: 3
rows: 2
Repeater {
On 2012/06/14 09:44 AM, Johan Råde wrote:
I tried both the Antialiasing and the TextAntialiasing render hints.
They make no difference.
Maybe - QPainter::HighQualityAntialiasing?
--
Regards
Alex
___
Interest mailing list
Interest@qt-project.org
On 2012/06/15 07:26 PM, Charley Bay wrote:
(1) Its interface is too minimal (insufficient)
(2) Its implementation is limited
(3) It does not support real-world-unicode use
That's my venting because for over a decade I never understood why
people thought std::string was an acceptable
Hi
This is kind of non-specific, but maybe someone can help me without me
having to jump through hoops.
Debugging was working fine with Creator 2.4 (cdb with MSVC), then
downloaded Creator 2.5 and debugging fails (doesn't stop at a
breakpoint), go back to 2.4 and it's broken there now as well
On 2012/06/21 08:39 PM, Till Oliver Knoll wrote:
With gcc/gdb you have the option to (re-)create debug info for a given Qt
installation (I think it has more to do with the debugger getting to know
about Qt data structures such as QString). I think in the panel where you
manage your
On 2012/08/23 08:30 AM, Ramakanthreddy_Kesireddy wrote:
But build has failed after 5 hours of struggle. Can someone help me in
making this success.
I guess you are a programmer, so when a user gets hold of you and says
your program doesn't work, what do you ask them?
--
Regards
Alex
Hi
This is really a general C++ question, but I have looked long and hard
and not worked it out. In the code below how should I initialise v.v
using the QScopedPointer?
#include QScopedPointer
class abc
{
};
class a : public abc
{
};
class x
{
public:
QScopedPointerabc v;
};
int
On 2012/09/18 05:02 PM, Kandeler Christian wrote:
You are looking for QScopedPointer::reset().
Thank you, that was quick. Like this?
y.v.reset(new a);
--
Regards
Alex
___
Interest mailing list
Interest@qt-project.org
Hi
I have a QTreeView with a couple of check boxes on the right hand side.
I use resizeEvent to make sure that the check boxes are kept on the
right by using width() and columnWidth() to get the first column to the
correct width to make everything fit.
However, when the QTreeView gets long
On 2012/11/08 09:23 AM, Alex Strickland wrote:
However, when the QTreeView gets long enough to automatically add a
scroll bar - my calculations don't work and one of the check box columns
is obscured by the scrollbar. How can I check if the scroll bar is
activated and, if so, obtain it's
Hi
I downloaded this:
http://qt-apps.org/content/show.php?content=103154
It seems quite nice to allow hierarchical headers for a QTableView, but
it looks like the hierarchy must always have a root.
I am trying to add multiple root columns, or alternately hide the root
row/column.
On 2012/11/15 04:56 AM, Alex Malyushytskyy wrote:
As far as I understand cell either is hierarchical or not.
If it is hierarchical it must have a root (otherwise it can be
presented by a few regular cells).
I just briefly played with the code, but I was able to get both
regular and
Hi
I am trying to create a workable example of a very simple model to use
with a QTreeView. Here is the underlying hierarchical data:
TreeModel::TreeModel()
{
TreeStruct treeStruct;
treeStruct.name = one;
treeStruct.leaves one/one one/two;
m_treeData treeStruct;
On 2012/11/19 04:41 PM, Alex Strickland wrote:
Sorry, I should have shown the header:
#include QAbstractItemModel
#include QModelIndex
#include QVariant
typedef struct TreeStruct
{
QString name;
QListQString leaves;
};
class TreeModel : public QAbstractItemModel
{
public
On 2012/11/19 06:10 PM, Jan Kundrát wrote:
That's a rather strange tree -- you could only ever have a tree with at most
one level of nesting using this structure.
It's a simplification of what I really want, but basically one level is
fine.
Have you read the example [1] about how tree
On 2012/11/19 06:27 PM, Alex Strickland wrote:
Yes, I have, but as you might judge from the above, it's still a bit hazy!
My attempts don't work, can anyone say why?
TIA
--
Regards
Alex
/*
* Copyright Electric Bridge Software 2011,2012.
*/
#include treemodel.h
TreeModel::TreeModel
On 2013/01/17 03:36 AM, d3fault wrote:
I hope they port QtWebkit next, that way I can write my GUI in
html/_javascript_ to then have it rendered by Webkit, which will
incidentally be running as html/_javascript_. The html/_javascript_
html/_javascript_ renderer. mind =
On 2013/04/10 10:05 PM, Michael Jackson wrote:
And just because a majority download the installer does not mean ALL. It
is YOUR JOB AS A Qt DEVELOPER/MAINTAINER to make MY life easier. That is your
job.
Yeah Mike, get him fired for not doing his job!
--
Alex
On 2013/04/10 10:36 PM, Dirk Hohndel wrote:
Good luck with that.
I know it's the lowest form of wit, but an attempt at wit it was.
--
Regards
Alex
___
Interest mailing list
Interest@qt-project.org
On 2015/05/19 01:34 AM, Dale Marchand wrote:
Can someone explain why the following line in a .pro file fails to
create a softlink:
system(ln -s /home/marchand/test.xml /home/marchand/test2.xml)
but when the output is stored in a variable, the link is created as
expected:
On 2015/05/27 09:39 AM, Graham Labdon wrote:
I am planning to use a SQLite database in my application to store application
data.
The application is large and complex so we are taking a phased delivery
approach. This will mean that the structure of the database will change over
time and
On 2015/05/27 09:39 AM, Graham Labdon wrote:
I am planning to use a SQLite database in my application to store application
data.
The application is large and complex so we are taking a phased delivery
approach. This will mean that the structure of the database will change over
time and
On 2018/05/11 08:32, Thiago Macieira wrote:
It's not an error to not write everything.
This reply is Delphic in it's inscrutability :)
--
Regards
Alex
___
Interest mailing list
Interest@qt-project.org
24 matches
Mail list logo