Commit Graph

109 Commits

Author SHA1 Message Date
Roland Winklmeier
10810f5003 Explicitly use QTabBar scroll buttons
Even though QTabBar's property usesScrollButtons is set to true in Qt
Designer, it is not set explicitly in generated C++ code. The default
value is style dependent, which caused the scroll buttons to be visibile
everywhere except Mac OS/X.

refs #683
2016-08-26 21:05:09 +01:00
Klaus Basan
a5aed9b346 GUI improvements found during #707
* logs only screen in core as default
* find top window, only use Qt::WA_TranslucentBackground on top level (Qt 5.6.1)
* correct presize when insert
* resize ATC when first station is added
2016-07-14 18:49:25 +02:00
Klaus Basan
d782839cb8 refs #703, moved context to subdir
* ns: Context
* adjusted using classes
2016-07-14 18:49:08 +02:00
Klaus Basan
77c749aba2 Some GUI adjustments / formatting found during #702
* selection in view (full row)
* Unused function removed
* Allow reduced message form
2016-07-12 03:37:39 +02:00
Roland Winklmeier
f4c2939253 Fix BlackGui header includes
* Include only what is used
* Use forward declaration when possible
* Sorted includes

refs #598
2016-05-20 01:31:11 +02:00
Klaus Basan
1a62de8dc3 refs #641, improvements/fixes of orderable lists / models / views
* set sort order automatically to IndexOrder when changing order of items
* call onChanged when model is changed and then update view (needed when model is changed directly, not via view)
* support for digest signal so redundant updates can be avoided
* renamed rowCountChanged (signal) to modelDataChanged - detecting row count changes only was useless
* updated Doxygen / fixed typos
2016-05-07 20:11:49 +02:00
Klaus Basan
3829aaeae8 refs #485, removal of CEnableForRuntime 2016-03-18 01:08:05 +00:00
Klaus Basan
8f85c54989 refs #538, Formatting, minor tweaks, comments
* new slot syntax in ATC station component
* formatting, comments
* tab order
* utility function for severity in status message
* null checks in threadutils
* invalidKey function in datastore
* changed data object keys (cached objets)
* added missing value object compare cases
* renamed timer in context network
* finder function for model list
* renamed getContainer to container (as it is just a reference)
2015-12-07 02:25:26 +01:00
Klaus Basan
a5da201701 refs #514, ATC stations filter by valid frequency 2015-11-26 13:54:49 +01:00
Michał Garapich
1b06e15b61 refs #510 Remove underscores from all the source file names 2015-11-22 12:53:09 +01:00
Mathew Sutcliffe
a6d17efc31 refs #472 Removed static_cast<int> for enums in blackcore, no longer needed. 2015-11-19 21:02:19 +00:00
Klaus Basan
2ba061bbc0 refs #469, adjusted network context due to changes in signals and METAR naming 2015-11-19 21:00:17 +00:00
Roland Winklmeier
c5a2136ebd refs #448 Use new METAR source in context and gui
Previously the metar source used to be the FSD connection. Since
all METARs are also available via a webservice, use this source
instead. This allows to retrieve and use METARs even if we are
not connected.
2015-11-19 20:57:48 +00:00
Klaus Basan
4fcf9efab7 Some fixes and formatting
* CTime::switchUnit(CTimeUnit::hms());
* Coordinate canHandleIndex protected
* copyright
2015-11-19 20:57:19 +00:00
Mathew Sutcliffe
d4d862927e refs #441 Rename COriginator to CIdentifier and rename COriginatorAware to CIdentifiable. 2015-06-06 18:02:16 +01:00
Klaus Basan
6c06ff5d46 refs #432, adjusted originators 2015-05-29 03:49:16 +02:00
Roland Winklmeier
ee0bfd62fa refs #428 Use COriginator instead of QString in internal API 2015-05-25 16:06:44 +02:00
Klaus Basan
1330bb8513 refs #420, refs #421 improved view update for simualted aircraft
* added update timer for simulated aircraft
* in same step streamlined handling of CUpdateTimer
2015-05-18 01:57:35 +02:00
Roland Winklmeier
78d3350bf3 refs #396 move Blackmisc Aviation classes into subfolder 2015-04-07 18:20:20 +02:00
Klaus Basan
066515fb9b As of RW/KB workshop
* changed aircraft view to siumlated aircraft models / views
* functionality to change fast pos. updates (signals, slots)
* allow to request text message widget from aircraft component
2015-03-20 17:11:23 +01:00
Klaus Basan
3153c2012b As of workshop RW/KB
* Allow to "jump" to text message channel from ATC / aircraft
* changed timer connections for components to new SLOT syntax
* housekeeping:
** new function in network context for station by callsign
** refactored textmessage component, allow to select tab by slot
** wired up signal / slots in main GUI
** removed unused functions
** allow to select area and "myself" in infoarea
2015-03-20 17:11:14 +01:00
Klaus Basan
79b3cf3cd3 Misc. imorvements as discussed in RW/KB worksho
* preparation for a context menu to send text messages from ATC/aircraft view
* preparation for context menu for fast pos. updates
* reverse ICAO lookup at login screen
* display fast updates / parts in GUI
* moved max- aircraft into settings
* made serverselection own component
2015-03-20 17:11:10 +01:00
Klaus Basan
45bace425d Formatting, minor tweaks
refs #369, refs #371, refs #372
2015-03-20 16:33:27 +01:00
Klaus Basan
adeac119d0 refs #369, only ATC stations with voiceroom displayed 2015-03-20 16:31:07 +01:00
Klaus Basan
880bb53e3d refs #369, changed for own aircraft provider
* CLI client
* test network
* GUI/GUI components
2015-03-20 16:30:52 +01:00
Klaus Basan
054db94997 Added an (experimental) tree view to ATC stations 2015-01-24 01:16:46 +01:00
Klaus Basan
f0cc1ac003 refs #368, updated components
* clear when connection status changed
* rowCount changed with filter parameter
2015-01-24 01:15:48 +01:00
Klaus Basan
b26fa651ed Allow to select COM frequencies from ATC view (context menu)
* added functions in component to select COM frequencies
* changed views to contain ObjectType in template
* function to obtain selected objects in view base class
2014-12-29 23:02:00 +01:00
Klaus Basan
9e5f228b08 using namespace in header removed, rectified resulting changes
* using namespace in context_runtime.h
* in same step also fixed some other using namespace issues
2014-12-28 22:20:09 +01:00
Klaus Basan
f62f85b263 refs #359, fixed loghandler, removed / fine tuning of some output / log messages
see also discussion in #359
2014-12-28 22:20:01 +01:00
Klaus Basan
366769a6b8 Formatting, doxygen, typo aircrafts (to aircraft),
removed some debug output, {} in if statements
2014-12-28 20:46:14 +01:00
Roland Winklmeier
cb7ad005b0 refs #320 port Network to new vatlib
* CNetworkVatlib
* Contexts
* Samples
2014-12-27 11:08:32 +01:00
Roland Winklmeier
562cadee8a Fix several gcc, cppcheck and clang warnings 2014-12-01 23:15:49 +01:00
Klaus Basan
49be1c2bb7 refs #288, formatting, minor tweaks 2014-11-30 00:54:58 +01:00
Klaus Basan
9a920367b2 Formatting 2014-11-30 00:54:15 +01:00
Klaus Basan
e6a5e2960f refs #335, changed info areas
* remove unused methods
* changed ui, preferred size and such
* changed ctor for CEnableForDockWidgetInfoArea and made setParentDockWidgetInfoArea virtual
* adjusted derived classes ctor
* added enum and area methods for cockpitinfoarea
2014-11-30 00:52:10 +01:00
Klaus Basan
df5169ee98 refs #335, renaming
* the term "components" will only be used for GUI components (derived from QWidget/ QWidget derived classes) fron now on
* timer, and enabler classes renamed accordingly: CEnableForRuntime, CEnableForDockWidgetInfoArea, CUpdateTimer
* adjusted all dependent classes
2014-11-29 22:38:53 +01:00
Klaus Basan
bb8b515c87 refs #335, changed ui to QScopedPointer 2014-11-29 22:38:51 +01:00
Mathew Sutcliffe
ac9960d615 Refine header includes to improve build times. 2014-11-14 15:39:02 +00:00
Mathew Sutcliffe
a294e8db0f refs #336 Using the new CLogMessage syntax to log messages. 2014-10-16 17:05:50 +01:00
Klaus Basan
e929423fc9 Some GUI finetuning
* tabBar expanding
* removed setDocumentMode
* Flight plan in scroll area
2014-10-07 13:10:45 +02:00
Klaus Basan
ae0ef4283c Display number of table rows in tab
* countChanged event
* applied in components
2014-10-07 13:10:41 +02:00
Klaus Basan
ef5f5bde0f Formatting, new icons, minor tweaks 2014-10-07 13:10:37 +02:00
Klaus Basan
88951318de refs #325, using async updates in ATC station component 2014-10-07 13:10:30 +02:00
Klaus Basan
530d4b89ef refs #325, reduced loading in ATC stations component 2014-10-07 13:10:23 +02:00
Klaus Basan
5d6713032f Formatting, new icons 2014-10-07 13:10:17 +02:00
Klaus Basan
b989dec74d Slightly changed ATC stations appearance, reload ATIS / load METAR 2014-10-07 13:08:23 +02:00
Klaus Basan
2d1226fefc refs #325, reduced loading in ATC stations component 2014-10-07 13:08:22 +02:00
Klaus Basan
6e2204beeb refs #325, using CDockWidgetInfoAreaComponent in components 2014-10-07 13:08:21 +02:00
Klaus Basan
1ce7b11988 Formatting, renaming 2014-10-07 13:08:18 +02:00