Hi all,
Is there a way to anchor the whole qml application to an desktop edge
(e.g like a side bar with icons and stuff).
Something like anchor.app.desktop.left/right/bottom/top or is C/C++
detecting resolution and stuff absolutely necessary for that?
Thanks
Hi all,
I am still a beginner, so excuse me if I ask stupid questions :)
I want to import a c++ plugin
void QtProcessPlugin::registerTypes(const char *uri)
{
// @uri QtProcess
qmlRegisterTypeProcess(uri, 0, 1, Process);
}
so I can use it in qml. How should I add it to my open project in
Hi,
I have a question :)
http://blog.qt.digia.com/blog/2011/08/26/toplevel-windows-and-menus-with-qt-quick/
says
Context Menus
Sometimes it is also nice to have a ContextMenu for certain options.
In that case some javascript certainly needs to be involved.
ContextMenu {
id: contextMenu
...@digia.com:
On 6 Nov 2013, at 4:49 PM, Damian Ivanov wrote:
Hi,
I have a question :)
http://blog.qt.digia.com/blog/2011/08/26/toplevel-windows-and-menus-with-qt-quick/
That's rather old, about an earlier iteration of the component set that we
are shipping with Qt 5.x (x = 1). Menu is now
can see a style property but I
can not find any documentation on it. I want also to define the
background of the menu.
2013/11/7 Rutledge Shawn shawn.rutle...@digia.com:
On 7 Nov 2013, at 7:53 AM, Damian Ivanov wrote:
Thanks Shawn for the clarification.
That's rather old, about an earlier
menu
All Program - Menu etc
2013/11/7 Rutledge Shawn shawn.rutle...@digia.com:
On 7 Nov 2013, at 10:31 AM, Damian Ivanov wrote:
Great! Super Thanks Shawn. Two last questions for today I promise :)
Is it possible that I have them persistent i the main window like
Had the same issue Yesterday on openSUSE. Deleted
$HOME/.config/qtcreator = no result ; installed Qt from installer
into different directory = no result
Reinstalled OS = works
2013/11/12 liang jian jianlian...@gmail.com:
Hello everyone, I have a very simple .pro file:
Hi,
There is a library available that exposes Linux GSettings to qml see:
https://launchpad.net/gsettings-qt
Now I try to use it in my .qml
import QtQuick 2.1
import QtQuick.Controls 1.1
import GSettings 1.0
import QtQuick.Window 2.1
Window {
id:window
GSettings {
id: test
Hi,
Is there a window flag which make my app behave as a panel (other
windows do not go below or on top of it but they resize like my app is
the end of available screen space)
Thanks in advance
___
Interest mailing list
Interest@qt-project.org
.
If you want configuration, try qbs.
Bo.
en 19-11-2013 20:14, Damian Ivanov skrev:
Hi all,
I have a library (libqt-xdg) in /usr/lib
in cmake you can inclued it via find_package(QT5XDG)
How can I include it into my .pro file in qtcreator?
QT += core gui QT5XDG
gives me unknown module
Hi all,
I did not find it but I thought I ask on this list if someone knows
for it's existence.
For a Menu { id: myMenu } I can call it like a contextMenu by calling
it via myMenu.popup()
and it will popup at current mouse position and if clicked outside of
the myMenu it is automatically hidden
Hi all,
If I want to show the current time in QtQuick I would do it like that:
text = Qt.formatDateTime(new Date(), hh:mm:ss)
Timer {
id: clocklTimer
interval: 500; running: true; repeat: true
onTriggered: timeChanged()
}
but now let's say I want in multiple
Hi all,
I did not find it but I thought I ask on this list if someone knows
for it's existence.
For a Menu { id: myMenu } I can call it like a contextMenu by calling
it via myMenu.popup()
and it will popup at current mouse position and if clicked outside of
the myMenu it is automatically hidden
Hi Harish,
Thanks for your answer. How can I block the signals ?
2013/12/6 Harish Surana suran...@gmail.com:
You need to block signals of slider when you are setting value programmatic
..
On Fri, Dec 6, 2013 at 11:58 AM, Damian Ivanov damianator...@gmail.com
wrote:
Hi all,
I have
Hi Gabriel,
Thanks! Worked perfectly :)
2013/12/6 deDietrich Gabriel gabriel.dedietr...@digia.com:
Hi Damian,
On Dec 6, 2013, at 11:58 AM, Damian Ivanov damianator...@gmail.com wrote:
I have a question regarding the Slider element form Controls:
Slider
but the
initial value should represent: testSettings.testOpacity
How is that achieved?
2013/12/6 Damian Ivanov damianator...@gmail.com:
Hi Gabriel,
Thanks! Worked perfectly :)
2013/12/6 deDietrich Gabriel gabriel.dedietr...@digia.com:
Hi Damian,
On Dec 6, 2013, at 11:58 AM, Damian Ivanov damianator
Thanks!
2013/12/6 Tomasz Olszak olszak.tom...@gmail.com:
2013/12/6 Damian Ivanov damianator...@gmail.com
Sry again, it worked, but now
Slider {id:opacitySlider; minimumValue:30;
maximumValue:100; stepSize:1; }
Binding {target:testSettings
Hi all,
Is there an existing QtQuick C++ plugin which shows all open windows
(or give access to the window manager) for Linux window managers(like
a taskbar applet showing all open windows).
(I know KDE; Hawaii and Unity 2d do it but KDE and Unity are pulling
in their whole Stuff, Hawaii is
Hi all,
I made a QML plugin, which gives access to X11 window's. windowlist,
active window and actions for windows like closeWindow(winID) etc.
I don't know how to properly implement the signals and slot so that
the active window and the window list gets updated (e.g a new window
appears or one
question for so long
here... I will when I'm finished with my program (open source) release
it and I hope it will give good examples for Qt/c++ beginners.
Thanks again.
2014/1/28 Alan Alpert 4163654...@gmail.com:
On Mon, Jan 27, 2014 at 1:21 AM, Damian Ivanov damianator...@gmail.com
wrote:
Hi
Hi all,
QML has some high quality blur effects. I have a semi transparent
window and want to blur whats behind it, so it's semi-transparent but
the space behind it should be blurred. Can this be done in QML?
Thanks in advance.
___
Interest mailing list
Hi,
I made a c++ QML plugin for X11 functions like windowlist, active
window, setting, getting icon of apps, names, id and setting netwm
properties. Source code is here
https://build.opensuse.org/package/show/home:damianator:qmlx11/qmlx11
Right now you can do all the stuff mentioned already,
...
2014-02-05 Rutledge Shawn shawn.rutle...@digia.com:
On 5 Feb 2014, at 11:16 AM, Damian Ivanov wrote:
Hi,
I made a c++ QML plugin for X11 functions like windowlist, active
window, setting, getting icon of apps, names, id and setting netwm
properties. Source code is here
https
Maybe not a feature for Qt directly, but it is a plug-in and what I
want to do with the plugin is actually a task manager :)
2014-02-05 Thiago Macieira thiago.macie...@intel.com:
Em qua 05 fev 2014, às 14:59:23, Rutledge Shawn escreveu:
Personally I wish we had some of that as QPA APIs (at
:37, Damian Ivanov escreveu:
Maybe not a feature for Qt directly, but it is a plug-in and what I
want to do with the plugin is actually a task manager :)
Sure, that is a welcome thing, thanks for making the effort.
I was just reacting to making this part of QPA.
--
Thiago Macieira
Hi,
Is there a proper way I can prevent GridView from scrolling?
I have a GridView with only a few items, none of them will be ever
outside the view
and the scrolling is kinda annoying.
Thanks in advance,
Damian
___
Interest mailing list
Thank you, thank you, thank you :) :)
2014-02-23 5:08 GMT+02:00 Alan Alpert 4163654...@gmail.com:
Resending to list, in case anyone else was wondering.
On Sat, Feb 22, 2014 at 3:17 PM, Damian Ivanov damianator...@gmail.com
wrote:
Hi,
Is there a proper way I can prevent GridView from
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
:
On Tue, Feb 25, 2014 at 1:39 AM, Damian Ivanov damianator...@gmail.com
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
snip
That's a good suggestion, but there are a lot of nice features that the Qt
Hi all,
I have a GridView which gets the model from a QStringlist model from c++
GridView{... model:myPlugin.stringList;...}
Now this QStringList may contain by nature duplicates.
Is there a way I can hide them in the GridView?
I tried in the delegate to set the item visible=false, this hides
expose instance with your string list model set as a source model:
GridView {
model: myPlugin.filteredStringList
// ...
}
Best Regards,
Filip
On Mon, Mar 3, 2014 at 8:06 AM, Damian Ivanov damianator...@gmail.com
wrote:
Hi all,
I have a GridView which gets the model from
Hi all,
Is there a simple way to accept any file extension I try
QString fileNameString = /usr/share/pixmaps/+df.iconName()+.png;
QFile fileName(fileNameString);
if (fileName.exists())
return QIcon(fileNameString);
and do this check for every extension, what I'd
Hi all,
Any way I can give the menu a fixed position ? I have a button which
onClicked popup() the Menu.
I want the Menu to at always the same position and not when I click on
a different area of the parent item, with another offset.
Thanks in advance!
Damian
Hi,
A general question but maybe you are so kind and help me :-)
/usr/lib/libMyLib.so and
/opt/MyProj/lib/libMyLib.so
(100% indentical files)
So when I have 2 programs: one uses the one and the other, the other
lib, will they still share memory?
Thanks in advance!
Is there a Qt API so I can control system-wide sound (like volume
slider + mute button)
I try to do that on Linux /pulseaudio/alsa but I'd like to have a
signal volumeChanged so the slider gets updated if the volume was
changed externally.
I know Phonon can do this, but since it's not part of Qt5
for the record: I can't confirm this, QML input is instantly here free
radeon driver (5series) on openSUSE 13.1 64bit.
2014-03-22 15:46 GMT+01:00 Willem Bennekom cumul...@gmail.com:
With its current architecture, QtQuick has input latency issues:
The scene reacts to user input with a slight,
platforms where vsync is
enabled.
(Macbook Pro (Nvidia), Linux/Windows Desktop with Nvidia, Windows Desktop
with AMD + Angle.
It hapopens with all Qt Quick versions.)
Here's a minimal test scene (rectangle follows mouse):
http://pastie.org/pastes/8959817
2014-03-22 18:37 GMT+01:00 Damian Ivanov
Let's say I have two qml files in my application. File one imports
qtquick 2.2 layouts and controls at 1.1. File two imports qtquick 2.1
and layouts/controls at 1.0
Wouldn't you waste memory that way?
I'd propose a warning to stdin if qtcreator sees you do that (most
likely you do it by mistake).
16/64bit
From: Damian Ivanov damianator...@gmail.com
To: Willem Bennekom cumul...@gmail.com
Cc: interest@qt-project.org interest@qt-project.org
Sent: Saturday, March 22, 2014 6:28 PM
Subject: Re: [Interest] Input Latency Issues in QtQuick
hmm I can confirm
scorp...@yahoo.com:
Yeap, I did that. No delay.
Perhaps you need a faster computer?
From: Damian Ivanov damianator...@gmail.com
To: Jason H scorp...@yahoo.com
Cc: Willem Bennekom cumul...@gmail.com; interest@qt-project.org
interest@qt-project.org
Sent
Hi,
Since there was no plugin for that, I made one. It uses
libkwindowsystem only as dependency, so it depends on one standalone
library (and this supports X11 and wayland).
https://github.com/damianatorrpm/qmltaskbar
Things you can do with it would be a GridView/ListView of all open
I'm sorry if this may not help but I wanted to share as it's somewhat
related. On Windows systems one can from QProccess access any Windows
cmd command.
The process should be defined as cmd /c $mycommand /k maybe also useful.
2014-04-03 2:34 GMT+02:00 Sze Howe Koh szehowe@gmail.com:
On 3
one could use cmd /c echo hello at least I do so, or this somehow bad?
2014-04-03 12:36 GMT+03:00 Joerg Bornemann joerg.bornem...@digia.com:
On 03-Apr-14 02:34, Sze Howe Koh wrote:
Nor on Windows's prompt:
C:\echo hello
hello
Checking arguments with the echo shell built-in on Windows is
_NET_WM_STRUT / _NET_WM_STRUT_PARTIAL google it, if you don't want to
implement it on your own use kwindowsystem
2014-04-11 14:39 GMT+02:00 Jean Richard Lima jeanrl...@gmail.com:
Hi people!
I need to put my application as a dock, reserving screen space so that it is
not overlapped
I'm
-- Forwarded message --
From: Damian Ivanov damianator...@gmail.com
Date: 2014-04-11 15:46 GMT+02:00
Subject: Re: [Interest] How to put a dock application as reserving screen space
To: Jean Richard Lima jeanrl...@gmail.com
Yes they are not part of Qt, you either implement support
should I look to
try
to find me.
Many thanks again for your attention and patience.
Hugs.
Jean Richard Lima
Consultor de Gestão e TIC
Software House de Projetos Específicos
2014-04-11 10:46 GMT-03:00 Damian Ivanov
damianator...@gmail.comjavascript
-- Forwarded message --
From: Damian Ivanov damianator...@gmail.com
Date: 2014-04-12 21:12 GMT+03:00
Subject: Re: [Interest] How to put a dock application as reserving screen space
To: Jean Richard Lima j...@jeanrl.com.br
KWindowSystem https://projects.kde.org/projects/frameworks
, Damian Ivanov damianator...@gmail.com
wrote:
Is there any free alternative for this on Linux? I am standing before
an issue that I must load (startup) a simple (really simple) qml
application fast. Unfortunately it takes about 1,5 sec (and that with
Qt 5.3, 840 evo ssd, fx 8320, 16gb ram
Sorry for the late answer, I did profile the application and also
tried with only a black Rectangle {} in a test. Profiling shows
everything ready @140ms. It still feels like 1sec from click to
application show-up, other Qt/gtk apps doesn't feel that way. Is there
a way that the main.cpp renders
Hi all,
I;m trying to compile qtsystems plugin:
1) extract ; 2) /path/to/qt5.3/qmake ; make ;
that fails because some headers are not found as it is looked for them
inside but they are actually inside the qtsystems directory. Can
you fix this or am I doing something wrong? Do I have to add via
Hi Sergio,
I did download the tarball.
Thank you really much! I owe you a beer :)
2014-05-30 17:36 GMT+03:00 Sergio Ahumada sahum...@texla.cl:
El 30/05/14 16:32, Damian Ivanov escribió:
Hi all,
I;m trying to compile qtsystems plugin:
1) extract ; 2) /path/to/qt5.3/qmake ; make ;
that fails
Hello all :)
I have a program which has few mousearea's which are partly overlapping.
One mousearea fills the whole application window. I want to do
function foo() {} if
the mouse leaves the window and function bar() {} when I enter the window.
Can I prevent onExited getting called (frome the
On Linux you can use libkwindowsystem, this will work with x11 (xlib
and xcb) and wayland. If you want that done in qml I have done a
wrapper for kwindowsystem to qml
https://github.com/damianatorrpm/qmltaskbar/
2014-06-05 10:18 GMT+02:00 Mikhail Khvoinitsky mhspa...@gmail.com:
For QWidget-based
make mousearea's propagate events work also for Hover event :)
___
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest
to the next mouseArea.
Regards,
Damian
2014-06-06 8:14 GMT+02:00 Rutledge Shawn shawn.rutle...@digia.com:
On 5 Jun 2014, at 22:15, Damian Ivanov damianator...@gmail.com wrote:
make mousearea's propagate events work also for Hover event :)
___
Interest
Hello,
I'm trying to show a QIcon from ARGB32 data which come from dbus,
any help suggestions how to do that?
I have a QByteArray which contains the data, I tried
QImage image;
image.loadFromData(myByteArray);
QPixmap pixmap = QPixmap::fromImage(image);
return QIcon(pixmap) ;
unfortunately this
Hi Filip,
Thanks a lot for your answer!
It well kinda works - an icon is shown but it's garbage, it should not
be. Is there any information on the internet (I googled) on argb32
more specifically how it should look like(as byteArray)?
I'm asking because I am trying to implement a Qt-only(no kde
Hello again,
I have argb32 data in network byte order and want to construct a QIcon
that show it.
How to convert it to a QByteArray in byte order accepted by QImage/QIcon?
Thanks in advance.
Damian
___
Interest mailing list
Interest@qt-project.org
You mean you append to byte array the exact string from link [3]?? Then it is
not going to work in any way!
Yes the exact string. I also thought it's strange that there is -128
(maybe because it is in network byte order over dbus?)
Rather convert it to a values.
I don't know how :(
21x14
___
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest
Thank's for your answer and your help.
I do understand that a string is not an integer.
I'm used to script like languages and not used to writing c++ code,
please excuse me.
I am not familiar with every features c++ offer and how to use them.
That's why I do QtQuick but I am forced to extend a
Hello once more,
Filip would you mind sharing the code with me so you got the flag?
I tried lots of combinations... Should the data look like [1] ?
1 http://pastie.org/9289563
___
Interest mailing list
Interest@qt-project.org
Yes, Till that's true. As I wrote I understand the differences btw.
int/string/arrays and types but I have big troubles converting them. I
am willing to learn and to help others when I'm better.
PS: When it does not help to the problem resolution you can open a new
thread, so it doesn't seem the
Thanks I am perfectly fine I want to learn c++ properly :) I've done
the step but i forgot to strip out the commas that's why it didn't
work.
Thanks again.
___
Interest mailing list
Interest@qt-project.org
Maybe try to repeat Instantiator {}
___
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest
Hi all,
Is it possible to use a folderlistmodel for a tableview?
I'm trying it but the tableview is empty.
Also with Qt Creator when I use as folder: for the folderlistmodel
qrc:/myprefix and I test it with console.log(folderlistmodel.get(2,
fileName)) or any other index it returns files from the
Thanks FileDialog is sufficient for me! :)
2014-07-14 12:33 GMT+03:00 Rutledge Shawn shawn.rutle...@digia.com:
On 13 Jul 2014, at 7:22 PM, Damian Ivanov wrote:
Hi all,
Is it possible to use a folderlistmodel for a tableview?
Yes the QtQuick.Dialogs FileDialog uses this implementation
Hey Daniel,
On Linux you should follow statusNotifier spec, it's the closest to
come to a spec for all desktops.
May some of this would be useful to you as an example:
https://github.com/damianatorrpm/qmlpanel/blob/master/qml/IndicatorTray.qml
Cheers,
Damian
2014-12-10 10:07 GMT+01:00 René J.V.
Hi Dmitriy,
Wanted to ask if your stuff is open source and is available on github?
2015-01-14 0:26 GMT+01:00 Ian Monroe i...@monroe.nu:
On Tue, Jan 13, 2015 at 10:57 AM, Dmitriy Purgin dpur...@gmail.com wrote:
Hello all,
I'm developing a small Qt project for SailfishOS (a Linux
Hi,
maybe a Qt bug?
Using setType / setState (from kwindowsystem) on a custom qquickwindow
like here:
http://www.filedropper.com/testtar
results in the rendering to freeze.
Drive me crazy!
___
Interest mailing list
Interest@qt-project.org
Hello,
Current patches add functionality for movement and resizing of frameless
windows using qml only functionality, see:
https://github.com/johanhelsing/qt-csd-demo
Above implements the movement.
I am wondering how resizing would be proper. Is there a way to address all
edge-lines of an
Hello,
One thing is not quite obvious for me reading the docs:
http://doc.qt.io/qt-5/qtqml-qmlextensionplugins-example.html
Is it possible to have a pure qml plugin (thus not containing c++)
which does not
contain .qml files but only pre-compiled ones .qmlc?
Thanks in advance,
D.
Hi all,
Is it possible to have a custom qquickpopup which has focus and is the
active window?
class MyPopup : public QQuickPopup
{
Q_OBJECT
public:
MyPopup(QObject* parent=nullptr) : QQuickPopup(parent)
{
this->window->forceActiveFocus();//doesn't do that
};
Thanks in advanced
Hello,
What is the correct way to do the following so it doesn't warn about
the use of old stylecast?
//G_VARIANT_TYPE_BYTESTRING = is defined in gvarianttype.h
// #define G_VARIANT_TYPE_BYTESTRING ((const GVariantType *) "ay")
// value is of type GVariant *value
if
C cast:
> ((const GVariantType *) "ay")
> should be
> static_cast("ay")
>
>
> -Original Message-
> From: Interest On Behalf Of Damian Ivanov
> Sent: August 20, 2019 5:51 AM
> To: interest@qt-project.org
> Subject: [Interest] old style cast
&g
d declaration and inside a
> lib that cannot be modified), at which point you will have to disable the
> warning at that particular place (sorry I don't known how to do this, since I
> normally fix the lib and never leave warning alive).
>
> -Original Message-
> From: Dam
You can implement CSD decorations and handle the events in your
application. May takes a lot of time though.
On Tue, 27 Aug 2019, 21:10 Murphy, Sean, wrote:
> One of my users reported an issue that I think falls into the
> "nothing can be done about it" category, but wanted to see
> if anyone
If you want to put the effort for this, port to client side decoration
and handle events in your application.
On Wed, Aug 28, 2019 at 5:05 PM Mitch Curtis wrote:
>
> > -Original Message-
> > From: Interest On Behalf Of Murphy,
> > Sean
> > Sent: Wednesday, 28 August 2019 3:57 PM
> > To:
Porting an existing application which is in production because of
something I would not really consider as an issue (you are closing the
window anyways) to something like this would mean maybe hundreds of
hours of work and new bugs guaranteed, on all platforms.
On Wed, Aug 28, 2019 at 5:25 PM
79 matches
Mail list logo