Commit Graph

3846 Commits (df844ed171dfd8de8e0cfe0d83c6939b1dbfcfa5)
 

Author SHA1 Message Date
Michail Vourlakos 4bb21fb0c8 fix in many cases placement of configuration win
Michail Vourlakos 90099242c0 clean some old code in configuration window
Michail Vourlakos 7a62226707 fix , reparent dndSpacer onDrop signal
Johan Smith Agudelo Rodriguez 98eb110e1f fixed overflow when the user delete the text, and added holdPressed
Michail Vourlakos 359a84b7b5 adjust metrics in Latte TextField
Johan Smith Agudelo Rodriguez 102ebf74da just permit flickable direction on vertically
Johan Smith Agudelo Rodriguez f5c564ede5 code formatted
Johan Smith Agudelo Rodriguez c0c54ca2be spinbox improved
Michail Vourlakos ce29e908bf improve margins in all pages
--take into account that a vertical scroll bar
could appear and also give more margin to
sub-items comparing to headers
Michail Vourlakos c70a20cdd3 new configuration based on various fixes
Johan Smith Agudelo Rodriguez 976cd2bb62 fit to horizontal width
Johan Smith Agudelo Rodriguez 66d96ddb5b buttons add, remove and quit, more smalls
Johan Smith Agudelo Rodriguez 51a999576c added margin left for all checkbox
Johan Smith Agudelo Rodriguez f08e0ad72e Centered spinboxes
Johan Smith Agudelo Rodriguez 3288a92e23 show the visibility modes with two columns
Johan Smith Agudelo Rodriguez 34772cdc21 resync geometry for avoids that config ui covers the dock
Johan Smith Agudelo Rodriguez 0f5699a5e1 file unnecessary
Johan Smith Agudelo Rodriguez 06c99a2a13 fixed add and remove dock
Johan Smith Agudelo Rodriguez e6ea63b34d fixed wrong height
Johan Smith Agudelo Rodriguez 76bc40d5d8 fixed lock reserved edges
Johan Smith Agudelo Rodriguez b544c80a31 config ui simplified
Johan Smith Agudelo Rodriguez 134a3e7015 fixed missing window icon
Johan Smith Agudelo Rodriguez c9ce067e39 Merge pull request from 0140454/master
Include necessary header file for std::abs
Michail Vourlakos 4eb143714a fix a crash with right click
--when an applet was first added through
drag n' drop if afterwards a right click
event occured then a crash happened... This
fixes this and also properly removing the
AppletQuickItem from dockview. So this fixes
two crashes concerning the right click event
Michail Vourlakos 8ef2560688 clean plasmoid zoom in spesific cases
--fixes a small issue when hovering applets too
fast sometimes the tasks inside the plasmoid
didnt catch up to restore their zoom
0140454 7bdf1ccb23 Include necessary header file for std::abs
While compiling Latte-Dock, i got the following error:

/data/latte-dock/src/latte-dock-git/app/iconitem.cpp:393:46:   required from here
/data/latte-dock/src/latte-dock-git/app/../liblattedock/extras.h:69:20: error: call of overloaded ‘abs(double)’ is ambiguous
     return std::abs(x - y) < std::numeric_limits<T>::epsilon() *
     std::abs(x + y) * ulp

In order to solve this error, i have to include `cmath`.
Michail Vourlakos cd0eeb9ff1 fix binding loop in config from pages
Michail Vourlakos 14e1ca01ab basic support for no compositingActive
--this commit supports disabled compositing
but enabled for the dock a pseudo-AlwaysVisible
state in such case occurs. All hiding signals
are ignored
Michail Vourlakos df084b1783 fix #13,corona should load layout a bit later
--corona should load its layout after the activities
consumer is ready. Otherwise all the functionality
concerning activities may not work correctly on its
first initialization
Michail Vourlakos e44a1a3a48 remove startup timers from containment
Michail Vourlakos a857b18271 remove no needed functionality from dockview
Johan Smith Agudelo Rodriguez 93f35b8967 Merge pull request from mateushonorato/patch-1
Change CMAKE_CXX_STANDARD from 11 to 14
mateushonorato 7ae281fde9 Change CMAKE_CXX_STANDARD from 11 to 14
I was getting the following error when trying to compile and install:
/home/mateus/Latte-Dock/app/iconitem.cpp: In member function ‘void Latte::IconItem::setSource(const QVariant&)’:
/home/mateus/Latte-Dock/app/iconitem.cpp:98:29: error: ‘make_unique’ is not a member of ‘std’
                 m_svgIcon = std::make_unique<Plasma::Svg>(this);

So, changing the CMAKE_CXX_STANDARD from 11 to 14 solved this, since make_unique is a C++14 feature.
Michail Vourlakos 3137d7a060 cleanup shell translations
--shell translations are not used in reality,
only the apps one. This will solve any confusion
around where are the translation strings
Michail Vourlakos 41d7ee6151 ui,do not allow hiding when containsMouse
--or blockHiding as second step protection
Michail Vourlakos d2b80f99c5 add icons for buttons in Bahavior Config Page
Michail Vourlakos 4f5802803d update translation strings and greek translation
Michail Vourlakos e8fec7eea4 remove unneeded code
Michail Vourlakos 9ea5959cb6 fix , a crash when a dock was removed
--removing connections on xwindowinterface destructor
--removing connections on dockview destructor
--remove xwindowinterface that was created from
visibilitymanager in its destructor
Michail Vourlakos 20455dc547 fix #31,theme shadows used in normal state masking
Michail Vourlakos 600884dded fix tasks dragging and menu showing in AutoHide
--restore the signaling that the ui needed from the
tasks plasmoid to not hide the dock during dragging
and contextmenu showing
Michail Vourlakos 377a3d4420 remove visibilitymanager on dockview destruction
Michail Vourlakos cb0ed85dc2 improve configuration window
--expose quit action
--hide remove action when only one dock exists
--udpate edges when a new dock is added
--connect the destroyed event of containment in order
to remove also the dockview
--remove correctly the dockviews in the application
exit
Michail Vourlakos ba4837d47b restore compatibility with KF 5.26
Michail Vourlakos daa6e1b7bc add a separator for latte config entry
Michail Vourlakos f4201a8a71 improve menu behavior and appearance
Michail Vourlakos 83e0a7564a fix
--override default contextmenu behavior
--clean up old code
Michail Vourlakos 9259ee3bc3 remove no needed containment actions
Michail Vourlakos 9b1dea34e2 add a ScrollArea in configuration window
Michail Vourlakos cbcd344e90 visual zoom factor to percentage from decimal