Comments (11)
Not just when docked to Mainwindow, but in general, please find in the below pic
we would like to remove the title bar newdock3, but the newdock 4 remains.
Kind Regards
Nandish
from kddockwidgets.
I don't see why not, thanks for the suggestion.
In order for me to prioritize this, which company is this for ?
Or if open-source, the url please. If I like it I'll hack on this on my free time over the weekend.
If it's for a closed app for a company I'll need some due diligence and ask KDAB to schedule me time for it.
Alternatively, you can just wait for after the QtQuick port is done, in a few months.
from kddockwidgets.
Hi Sergio, thanks for quick response, we are using it here in MVTech Software Gmbh.
The profiles tlaemmlein, and pklaffert are my colleagues, you might have already seen the issues raised by my colleagues as well.
Kind Regards
Nandish
from kddockwidgets.
Hi, you can hide all titlebars.when you want to work with them, show them.
for (auto dock : m_dockwidgets)
{
auto f = dock->titleBar();
if (f)
{
f->setVisible(!e);
}
}
from kddockwidgets.
So basically, like kddockwidgets_example -t ?
-t will hide the title bars and you drag by the tab bar instead
Except that you want the title bar for the floating window, so that's the only change needed here ?
from kddockwidgets.
Yes, something very similar, if the window is floating and has more than one tabs, we need to have the title bar. As soon as this floating widget is docked (either on another widget or mainwindow) we would want to hide the title bar.
from kddockwidgets.
Hi, you can hide all titlebars.when you want to work with them, show them.
for (auto dock : m_dockwidgets) { auto f = dock->titleBar(); if (f) { f->setVisible(!e); } }
from kddockwidgets.
Thanks for the response mola, but in this method, we do hide all the title bar. We specifically need to hide the title bar only if the dock widget has more than one tab and it is docked.
from kddockwidgets.
Sorry Closed the issue by mistake.
Regards
Nandish
from kddockwidgets.
Try ./bin/kddockwidgets_example -qt
Which means:
Config::Flag_HideTitleBarWhenTabsVisible | Config::Flag_AlwaysTitleBarWhenFloating
from kddockwidgets.
Sure I shall look into it, thanks again for the efforts.
Kind Regards
Nandish
from kddockwidgets.
Related Issues (20)
- Recycling dock widgets from the factory HOT 1
- Install PDB files to binary instead of library location HOT 1
- Documentation update commit references nonexistent file HOT 1
- Integrate redocking indicator to MDI window HOT 3
- Link error when building KDDockWidgets HOT 7
- Nested MainWindows on Linux HOT 2
- Problem with running qtquick example: (Please call KDDockWidgets::initPlatform()). HOT 3
- Issues with nested MainWindows / DockWidgets HOT 9
- How to set affinity? HOT 9
- `setTitle` on floating-changed doesn't work HOT 4
- Apply layout of one set of dockwidgets to a different set HOT 2
- Qt Quick: crash when `delete`-ing a toplevel dockwidget HOT 1
- Qt Quick: Crash when deleting dockWidget in MDI HOT 1
- Indicators not showing due to other `KDDockWidget` in background HOT 2
- Restore layout for window doesn't work if it's currently maximized HOT 7
- On restore, LayoutSaver assigns zero width/height to windows from disconnected screen
- Move DockWidget programmically HOT 1
- Broken "Toggle Another" Quick MDI example HOT 4
- Linking problems HOT 18
- Restore maximized window state while it's currently maximized doesn't work HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from kddockwidgets.