Commit Graph

380 Commits

Author SHA1 Message Date
Klaus Basan
1cba31541b refs #325, supporting class to make parent dock widget and info area available to a component.
By that, the component has access to "isWidgetVisible", "isFloating" etc.
2014-10-07 13:08:19 +02:00
Klaus Basan
1ce7b11988 Formatting, renaming 2014-10-07 13:08:18 +02:00
Klaus Basan
936cc7c147 refs #325, as preparation to reduce loading I need to find out when an info area is visible.
Existing functions visible() / isHidden() are not suitable, as those represent "technical visibility".
We need a logical visibility telling us if the user can see / has selected the corresponing dockable widget.

* New base class info area (where dockable widgets are placed)
* Adjusted derived component (currently 1)
* Cleaned up old code in floatAllWidgets
2014-10-07 13:08:17 +02:00
Mathew Sutcliffe
d1d276c559 refs #316 Reordered header includes. 2014-10-04 22:17:14 +01:00
Mathew Sutcliffe
f7e2523eaa refs #316 Blackgui changes: using CLogMessage and removed sendStatusMessage signals. 2014-10-04 22:16:48 +01:00
Mathew Sutcliffe
ce6cdf12a7 refs #316 Added CLogMessage for logging messages, and corresponding changes to CStatusMessage and CTextMessage. 2014-10-04 22:16:35 +01:00
Klaus Basan
bce67b7873 refs #319, refs #322 user can force reload and clearing the data in views
* context menu
* timer based component can fire directly
* View base class (non templated) so it can use Q_OBJECT
2014-09-11 12:08:09 +02:00
Klaus Basan
2127238ed4 Doxygen, renaming, formatting
* Formatting, renaming to current schema
* Minor tweaks
2014-09-09 20:07:27 +02:00
Klaus Basan
e4545f23d2 refs #322, included context menu and methods for injecting test data (ATC stations) in GUI 2014-09-09 20:07:23 +02:00
Klaus Basan
fc84673bb9 Handled performance issues and bugs noticed during testing of refs #319 / refs #322
* discussion: https://dev.vatsim-germany.org/boards/22/topics/2027?r=2040#message-2040
* fixed bug with ATC station component, wrong signals for booked stations
* booked stations loading to frequently (for each minor change such as online), changed to timestamp based concept
* update booked stations with receiving ATIS/voiceroom to online
* CDigestSignal class: new class and methods for collecting signals, avoiding too many signals - one of the cures for the performance issues
* fixed bug found during testing, missing start for timers when connecting to network
2014-09-09 20:07:16 +02:00
Klaus Basan
674a0b5665 During refs #319, refactoring of QLed (as it is used with a LED formatter)
* renamed to CLedWidget
* added missing SVG
* rendering to pixmap possible
* QScopedPointer<QSvgRenderer>
* Led, copyright
2014-09-04 01:37:33 +02:00
Klaus Basan
2089ab89a1 Fixed qLed state, wrong if temporary icon is used
* Using state instead of just bool
2014-08-24 02:47:09 +02:00
Klaus Basan
d88c1bb252 refs #314, changed models and views to new CPropertyIndex approach 2014-08-24 02:47:01 +02:00
Klaus Basan
3fb5087ea8 Renaming, header, Doxygen, formatting (during refs #314) 2014-08-24 02:45:52 +02:00
Roland Winklmeier
f76e0bc957 refs #313 Change GUI classes to use new hotkey settings wrapper classes 2014-08-19 15:30:04 +02:00
Klaus Basan
98942a6395 refs #304, changed font settings
* QFontDialog is not working, as it is affected by the style sheets itself
* Added font settings to the GUI settings tab
* Added font color dialog for fonts
* Several utility methods
2014-08-14 01:28:22 +02:00
Klaus Basan
bbb342b905 Naming conventions, typos 2014-08-14 01:23:52 +02:00
Klaus Basan
600ea2b803 Fixed several issues detected during testing / review (refs #304)
* MS report 1-5 https://dev.vatsim-germany.org/issues/304#change-1800
* Clang warning https://dev.vatsim-germany.org/boards/22/topics/1982?r=1997#message-1997
* Wrong indexes for dockable widgets, RW: https://dev.vatsim-germany.org/issues/304#note-13
* Fixed wrong offset in Fsuipc class
* Improved position handling for floating widgets opened 1st time
2014-08-05 23:32:11 +02:00
Klaus Basan
3c12cd7b30 refs #299, dockable widgets improvements
* preferred size instead of a auto adjustment for floatable widgets
* hack for hiding the tabbar (it still cosnumes space)
2014-08-05 23:32:09 +02:00
Klaus Basan
d3858a8b37 Formatting, Doxygen, Headers 2014-08-05 23:32:08 +02:00
Klaus Basan
cb350d9086 Several fixes related to refs #304
* removed #include <QtDesigner/QDesignerExportWidget>
* correct targets swiftcore / swiftgui
* Annotated possible error of QFontDialog / style sheet compliance
+ Set sizePolicy to preferred due to RWs rewiew ("over sized drawing")
2014-08-05 23:32:07 +02:00
Klaus Basan
b93b95fd73 Renamed infobarstatus to infobarstatuscomponent (CInfoBarStatusComponent) 2014-08-05 23:32:05 +02:00
Klaus Basan
a78422bf3e Allow auto ajdust for floating widgets (via menu)
refs #299
2014-08-05 23:32:04 +02:00
Klaus Basan
841abd9c14 refs #299 floating components for
* logs
* info status bar
2014-08-05 23:31:59 +02:00
Klaus Basan
f8774540f2 Some refactoring for model base / view base
* update by int index (row)
* updateContainer renaming
2014-08-05 23:31:57 +02:00
Klaus Basan
9afc9024ca refs #303 Simulator table view
* Simulator component
* Name / variant pair object / view / model
2014-08-05 23:31:56 +02:00
Klaus Basan
42f89ebeca refs #304, Icons, using new CIcon class 2014-08-05 23:31:55 +02:00
Klaus Basan
6d5461cff8 Formatting, headers, Doxygen 2014-08-05 23:31:53 +02:00
Klaus Basan
4fe8144c3d refs #299, dockable main info area 2014-08-05 23:31:50 +02:00
Klaus Basan
3d41414d9e refs #300, moved components in own namespace and directory 2014-08-05 23:31:47 +02:00