Commit Graph

29 Commits

Author SHA1 Message Date
Klaus Basan
5bdb8659ca refs #196, encapsulated transponder mode selection (combo box)
* promoted QComboBox in GUI
* features automatic reset for ident
* Conversion to CTransponder::TransponderMode from string
2014-03-27 01:13:19 +01:00
Roland Winklmeier
e978b6dee1 Central build configuration
* config.pri: Build configuration version
* library.pri project library dependencies
* build.pri: compiler/qmake configuration

refs #145
2014-03-11 22:01:31 +01:00
Roland Winklmeier
9a5f2b2003 Remove native scan code from CKeyboardKey
Remove isPressed status from CKeyboardKey
Switched key value to Qt::Key

There is no way on OSX to get the native scan code of a key.
Therefore it is removed from this class, because we might
create dependent code which will not run on OSX.
CKeyboardKey is a abstraction of platform keys. It was representing
also the status when CKeyboardKey was sent in signals. So this
can be removed. Pressed status is sent as argument to the registered
method.

refs #83
2014-03-11 21:50:22 +01:00
Klaus Basan
1b846f44c8 Fixed LIBS order, as I have run into gcc "undefined reference to" issued 2014-02-26 14:33:15 +01:00
Klaus Basan
9d7bd68433 refs #139 , improved version of CKeyboardLineEdit widget
* CKeyboardLineEdit supports CKeyboardKey to set all details directly to object, sets native scan code, and native virtual code
* CKeyboardKeyListModel::setData supports specialized line edit and combo box
* fixed some wrong overrides
2014-02-26 03:38:35 +01:00
Klaus Basan
cdb6009b0d refs #139 , added method to directly get indexToPropertyIndex by QModelIndex 2014-02-26 03:38:33 +01:00
Klaus Basan
a42f67ef9a refs #139 list for keyboard keys and the corresponding models for the GUI 2014-02-26 03:38:28 +01:00
Klaus Basan
2c75fa4ab0 refs #139 , updated models to support new CColumn class and editable columns 2014-02-26 03:38:27 +01:00
Klaus Basan
c6c2d31cac refs #139, changed list model to support editable columns 2014-02-26 03:38:26 +01:00
Klaus Basan
3df3c86386 refs #139, added a class describing a single column, allowing to set certain columns as editable 2014-02-26 03:38:24 +01:00
Klaus Basan
526cd916a8 refs #91 & #124 doxygen fixes, style/comment changes, typos, and override keywords 2014-02-06 03:22:42 +01:00
Klaus Basan
ff5cf5ea4a refs #91 & #124 doxygen fixes, style/comment changes, typos, and override keywords 2014-02-05 23:26:13 +00:00
Klaus Basan
7a63768c83 Allows to display callsign / user / statusmessage as icon in views. refs #122
* Icons
* update of resource file
* update in CValueObject classes callsign / user / statusmessage
* update in list models, data method for returning Pixmap
2014-02-05 23:16:29 +00:00
Klaus Basan
fda587994d CValueObject virtual method toIcon, reprsenting the object as icon where applicable.
Currently used for status messages (severity), will be used for CAtcStation and others as well.
2014-02-05 23:16:14 +00:00
Klaus Basan
4ec1db4b38 Moved standard icons to blackmisc. Blackmisc is using module GUI anyway,
so this creates no new dependency.
2014-02-05 23:16:10 +00:00
Klaus Basan
576952b690 Allow to clear, insert, and push values of the model. 2014-02-05 23:15:46 +00:00
Klaus Basan
f476388f8b Status message list model (so they can displayed as table view in GUI),
and the corresponding property methods in CStatusMessage
2014-02-05 23:15:43 +00:00
Klaus Basan
5731bd3dd1 Icons, as resource for the GUI 2014-02-05 23:15:41 +00:00
Klaus Basan
ff5332eddd Hide email for users as this violates some US privacy rules 2014-01-27 16:10:39 +01:00
Klaus Basan
22a79625d1 Added callsign to user object:
* Changed user class
* Updated ATC station / aircraft to keep callsigns in sync
* Updated user list model for GUI
2014-01-25 01:36:49 +01:00
Klaus Basan
09b3ca1b30 Fixed property index for CUser, and as a result also in the list model 2014-01-22 17:42:33 +01:00
Klaus Basan
8d6a24697a CListModelBase prepared (forward instantiations) for CUserList 2014-01-22 02:51:52 +01:00
Klaus Basan
898074ffc1 Doxygen CListModelBase 2014-01-22 02:50:46 +01:00
Klaus Basan
28a64c5371 Resources for the GUI. These go to the supporting library,
and hence could be used for other GUI projects as well
2014-01-13 01:40:56 +01:00
Klaus Basan
d15d0db431 post-voice changes in blackgui from the kbatclist branch
refs #81
2014-01-09 01:16:01 +00:00
Klaus Basan
1c1fdabd2e all voice changes from kbatclist branch
refs #81
2014-01-09 01:15:58 +00:00
Klaus Basan
bb61654a29 style and consistency:
* rename CStatusMessages to CStatusMessageList
* rename NetworkVatlib to CNetworkVatlib
* replace all occurrences of Realname with RealName (correct camel case)
* CSequence method corresponding to CList::append is push_back
* don't compile the qdbuscpp2xml metadata plugin by default
* CAircraftIcao string members always trimmed and capitalized
* added CComSystem::roundTo25KHz
* using epsilon comparison in a couple of places

refs #81
2014-01-09 01:15:56 +00:00
Roland Winklmeier
f24d16019f Minor fixes for linux build
refs #36
- Fixed compiler error in context.cpp (is not used anymore, but was still annoying)
- GCC was complaining about the template definitons in blackgui. Removing typename fixed it.
- Fixed a bug in qmake. Unfortunately qmake mkspec was just linux-g++ (not linux-g++-64), so added this case.
- Fixed a PRE_TARGETDEPS bug
- QMake has strange behaviour with DBUS_ADAPTORS: include the header somewhere, otherwise it won't be generated.

refs #81
2014-01-08 01:00:39 +00:00
Klaus Basan
34774bd005 blackgui library with list model classes for our lists
refs #81
2014-01-08 01:00:21 +00:00