Thilo Graf
04574fc6eb
CComponents: split some header files
...
Should bring more overview and less susceptibility to conflicts (merge etc)
License texts updated.
2014-01-06 22:27:59 +01:00
Thilo Graf
8442b39c28
CComponents: replace __FUNCTION__ with __func__
...
__func__ is more suitable for portability
2013-12-18 15:13:19 +01:00
[CST] Focus
dd7c7fc7ae
components: cleanup destructors - remove calls to functions,
...
already called inside base classes destructors
2013-11-29 17:27:10 +04:00
[CST] Focus
062b10be2a
components: remove initVarForm calls in classes derived from CComponentsForm
2013-11-29 17:27:10 +04:00
Thilo Graf
0ae3d34ceb
CComponentsWindow: add missing member paint()
...
This is a partial revert of cbeb9f3ac6
2013-11-17 20:53:45 +01:00
Thilo Graf
cbeb9f3ac6
CComponentsWindow: remove paint() member
...
The derived member of ComponentsForm() should be sufficiently
and should serve its purpose.
2013-11-11 00:19:48 +01:00
Thilo Graf
64c6eb5945
CComponentsHeader: add possibility to modify text alignment
...
usable in header and its derived classes and in class CComponentsWindow
2013-10-24 21:19:07 +02:00
Thilo Graf
5323e92a6f
CComponentsWindow: add member showHeader()
...
Provides show or hide window header
2013-10-24 21:19:06 +02:00
Thilo Graf
3438b23f68
CComponentsItem: move function isAdded() to CComponentsItem class
2013-10-19 01:25:23 +02:00
Thilo Graf
566698377d
CComponentsWindow: fix fit of footer if using frame
...
Footer has been overpainted frame on bottom.
2013-09-19 08:24:39 +02:00
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