Commit Graph

66 Commits

Author SHA1 Message Date
Thilo Graf
b9f35bfc6d CComponentsWindow: fix max width of base items, if frame was set
Header, body and footer were too wide on the right side.
2013-09-19 08:24:39 +02:00
Thilo Graf
4eb26988e9 CComponentsForm/CComponentsWindow: add new members
CComponentsForm: Overload member removeCCItem so we can use
cc_item as parameter.
CComponentsWindow: add member bool showFooter().
This allows to hide a footer in window.
2013-09-19 08:24:38 +02:00
Thilo Graf
ac53313da4 CComponentsWindow: fix missing init of footer 2013-06-25 11:36:04 +02:00
Thilo Graf
3fe6a376a5 CComponentsWindow: remove unused member 2013-06-23 23:28:20 +02:00
Thilo Graf
2a7c712f25 CComponentsWindow: add more functionality
Window comes now with footer and body
2013-06-16 00:34:08 +02:00
Thilo Graf
8e46f63900 CComponentsHeader: rename some members for plausible usage in subclasses
Some members are usable in subclasses, but  current names could be not
suitable or not  plausible with respect to the name of subclass.
2013-05-27 11:58:05 +02:00
Thilo Graf
39a4e3400e CComponentsForm: add own header for form classes 2013-04-16 08:26:56 +02:00
Thilo Graf
cc31a41f43 CComponentsWindow/Header: fix add of header buttons
setHeaderButtons was without effect
2013-03-24 21:14:10 +01:00
Thilo Graf
0dc4686874 fix license text, sorry, was a c&p error 2013-03-21 11:37:00 +01:00
Thilo Graf
ca42d9ba74 CComponentsHeader/Window: add possibility to return header height 2013-03-18 12:04:47 +01:00
Thilo Graf
d87d0754e0 CComponentsWindow: add constructors with parameters for caption and icon 2013-03-18 12:04:35 +01:00
Thilo Graf
4a931af6ef CComponentsForm/Header/Icons/Window: try to fix multiple inits and paints
Some items had multiple inits and some calls of clearCCItems()
have caused segfaults, hope this fix this.
2013-03-18 12:04:25 +01:00
Thilo Graf
da356d94da CComponentsHeader/Icon: use inherited destructor
Inherited destructor contains identic code.
2013-03-18 12:04:21 +01:00
Thilo Graf
de330ac39c CComponentsWindow: remove refresh()
initCCWItems() does the same, but is private
2013-03-18 12:04:16 +01:00
Thilo Graf
74b2dde248 CComponentsWindow: using current screen settings for default dimensions 2013-03-18 12:04:13 +01:00
Thilo Graf
3ed9af87ad CComponents: split cc_base.cpp
It's easier to work with smaller files.
Most files contain only one cc-class and their names are
derived on the particular class that is contained therein.
2013-03-06 11:28:18 +01:00