Registered Member
|
Hi every one.
Excuse me for my bad English. I want to add new type of visibility (always visible, auto-hide, window can cover, window go below) to panels. I downloaded kde-workspace source code, but I can't find where panel define visibility type. Please help me. |
Registered Member
|
|
|
a) in general, this kind of question is better asked on developer mailing lists
b) man:grep - will help you a big deal c) kde-workspace/plasma/desktop/shell/panelview.* - found with grep in < 5 secs ... |
Registered Member
|
Thank you.
a)I'm sorry b&c) I used grep -ir but I didn't found 'window can cover' in files. |
|
grepped for "autohide" - grepping for strings with blanks in sourcecode isn't a good idea (since "windows can cover" is no legal descriptor and needed to be comment or some visible string that could be fetched from/belong to somewhere else)
|
Registered Member
|
I could find 'windows can cover' in compiled workspace in a lib file, but I can't find it in source code.
|
|
****:/KDE4/kde-workspace/plasma/> grep -ri "can cover" *
design/notifications:* JobsOverview is shown on top of every other window at first, but other windows that gain focus after it can cover the JobsOverview window desktop/shell/panelcontroller.cpp: m_underWindowsTool = addTool("view-fullscreen", i18n("Windows can cover"), modeFrame, Qt::ToolButtonTextBesideIcon, true); desktop/shell/panelview.cpp: //TODO: force "windows can cover" in those cases? in 4.11 branch |
Registered Member
|
Thanks for your responsibility.
I have downloaded source code from official website https://projects.kde.org and there didn't have panelcontroller.cpp. and wasn't in api.kde.org. just was in gitorious.org but it was old (it was for 2012). finally I found panelcontroller.cpp in source code in http://www.kde.org/info/4.11.5.php Thank you very much. |
Registered users: Bing [Bot], Google [Bot], q.ignora, watchstar