
- #SOULSEEK NS AND QT SAME USERS CODE#
- #SOULSEEK NS AND QT SAME USERS FREE#
- #SOULSEEK NS AND QT SAME USERS WINDOWS#
private messaging options can now be used to block private messages from anyone or users not on the buddy list, with the option of having the client prompt you for each messaging user. individual color and font styles can now be applied per chatroom. Downloads and uploads can now be shown in the same tab via a new setting under Options->UI. Context menu no longer shows in message list if no message is selected. Expand folders/users settings in transfers tabs are now memorized. Splitter position is now memorized when uploads and downloads are in the same tab. Fixed new search tab not receiving focus. Changed 'Minimize to tray ' to 'Show tray icon'. Fixed a problem with client UI freezing after being minimized on OSX. Default server port is no longer 80, as many users have a problem connecting on that port. Much nicer application icon courtesy of pbb. Folders can now be queued in paused state from both search results and browsed shares. Built against new Qt 5.3.1 so as to run on OSX Yosemite. Fixed UI freeze trying to share a folder when the client is first started. Chat and search tab labels should now show in full, and allow scrolling if there's more of them than the window can contain. Safer handling of non-messaging peer sockets to avoid a possible crash. Fixed a crash related to incompatible data schemas going between different client versions. Fixed a bug that prevented the client from saving its data periodically. Symbolic links in shared folders are now indexed as well on Linux and Mac. Downloads queued with a 0 file size are now automatically marked complete without starting a transfer. Fixed a crash bug related to downloads or uploads that are removed from the list when the context menu is open. Don't process one character tokens in outgoing searches. New tray context menu shows client version and includes a Quit option. On OSX the minimize and close buttons function about the same. #SOULSEEK NS AND QT SAME USERS WINDOWS#
When turned on, on Windows the close button will send the client to the tray and the minimize button to the taskbar.
Minimize to tray setting changed to minimize on close. ::BitBlt(hDeviceContext, winRect1.left, winRect1.top, winRect1.right, winRect1. HDC hDC = ::CreateCompatibleDC(hDeviceContext) Paint.fillRect(QRect(0,0,winRect1.right, 40), grad) QRect rc(0,0,winRect1.right, winRect1.bottom) QPixmap pix(winRect1.right, winRect1.bottom) ::SelectClipRgn(hDeviceContext, hRgnCombine) ::CombineRgn(hRgnCombine, hRgnOuter, hRgnInner, RGN_DIFF) HRGN hRgnCombine = ::CreateRectRgn(winRect1.left, winRect1.top, winRect1.right, winRect1.bottom) HRGN hRgnInner = ::CreateRectRgn(winRectCl.left, winRectCl.top, winRectCl.right, winRectCl.bottom) HRGN hRgnOuter = ::CreateRectRgn(winRect1.left, winRect1.top, winRect1.right, winRect1.bottom) WinRect1.bottom = winRect1.bottom - winRect1.top WinRect1.right = winRect1.right - winRect1.left WinRectCl.bottom = ptBottomRight.y - winRect1.top WinRectCl.right = ptBottomRight.x - winRect1.left WinRectCl.top = ptTopLeft.y - winRect1.top WinRectCl.left = ptTopLeft.x - winRect1.left ::ClientToScreen(winId(), &ptBottomRight) LONG lStyle = ::GetWindowLong(winId(), GWL_STYLE) POINT ptTopLeft = HDC hDeviceContext = ::GetWindowDC(winId()) Perhaps I will craete a wiki page if I managed the rest of the title bar like the Widget::paintPicture(MSG* pMessage, long *result) #SOULSEEK NS AND QT SAME USERS FREE#
If you have any questions about the sollution, feel free to ask.
#SOULSEEK NS AND QT SAME USERS CODE#
The code is not really documented :-) as it's test code. This way I have the complete possibilities of Qt for drawing (like Gradients etc.) and can draw into the window frame. Return QWidget::winEvent(pMessage, decided to draw everything into a picture and blit this picture on the screen.
Paint.fillRect(rect(), draw the window frame, you have to overwrite WM_NCPAINT on Widget::winEvent(MSG* pMessage, long *result) QLinearGradient grad(0,0,0,rect().height()) QPainter paint(this) paint.fillRect(rect(), QColor(0,180,0)) This is my simple widget, just a bit of a Gradient Widget::paintEvent(QPaintEvent*) Ok, I have one solution, although it's not the best and currently does not do the Application icon and the Titlebar buttons, but I'm sure, it will also be solvable.