Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
| | * | Fix exporting of boolean extended-attribute in attributeToQVariant() | Mirco Müller | 2013-08-01 | 1 | -1/+1 | |
| | | | ||||||
| * | | Allow changing action state | Nick Dedekind | 2013-08-05 | 5 | -18/+99 | |
| |\ \ | | |/ | |/| | ||||||
| | * | removed debug code | Nick Dedekind | 2013-07-31 | 1 | -3/+0 | |
| | | | ||||||
| | * | Added menu action updateState | Nick Dedekind | 2013-07-30 | 5 | -21/+62 | |
| | | | ||||||
| | * | Added action name | Nick Dedekind | 2013-07-30 | 4 | -0/+42 | |
| |/ | ||||||
| * | Add action role (replacing actionState role) | Nick Dedekind | 2013-07-30 | 5 | -6/+154 | |
| | | ||||||
| * | Set model qdata on items instead of the muxer | Lars Uebernickel | 2013-07-30 | 1 | -7/+3 | |
| | | ||||||
| * | Add ActionStateParser | Nick Dedekind | 2013-07-30 | 5 | -3/+116 | |
| | | ||||||
| * | unitymenumodel: lookup themed icon before turning it into a uri | Nick Dedekind | 2013-07-30 | 1 | -5/+11 | |
| | | ||||||
| * | unitymenumodel: add get() | Lars Uebernickel | 2013-07-26 | 2 | -0/+13 | |
| | | ||||||
| * | Expose the state of a menu item's action in model.actionState | Lars Uebernickel | 2013-07-26 | 3 | -3/+60 | |
| | | ||||||
| * | Fix crash in UnityMenuModel::menuItemChanged | Lars Uebernickel | 2013-07-25 | 1 | -1/+1 | |
| | | | | | | | | | | | | | | menuItemInserted set the iter _after_ the one that was just inserted as qdata. This is (a) wrong and (b) leads to the end iter being in there in some cases. menuItemChanged can't deal with that (it calls g_sequence_get() without checking for the end iter). | |||||
| * | unitymenumodel: expose type and extended attributes to qml | Lars Uebernickel | 2013-07-25 | 4 | -1/+164 | |
| | | ||||||
| * | unitymenumodel: add support for icons | Lars Uebernickel | 2013-06-25 | 7 | -4/+132 | |
| | | | | | | | | For now, this includes themed icons, file icons, and icons send as raw data. | |||||
| * | Remove unityqmlmenumodel | Lars Uebernickel | 2013-06-24 | 4 | -81/+2 | |
| | | | | | | | | | | | | It was used for calling ::init() on the unitymenumodel when parsing finished (so that unitymenumodel wouldn't have to implement QQmlParserStatus). Now that init() is gone, unityqmlmenumodel doesn't serve any purpose. | |||||
| * | unitymenumodel: allow setting multiple prefixed action groups | Lars Uebernickel | 2013-06-24 | 2 | -16/+19 | |
| | | ||||||
| * | unitymenumodel: set free func on GSequence | Lars Uebernickel | 2013-06-24 | 1 | -29/+10 | |
| | | | | | | | | | | Makes item removal code much cleaner (no need for the explicit free), at the cost of another qdata. | |||||
| * | unitymenumodel: use g_clear_object | Lars Uebernickel | 2013-06-24 | 1 | -6/+2 | |
| | | ||||||
| * | unitymenumodel: remove forSubMenu | Lars Uebernickel | 2013-06-24 | 1 | -13/+6 | |
| | | ||||||
| * | unitymenumodel: move role enum into .cpp | Lars Uebernickel | 2013-06-24 | 2 | -11/+10 | |
| | | | | | | | | No need for that to be public. | |||||
| * | unitymenumodel: remove redundant priv functions | Lars Uebernickel | 2013-06-24 | 1 | -67/+42 | |
| | | ||||||
| * | Move unityqmlmenumodel's properties to unitymenumodel | Lars Uebernickel | 2013-06-24 | 4 | -149/+133 | |
| | | | | | | | | | | | | | | | | This gets rid of the ad-hoc construct-only properties and ::init() vfunc. Names and paths can now be changed after creating the menu model. This will probably be used seldom in practice, but it makes the code a bit cleaner. Unityqmlmenumodel doesn't do anything interesting right now. | |||||
| * | unitymenumodel: call init in the the constructor that is meant to be used ↵ | Lars Uebernickel | 2013-06-05 | 1 | -0/+1 | |
| | | | | | | | | from c++ | |||||
| * | unitymenumodel: add support for submenus | Lars Uebernickel | 2013-06-05 | 2 | -18/+67 | |
| | | ||||||
| * | unitymenumodel: add activate() | Lars Uebernickel | 2013-06-05 | 2 | -0/+20 | |
| | | ||||||
| * | Link against the qml module | Lars Uebernickel | 2013-06-05 | 1 | -2/+1 | |
| | | | | | | | | Reverts r69, that was nonsense. | |||||
| * | unitymenumodel: expose isSeparator | Lars Uebernickel | 2013-06-04 | 2 | -1/+6 | |
| | | ||||||
| * | unitymenumodel: watch the bus name | Lars Uebernickel | 2013-06-04 | 1 | -30/+83 | |
| | | | | | | | | This makes it possible to restart the service that provides the menu. | |||||
| * | CMakeLists.txt: explicitly specify qml include path | Lars Uebernickel | 2013-06-04 | 1 | -0/+1 | |
| | | | | | | | | CMake doesn't call moc correctly if this is not specified. | |||||
| * | Introduce UnityMenuModel and UnityQmlMenuModel | Lars Uebernickel | 2013-06-04 | 17 | -2/+3089 | |
| | | | | | | | | | | | | | | | | | | UnityMenuModel serves the same purpose as QMenuModel, but it is based on GtkMenuTracker and has a different API. GtkMenuTracker is maintained in gtk, but meant to be copy-and-pasted into other consumers of menu models. It does not introduce new dependencies. It does give us access to all the features that GMenuModel has. | |||||
* | | style | Alberto Mardegan | 2013-05-23 | 1 | -1/+3 | |
| | | ||||||
* | | Use invalid index as root index | Alberto Mardegan | 2013-05-20 | 1 | -0/+1 | |
|/ | | | | | When emitting the rowsInserted signal for top-level items, use an invalid QModelIndex as parent. | |||||
* | Used qmake to retrieve the import dir used to install QML modules. | Renato Araujo Oliveira Filho | 2013-01-31 | 1 | -3/+5 | |
| | ||||||
* | Updated to qt5 final. | Renato Araujo Oliveira Filho | 2013-01-18 | 2 | -2/+2 | |
| | ||||||
* | Fixed "invokeMethod" call to use only the method name instead of full signature. | Renato Araujo Oliveira Filho | 2013-01-14 | 1 | -1/+1 | |
| | ||||||
* | Used 'invokeMethod' to call slot, to make the code simple. | Renato Araujo Oliveira Filho | 2013-01-14 | 1 | -13/+9 | |
| | ||||||
* | Merged mainline. | Renato Araujo Oliveira Filho | 2013-01-11 | 1 | -0/+19 | |
|\ | ||||||
| * | Added missing license header. | Renato Araujo Oliveira Filho | 2013-01-11 | 1 | -0/+19 | |
| | | ||||||
* | | Fixed item removal and insertion. | Renato Araujo Oliveira Filho | 2013-01-10 | 3 | -22/+56 | |
| | | | | | | | | Removed debug messages. Fixed tests to work with new tree model structure. | |||||
* | | Implmeneted QMenuModel as tree model. | Renato Araujo Oliveira Filho | 2013-01-03 | 6 | -269/+473 | |
|/ | ||||||
* | Fixed model changes and singal. | Renato Araujo Oliveira Filho | 2012-12-16 | 2 | -25/+80 | |
| | | | Try to keep the module unchanged until the function begin[Insert|Remove]Rows is called. | |||||
* | Removed keywords from VIRTUAL functions. | Renato Araujo Oliveira Filho | 2012-12-15 | 1 | -4/+4 | |
| | ||||||
* | Only checks for row index in cache. | Renato Araujo Oliveira Filho | 2012-12-14 | 1 | -8/+6 | |
| | | | Used Q_EMIT keywork for signals. | |||||
* | Avoid change rowCount value outside of BeginModel[Insert|Remove|Reset] functions | Renato Araujo Oliveira Filho | 2012-12-14 | 2 | -7/+12 | |
| | ||||||
* | Fixed model disconnect function. | Renato Araujo Oliveira Filho | 2012-12-11 | 1 | -0/+1 | |
| | | | Set the model null during the disconnection will make sure that the model was cleared and the new call of connect will populate the model again. | |||||
* | Avoid emit signal during the model reset, this can crash qml. | Renato Araujo Oliveira Filho | 2012-12-11 | 2 | -4/+7 | |
| | ||||||
* | Fixed crash during model changes. | Renato Araujo Oliveira Filho | 2012-12-11 | 1 | -2/+5 | |
| | ||||||
* | Implemented conversion for GVariant and Arrays. | Renato Araujo Oliveira Filho | 2012-12-07 | 1 | -2/+12 | |
| | ||||||
* | Better comment. | Olivier Tilloy | 2012-12-04 | 1 | -1/+1 | |
| | ||||||
* | Add comments to explain non-trivial cache updates. | Olivier Tilloy | 2012-12-04 | 1 | -0/+3 | |
| |