Click here to Skip to main content
15,889,651 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: What software are you using for learning programing ? Pin
Captain Price23-Oct-13 7:42
professionalCaptain Price23-Oct-13 7:42 
GeneralRe: What software are you using for learning programing ? Pin
Richard MacCutchan23-Oct-13 8:42
mveRichard MacCutchan23-Oct-13 8:42 
AnswerRe: What software are you using for learning programing ? Pin
Aescleal23-Oct-13 11:11
Aescleal23-Oct-13 11:11 
AnswerRe: What software are you using for learning programing ? Pin
Erudite_Eric23-Oct-13 12:00
Erudite_Eric23-Oct-13 12:00 
AnswerRe: What software are you using for learning programing ? Pin
pasztorpisti23-Oct-13 21:23
pasztorpisti23-Oct-13 21:23 
AnswerRe: What software are you using for learning programing ? Pin
enhzflep24-Oct-13 4:14
enhzflep24-Oct-13 4:14 
AnswerRe: What software are you using for learning programing ? Pin
rashin ghodratzade27-Oct-13 22:14
rashin ghodratzade27-Oct-13 22:14 
QuestionCustom QSlider without handler, rounded corner lost when values next to MIN or MAX Pin
Diego Donate23-Oct-13 1:38
Diego Donate23-Oct-13 1:38 
CSS
Hi,

I have an horizontal custom QSlider without handler, and rounded corners.
My problem is when I set slider value to the minimum or the maximum (+-1px), and external corner is NOT rounded anymore...

It seems to happen when the slider value gets round radius, I hope I am explaining myself...

The stylesheet code is:

QSlider::groove:horizontal {
     border: 1px solid #999999;
     height: 8px;
     margin: 2px 0;
     border-radius: 5px;
}

QSlider::handle:horizontal {
     width: 0px;
     border: 0px ;
     margin-right: 0px;
     border-radius: 0px;
}

QSlider::add-page:qlineargradient {
     background: white;
     border-top-right-radius:    5px;
     border-bottom-right-radius: 5px;
     border-top-left-radius:     0px;
     border-bottom-left-radius:  0px;
}

QSlider::sub-page:qlineargradient {
     background: red;
     border-top-right-radius:    0px;
     border-bottom-right-radius: 0px;
     border-top-left-radius:     5px;
     border-bottom-left-radius:  5px;
}

Thanks in advance,

Diego

QuestionRe: Custom QSlider without handler, rounded corner lost when values next to MIN or MAX Pin
Richard MacCutchan23-Oct-13 3:23
mveRichard MacCutchan23-Oct-13 3:23 
AnswerRe: Custom QSlider without handler, rounded corner lost when values next to MIN or MAX Pin
Chris Losinger23-Oct-13 3:28
professionalChris Losinger23-Oct-13 3:28 
QuestionCan create session inside services ? Pin
Thong LeTrung22-Oct-13 20:57
Thong LeTrung22-Oct-13 20:57 
SuggestionRe: Can create session inside services ? Pin
Richard MacCutchan22-Oct-13 21:04
mveRichard MacCutchan22-Oct-13 21:04 
GeneralRe: Can create session inside services ? Pin
Thong LeTrung22-Oct-13 22:23
Thong LeTrung22-Oct-13 22:23 
QuestionDLL Creation Question Pin
SeaWasp122-Oct-13 8:36
SeaWasp122-Oct-13 8:36 
AnswerRe: DLL Creation Question Pin
David Knechtges22-Oct-13 9:52
David Knechtges22-Oct-13 9:52 
GeneralRe: DLL Creation Question Pin
SeaWasp122-Oct-13 9:59
SeaWasp122-Oct-13 9:59 
GeneralRe: DLL Creation Question Pin
Freak3022-Oct-13 21:41
Freak3022-Oct-13 21:41 
AnswerRe: DLL Creation Question Pin
Richard MacCutchan22-Oct-13 10:39
mveRichard MacCutchan22-Oct-13 10:39 
Generalcout vs printf execution sequence Pin
MANJUNATH-from-Bangalore22-Oct-13 6:22
MANJUNATH-from-Bangalore22-Oct-13 6:22 
GeneralRe: cout vs printf execution sequence Pin
pasztorpisti22-Oct-13 6:40
pasztorpisti22-Oct-13 6:40 
QuestionRe: cout vs printf execution sequence Pin
Captain Price22-Oct-13 15:29
professionalCaptain Price22-Oct-13 15:29 
GeneralRe: cout vs printf execution sequence Pin
Aescleal23-Oct-13 3:31
Aescleal23-Oct-13 3:31 
QuestionRe: cout vs printf execution sequence Pin
David Crow24-Oct-13 6:10
David Crow24-Oct-13 6:10 
QuestionFlickering when change QWidget window state between showMaximized() and showFullScreen() Pin
Diego Donate21-Oct-13 23:10
Diego Donate21-Oct-13 23:10 
SuggestionRe: Flickering when change QWidget window state between showMaximized() and showFullScreen() Pin
Richard MacCutchan21-Oct-13 23:44
mveRichard MacCutchan21-Oct-13 23:44 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.