nitramr / indigodock Goto Github PK
View Code? Open in Web Editor NEWQt Docking extension written for Scribus
License: GNU General Public License v2.0
Qt Docking extension written for Scribus
License: GNU General Public License v2.0
It's helpful to to test builds via Continuous Integration services.
Ubuntu Trusty is the default Linux distro that Travis-CI uses.
We can get Travis-CI to install Qt5.6 via adding something like:
# Linux
- if [ $TRAVIS_OS_NAME == linux ]; then
sudo apt-add-repository ppa:beineri/opt-qt56-trusty -y;
sudo apt-get update -qq;
sudo apt-get install -y qt56base qt56declarative qt56tools;
fi
We can also look at other Qt5 projects that use Travis like:
after f8bb077 was committed, MacOSX UI looks like this:
Running 7cc7880 on MacOS 10.10.5
Reproduce:
This is slightly different than #31 so I opened a new ticket:
To reproduce:
hey
would you mind if i abuse of your project for testing other things like:
the idea is to create technology previews to test/show how it would work...
hey martin
your project has been noticed by http://host-oman.blogspot.ch/ and there are -- afaik -- two students, who showed interest in contributing to the prototype.
i would also like to find a way to get the attention of a few of the graphics designer who cared about the scribus UI in the past (cédric, claudia, and vlada, ...).
now, i'm wondering if their contribution is welcome (i hope so :-) and how it could work out...
do you have any proposition?
OSX 10.10.5 Qt5.6 indigoDock 6249eed
See screenshot (I did an alt+tab
and widgets remained in the forefront)
The more I read about indigodock the more certain I am that it would be a great fit for our project (http://qgis.org).
I can't find any info on the license for this code though. Do you plan to add a license file or license headers to the code?
OSX 10.10.5 7cc7880
Similiar to how we see in the proposals
OSX 10.10.5 7cc7880
Recreate:
Console Output:
Starting /Users/sphenoid/Develop/indigoDock/build/TestLayout.app/Contents/MacOS/TestLayout...
UI theme is: "dark"
PanelIndex is: -1
PanelIndex is: 0
Load Workspace
PanelIndex is: -1
PanelIndex is: 1
Load Workspace
PanelIndex is: 0
PanelIndex is: 0
PanelIndex is: 0
PanelIndex is: -1
PanelIndex is: 0
PanelIndex is: 0
Load Workspace
Load Workspace
PanelIndex is: -1 `
@nitramr you may be already aware of this but I'm posting anyway JIC
OSX 10.10.5 Qt5.6 QtCreator4.0 indigoDock revision 9fe9da3
2 issues:
Theme buttons don't respond anymore in 7cc7880
OSX 10.10.5 a39a935 Qt5.6 QtCreator4.0
reproduce:
Perhaps there is benefit in examining some previous ideas about the Properties Pallete and other UI elements in the Scribus program? If so I can make a list that will link to those tickets. What do you think?
Scribus tickets that indigoDock addresses
a question: which qt version are you using?
can i use qt 5.5's json class?
Trying to build 58a6805 on OSX 10.10.5 Qt5.6 (built with Homebrew package manager) I get these errors:
20:32:36: Running steps for project TestLayout...
20:32:36: Configuration unchanged, skipping qmake step.
20:32:36: Starting: "/usr/bin/make"
/Users/sphenoid/Qt/5.6/clang_64/bin/qmake -spec macx-clang CONFIG+=x86_64 -o Makefile ../indigoDock/TestLayout.pro
/Applications/Xcode.app/Contents/Developer/usr/bin/make -f Makefile.Release
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++ -c -pipe -stdlib=libc++ -O2 -std=gnu++11 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk -mmacosx-version-min=10.7 -Wall -W -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_DESIGNER_LIB -DQT_UIPLUGIN_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_CORE_LIB -DQDESIGNER_EXPORT_WIDGETS -I../indigoDock -I. -I../../Qt/5.6/clang_64/lib/QtDesigner.framework/Headers -I../../Qt/5.6/clang_64/lib/QtUiPlugin.framework/Headers -I../../Qt/5.6/clang_64/lib/QtWidgets.framework/Headers -I../../Qt/5.6/clang_64/lib/QtGui.framework/Headers -I../../Qt/5.6/clang_64/lib/QtXml.framework/Headers -I../../Qt/5.6/clang_64/lib/QtCore.framework/Headers -I../indigoDock/build/release -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk/System/Library/Frameworks/OpenGL.framework/Headers -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk/System/Library/Frameworks/AGL.framework/Headers -I../indigoDock/build/release -I../../Qt/5.6/clang_64/mkspecs/macx-clang -F/Users/sphenoid/Qt/5.6/clang_64/lib -o ../indigoDock/build/release/main.o ../indigoDock/main.cpp
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++ -c -pipe -stdlib=libc++ -O2 -std=gnu++11 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk -mmacosx-version-min=10.7 -Wall -W -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_DESIGNER_LIB -DQT_UIPLUGIN_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_CORE_LIB -DQDESIGNER_EXPORT_WIDGETS -I../indigoDock -I. -I../../Qt/5.6/clang_64/lib/QtDesigner.framework/Headers -I../../Qt/5.6/clang_64/lib/QtUiPlugin.framework/Headers -I../../Qt/5.6/clang_64/lib/QtWidgets.framework/Headers -I../../Qt/5.6/clang_64/lib/QtGui.framework/Headers -I../../Qt/5.6/clang_64/lib/QtXml.framework/Headers -I../../Qt/5.6/clang_64/lib/QtCore.framework/Headers -I../indigoDock/build/release -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk/System/Library/Frameworks/OpenGL.framework/Headers -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk/System/Library/Frameworks/AGL.framework/Headers -I../indigoDock/build/release -I../../Qt/5.6/clang_64/mkspecs/macx-clang -F/Users/sphenoid/Qt/5.6/clang_64/lib -o ../indigoDock/build/release/mainwindow.o ../indigoDock/mainwindow.cpp
In file included from ../indigoDock/mainwindow.cpp:12:
../indigoDock/indigolabelcontrol.h:18:64: error: no viable conversion from 'bool' to 'Qt::Alignment' (aka 'QFlags<Qt::AlignmentFlag>')
void setLabel(QIcon icon, int iconSize = 22, Qt::Alignment alignment = false);
^ ~~~~~
../../Qt/5.6/clang_64/lib/QtCore.framework/Headers/qflags.h:86:7: note: candidate constructor (the implicit copy constructor) not viable: no known conversion from 'bool' to 'const QFlags<Qt::AlignmentFlag> &' for 1st argument
class QFlags
^
../../Qt/5.6/clang_64/lib/QtCore.framework/Headers/qflags.h:86:7: note: candidate constructor (the implicit move constructor) not viable: no known conversion from 'bool' to 'QFlags<Qt::AlignmentFlag> &&' for 1st argument
class QFlags
^
../../Qt/5.6/clang_64/lib/QtCore.framework/Headers/qflags.h:111:29: note: candidate constructor not viable: no known conversion from 'bool' to 'Qt::AlignmentFlag' for 1st argument
Q_DECL_CONSTEXPR inline QFlags(Enum f) Q_DECL_NOTHROW : i(Int(f)) {}
^
../../Qt/5.6/clang_64/lib/QtCore.framework/Headers/qflags.h:112:29: note: candidate constructor not viable: no known conversion from 'bool' to 'Zero' (aka 'int (QFlags<Qt::AlignmentFlag>::Private::*)') for 1st argument
Q_DECL_CONSTEXPR inline QFlags(Zero = Q_NULLPTR) Q_DECL_NOTHROW : i(0) {}
^
../../Qt/5.6/clang_64/lib/QtCore.framework/Headers/qflags.h:113:29: note: candidate constructor not viable: no known conversion from 'bool' to 'QFlag' for 1st argument
Q_DECL_CONSTEXPR inline QFlags(QFlag f) Q_DECL_NOTHROW : i(f) {}
^
../../Qt/5.6/clang_64/lib/QtCore.framework/Headers/qflags.h:116:29: note: candidate constructor not viable: no known conversion from 'bool' to 'std::initializer_list<AlignmentFlag>' for 1st argument
Q_DECL_CONSTEXPR inline QFlags(std::initializer_list<Enum> flags) Q_DECL_NOTHROW
^
../indigoDock/indigolabelcontrol.h:18:64: note: passing argument to parameter 'alignment' here
void setLabel(QIcon icon, int iconSize = 22, Qt::Alignment alignment = false);
^
../indigoDock/indigolabelcontrol.h:18:64: error: missing default argument on parameter 'alignment'
void setLabel(QIcon icon, int iconSize = 22, Qt::Alignment alignment = false);
^
../indigoDock/indigolabelcontrol.h:19:65: error: no viable conversion from 'bool' to 'Qt::Alignment' (aka 'QFlags<Qt::AlignmentFlag>')
void setLabel(QString string, int width = 22, Qt::Alignment alignment = false);
^ ~~~~~
../../Qt/5.6/clang_64/lib/QtCore.framework/Headers/qflags.h:86:7: note: candidate constructor (the implicit copy constructor) not viable: no known conversion from 'bool' to 'const QFlags<Qt::AlignmentFlag> &' for 1st argument
class QFlags
^
../../Qt/5.6/clang_64/lib/QtCore.framework/Headers/qflags.h:86:7: note: candidate constructor (the implicit move constructor) not viable: no known conversion from 'bool' to 'QFlags<Qt::AlignmentFlag> &&' for 1st argument
class QFlags
^
../../Qt/5.6/clang_64/lib/QtCore.framework/Headers/qflags.h:111:29: note: candidate constructor not viable: no known conversion from 'bool' to 'Qt::AlignmentFlag' for 1st argument
Q_DECL_CONSTEXPR inline QFlags(Enum f) Q_DECL_NOTHROW : i(Int(f)) {}
^
../../Qt/5.6/clang_64/lib/QtCore.framework/Headers/qflags.h:112:29: note: candidate constructor not viable: no known conversion from 'bool' to 'Zero' (aka 'int (QFlags<Qt::AlignmentFlag>::Private::*)') for 1st argument
Q_DECL_CONSTEXPR inline QFlags(Zero = Q_NULLPTR) Q_DECL_NOTHROW : i(0) {}
^
../../Qt/5.6/clang_64/lib/QtCore.framework/Headers/qflags.h:113:29: note: candidate constructor not viable: no known conversion from 'bool' to 'QFlag' for 1st argument
Q_DECL_CONSTEXPR inline QFlags(QFlag f) Q_DECL_NOTHROW : i(f) {}
^
../../Qt/5.6/clang_64/lib/QtCore.framework/Headers/qflags.h:116:29: note: candidate constructor not viable: no known conversion from 'bool' to 'std::initializer_list<AlignmentFlag>' for 1st argument
Q_DECL_CONSTEXPR inline QFlags(std::initializer_list<Enum> flags) Q_DECL_NOTHROW
^
../indigoDock/indigolabelcontrol.h:19:65: note: passing argument to parameter 'alignment' here
void setLabel(QString string, int width = 22, Qt::Alignment alignment = false);
^
../indigoDock/indigolabelcontrol.h:19:65: error: missing default argument on parameter 'alignment'
void setLabel(QString string, int width = 22, Qt::Alignment alignment = false);
^
../indigoDock/indigolabelcontrol.h:20:66: error: no viable conversion from 'bool' to 'Qt::Alignment' (aka 'QFlags<Qt::AlignmentFlag>')
void setLabel(QWidget *widget, int width = 22, Qt::Alignment alignment = false);
^ ~~~~~
../../Qt/5.6/clang_64/lib/QtCore.framework/Headers/qflags.h:86:7: note: candidate constructor (the implicit copy constructor) not viable: no known conversion from 'bool' to 'const QFlags<Qt::AlignmentFlag> &' for 1st argument
class QFlags
^
../../Qt/5.6/clang_64/lib/QtCore.framework/Headers/qflags.h:86:7: note: candidate constructor (the implicit move constructor) not viable: no known conversion from 'bool' to 'QFlags<Qt::AlignmentFlag> &&' for 1st argument
class QFlags
^
../../Qt/5.6/clang_64/lib/QtCore.framework/Headers/qflags.h:111:29: note: candidate constructor not viable: no known conversion from 'bool' to 'Qt::AlignmentFlag' for 1st argument
Q_DECL_CONSTEXPR inline QFlags(Enum f) Q_DECL_NOTHROW : i(Int(f)) {}
^
../../Qt/5.6/clang_64/lib/QtCore.framework/Headers/qflags.h:112:29: note: candidate constructor not viable: no known conversion from 'bool' to 'Zero' (aka 'int (QFlags<Qt::AlignmentFlag>::Private::*)') for 1st argument
Q_DECL_CONSTEXPR inline QFlags(Zero = Q_NULLPTR) Q_DECL_NOTHROW : i(0) {}
^
../../Qt/5.6/clang_64/lib/QtCore.framework/Headers/qflags.h:113:29: note: candidate constructor not viable: no known conversion from 'bool' to 'QFlag' for 1st argument
Q_DECL_CONSTEXPR inline QFlags(QFlag f) Q_DECL_NOTHROW : i(f) {}
^
../../Qt/5.6/clang_64/lib/QtCore.framework/Headers/qflags.h:116:29: note: candidate constructor not viable: no known conversion from 'bool' to 'std::initializer_list<AlignmentFlag>' for 1st argument
Q_DECL_CONSTEXPR inline QFlags(std::initializer_list<Enum> flags) Q_DECL_NOTHROW
^
../indigoDock/indigolabelcontrol.h:20:66: note: passing argument to parameter 'alignment' here
void setLabel(QWidget *widget, int width = 22, Qt::Alignment alignment = false);
^
../indigoDock/indigolabelcontrol.h:20:66: error: missing default argument on parameter 'alignment'
void setLabel(QWidget *widget, int width = 22, Qt::Alignment alignment = false);
^
../indigoDock/mainwindow.cpp:297:14: error: no matching member function for call to 'setLabel'
ilcTest->setLabel(QIcon(str_iconPath + "pan-image.png"));
~~~~~~~~~^~~~~~~~
../indigoDock/indigolabelcontrol.h:18:10: note: candidate function not viable: requires 3 arguments, but 1 was provided
void setLabel(QIcon icon, int iconSize = 22, Qt::Alignment alignment = false);
^
../indigoDock/indigolabelcontrol.h:19:10: note: candidate function not viable: requires 3 arguments, but 1 was provided
void setLabel(QString string, int width = 22, Qt::Alignment alignment = false);
^
../indigoDock/indigolabelcontrol.h:20:10: note: candidate function not viable: requires 3 arguments, but 1 was provided
void setLabel(QWidget *widget, int width = 22, Qt::Alignment alignment = false);
^
../indigoDock/mainwindow.cpp:304:15: error: no matching member function for call to 'setLabel'
ilcTest2->setLabel("b:");
~~~~~~~~~~^~~~~~~~
../indigoDock/indigolabelcontrol.h:18:10: note: candidate function not viable: requires 3 arguments, but 1 was provided
void setLabel(QIcon icon, int iconSize = 22, Qt::Alignment alignment = false);
^
../indigoDock/indigolabelcontrol.h:19:10: note: candidate function not viable: requires 3 arguments, but 1 was provided
void setLabel(QString string, int width = 22, Qt::Alignment alignment = false);
^
../indigoDock/indigolabelcontrol.h:20:10: note: candidate function not viable: requires 3 arguments, but 1 was provided
void setLabel(QWidget *widget, int width = 22, Qt::Alignment alignment = false);
^
../indigoDock/mainwindow.cpp:311:15: error: no matching member function for call to 'setLabel'
ilcTest4->setLabel(QIcon(str_iconPath + "pan-image.png"));
~~~~~~~~~~^~~~~~~~
../indigoDock/indigolabelcontrol.h:18:10: note: candidate function not viable: requires 3 arguments, but 1 was provided
void setLabel(QIcon icon, int iconSize = 22, Qt::Alignment alignment = false);
^
../indigoDock/indigolabelcontrol.h:19:10: note: candidate function not viable: requires 3 arguments, but 1 was provided
void setLabel(QString string, int width = 22, Qt::Alignment alignment = false);
^
../indigoDock/indigolabelcontrol.h:20:10: note: candidate function not viable: requires 3 arguments, but 1 was provided
void setLabel(QWidget *widget, int width = 22, Qt::Alignment alignment = false);
^
../indigoDock/mainwindow.cpp:315:15: error: no matching member function for call to 'setLabel'
ilcTest5->setLabel(QIcon(str_iconPath + "pan-image.png"));
~~~~~~~~~~^~~~~~~~
../indigoDock/indigolabelcontrol.h:18:10: note: candidate function not viable: requires 3 arguments, but 1 was provided
void setLabel(QIcon icon, int iconSize = 22, Qt::Alignment alignment = false);
^
../indigoDock/indigolabelcontrol.h:19:10: note: candidate function not viable: requires 3 arguments, but 1 was provided
void setLabel(QString string, int width = 22, Qt::Alignment alignment = false);
^
../indigoDock/indigolabelcontrol.h:20:10: note: candidate function not viable: requires 3 arguments, but 1 was provided
void setLabel(QWidget *widget, int width = 22, Qt::Alignment alignment = false);
^
../indigoDock/mainwindow.cpp:327:15: error: no matching member function for call to 'setLabel'
ilcTest3->setLabel(aPicker, aPicker->width());
~~~~~~~~~~^~~~~~~~
../indigoDock/indigolabelcontrol.h:18:10: note: candidate function not viable: requires 3 arguments, but 2 were provided
void setLabel(QIcon icon, int iconSize = 22, Qt::Alignment alignment = false);
^
../indigoDock/indigolabelcontrol.h:19:10: note: candidate function not viable: requires 3 arguments, but 2 were provided
void setLabel(QString string, int width = 22, Qt::Alignment alignment = false);
^
../indigoDock/indigolabelcontrol.h:20:10: note: candidate function not viable: requires 3 arguments, but 2 were provided
void setLabel(QWidget *widget, int width = 22, Qt::Alignment alignment = false);
^
../indigoDock/mainwindow.cpp:335:15: error: no matching member function for call to 'setLabel'
ilcTest6->setLabel("Rect Colour:", 100);
~~~~~~~~~~^~~~~~~~
../indigoDock/indigolabelcontrol.h:18:10: note: candidate function not viable: requires 3 arguments, but 2 were provided
void setLabel(QIcon icon, int iconSize = 22, Qt::Alignment alignment = false);
^
../indigoDock/indigolabelcontrol.h:19:10: note: candidate function not viable: requires 3 arguments, but 2 were provided
void setLabel(QString string, int width = 22, Qt::Alignment alignment = false);
^
../indigoDock/indigolabelcontrol.h:20:10: note: candidate function not viable: requires 3 arguments, but 2 were provided
void setLabel(QWidget *widget, int width = 22, Qt::Alignment alignment = false);
^
12 errors generated.
make[1]: *** [../indigoDock/build/release/mainwindow.o] Error 1
make: *** [release] Error 2
20:33:19: The process "/usr/bin/make" exited with code 2.
Error while building/deploying project TestLayout (kit: Desktop Qt 5.6.0 clang 64bit2)
When executing step "Make"
20:33:19: Elapsed time: 00:43.
i'm working on menus for indigo... they will be read from a json file
After the 6a0572e commit OSX isnt displaying the sidebar icons
Also, how does one switch between dark and light themes ? Can it be done via the UI or does it need to be done via code?
i could not compile the newest commits...
indigopanel.cpp:5:28: fatal error: indigogroupbox.h: No such file or directory
Hey @nitramr,
This may be premature but just in case i'm registering my vote for the ability to double click on a panel title (not just the small arrow) to expand/collapse the panel. It's time-consuming to hone in on that small arrow icon to get that job done.
Thanks for the great work!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.