Difference between revisions of "User:H1manshu/GSoC2022/Log"
From BRL-CAD
(Updated details for 18 June) |
(Organised precisely) |
||
Line 9: | Line 9: | ||
** Added suitable colors for the menu bar and toolbar icons to suit both light and dark themes. | ** Added suitable colors for the menu bar and toolbar icons to suit both light and dark themes. | ||
** Fixed merge conflict. | ** Fixed merge conflict. | ||
− | * '''15 June''': Took a day off because I was feeling exhausted. | + | * '''15 June''': |
+ | ** Took a day off because I was feeling exhausted. | ||
* '''14 June''': | * '''14 June''': | ||
** I found that the icon becomes green due to the icon that I had set for '''QAction''' in '''toogleGridAct'''. So when I click on the tool button of '''toggleGrid''', it swaps with the color that had been set for icon in QAction. | ** I found that the icon becomes green due to the icon that I had set for '''QAction''' in '''toogleGridAct'''. So when I click on the tool button of '''toggleGrid''', it swaps with the color that had been set for icon in QAction. | ||
** I commented out '''setIcon''' of '''QToolButton''' for toggleGrid and ran the program. I found that the the setIcon for QAction is acting default for QToolButton too. The icon for QAction is already there for QToolButton too which means '''setDefaultAction''' is playing a part here. | ** I commented out '''setIcon''' of '''QToolButton''' for toggleGrid and ran the program. I found that the the setIcon for QAction is acting default for QToolButton too. The icon for QAction is already there for QToolButton too which means '''setDefaultAction''' is playing a part here. | ||
− | * '''13 June''': I created a new [https://github.com/BRL-CAD/arbalest/pull/22 pull request] to add toggle feature for Grid. | + | * '''13 June''': |
− | * '''12 June''': Started working upon to add a toggle feature for Grid. This feature will be added in '''QToolButton''' for Grid. | + | ** I created a new [https://github.com/BRL-CAD/arbalest/pull/22 pull request] to add toggle feature for Grid. |
− | * '''9-11 June''': I learnt '''memory management''' and '''signals & slots''' in Qt. Also I took a tour of '''Qt Widgets'''. | + | * '''12 June''': |
− | * '''8 June''': I created a new [https://github.com/BRL-CAD/arbalest/pull/21 pull request] where I added icons for menu items and icon color for both light & dark theme. | + | ** Started working upon to add a toggle feature for Grid. This feature will be added in '''QToolButton''' for Grid. |
− | * '''7 June''': I created a new commit to remove the absolute color of hover for QToolButton. Also, I am currently testing out which color will be best suitable for icons in menu items for both light and dark themes. | + | * '''9-11 June''': |
− | * '''6 June''': I created a [https://github.com/BRL-CAD/arbalest/pull/20 pull request] to remove border and add padding. I also added '''hover background-color''' to '''QToolButton''' | + | ** I learnt '''memory management''' and '''signals & slots''' in Qt. Also I took a tour of '''Qt Widgets'''. |
− | * '''5 June''': Done nothing as I came back from a different state of my country where I went for to appear the exam. | + | * '''8 June''': |
− | * '''4 June''': Done nothing as today is my entrance exam. | + | ** I created a new [https://github.com/BRL-CAD/arbalest/pull/21 pull request] where I added icons for menu items and icon color for both light & dark theme. |
− | * '''3 June''': Done nothing as I am preparing for my upcoming entrance exam. | + | * '''7 June''': |
− | * '''2 June''': I wrongly applied '''$Color-IconView''' for '''QToolButton'''. It should be different colors for different '''QToolButton'''. I created a new commit and pushed the changes for the same. | + | ** I created a new commit to remove the absolute color of hover for QToolButton. Also, I am currently testing out which color will be best suitable for icons in menu items for both light and dark themes. |
− | * '''1 June''': I created a [https://github.com/BRL-CAD/arbalest/pull/19 pull request] to remove '''QPushButton''' and add '''QToolButton''' so that the '''QAction''' objects for file, view, and ray trace can be used as one single unit. And I mentioned this pull request with an [https://github.com/BRL-CAD/arbalest/issues/17 issue] | + | * '''6 June''': |
+ | ** I created a [https://github.com/BRL-CAD/arbalest/pull/20 pull request] to remove border and add padding. I also added '''hover background-color''' to '''QToolButton''' | ||
+ | * '''5 June''': | ||
+ | ** Done nothing as I came back from a different state of my country where I went for to appear the exam. | ||
+ | * '''4 June''': | ||
+ | ** Done nothing as today is my entrance exam. | ||
+ | * '''3 June''': | ||
+ | ** Done nothing as I am preparing for my upcoming entrance exam. | ||
+ | * '''2 June''': | ||
+ | ** I wrongly applied '''$Color-IconView''' for '''QToolButton'''. It should be different colors for different '''QToolButton'''. I created a new commit and pushed the changes for the same. | ||
+ | * '''1 June''': | ||
+ | ** I created a [https://github.com/BRL-CAD/arbalest/pull/19 pull request] to remove '''QPushButton''' and add '''QToolButton''' so that the '''QAction''' objects for file, view, and ray trace can be used as one single unit. And I mentioned this pull request with an [https://github.com/BRL-CAD/arbalest/issues/17 issue] | ||
===May=== | ===May=== | ||
− | * '''30 May''': Discussed with mentor for what to choose between '''QToolButton''' and '''QPushButton'''. Also I got to know that '''QAction''' can be assigned to '''QToolButton''' which will be better because once object of '''QAction''' is created then we can assign it to '''QToolButton'''. | + | * '''30 May''': |
− | * '''29 May''': Started working on the issue where I saw '''QAction''' and '''QPushButton''' have been defined for the same '''New''' and similarly I found more like that. | + | ** Discussed with mentor for what to choose between '''QToolButton''' and '''QPushButton'''. Also I got to know that '''QAction''' can be assigned to '''QToolButton''' which will be better because once object of '''QAction''' is created then we can assign it to '''QToolButton'''. |
− | * '''28 May''': Done nothing as I couldn't get time because I went to see my father. | + | * '''29 May''': |
+ | ** Started working on the issue where I saw '''QAction''' and '''QPushButton''' have been defined for the same '''New''' and similarly I found more like that. | ||
+ | * '''28 May''': | ||
+ | ** Done nothing as I couldn't get time because I went to see my father. | ||
* '''27 May''': | * '''27 May''': | ||
** Learnt about arbalest '''QMainWindow''' but only by far, I covered Menu bar. I found all the '''QAction *''' buttons are missing icons but code was already written to set icons for each '''QPushButton *'''. So I opened an [https://github.com/BRL-CAD/arbalest/issues/17 issue]. I will work on it tomorrow. | ** Learnt about arbalest '''QMainWindow''' but only by far, I covered Menu bar. I found all the '''QAction *''' buttons are missing icons but code was already written to set icons for each '''QPushButton *'''. So I opened an [https://github.com/BRL-CAD/arbalest/issues/17 issue]. I will work on it tomorrow. |
Revision as of 12:40, 19 June 2022
Dev Log
(newest first)
- 18 June:
- I started learning event propagation and event filters where I came to know about QCoreApplication::notify. I tested QPushButton class and QLineEdit by taking one parent class and child class to see event propagation.
- 17 June:
- Learnt about events which will help me to better understand the events that are in arbalest. I learned mouse events, paint events, context menu events, etc.
- 16 June:
- I pushed a new commit to pr where I removed icons from QToolButton because setDefaultAction() is inheriting icons from QAction.
- Added suitable colors for the menu bar and toolbar icons to suit both light and dark themes.
- Fixed merge conflict.
- 15 June:
- Took a day off because I was feeling exhausted.
- 14 June:
- I found that the icon becomes green due to the icon that I had set for QAction in toogleGridAct. So when I click on the tool button of toggleGrid, it swaps with the color that had been set for icon in QAction.
- I commented out setIcon of QToolButton for toggleGrid and ran the program. I found that the the setIcon for QAction is acting default for QToolButton too. The icon for QAction is already there for QToolButton too which means setDefaultAction is playing a part here.
- 13 June:
- I created a new pull request to add toggle feature for Grid.
- 12 June:
- Started working upon to add a toggle feature for Grid. This feature will be added in QToolButton for Grid.
- 9-11 June:
- I learnt memory management and signals & slots in Qt. Also I took a tour of Qt Widgets.
- 8 June:
- I created a new pull request where I added icons for menu items and icon color for both light & dark theme.
- 7 June:
- I created a new commit to remove the absolute color of hover for QToolButton. Also, I am currently testing out which color will be best suitable for icons in menu items for both light and dark themes.
- 6 June:
- I created a pull request to remove border and add padding. I also added hover background-color to QToolButton
- 5 June:
- Done nothing as I came back from a different state of my country where I went for to appear the exam.
- 4 June:
- Done nothing as today is my entrance exam.
- 3 June:
- Done nothing as I am preparing for my upcoming entrance exam.
- 2 June:
- I wrongly applied $Color-IconView for QToolButton. It should be different colors for different QToolButton. I created a new commit and pushed the changes for the same.
- 1 June:
- I created a pull request to remove QPushButton and add QToolButton so that the QAction objects for file, view, and ray trace can be used as one single unit. And I mentioned this pull request with an issue
May
- 30 May:
- Discussed with mentor for what to choose between QToolButton and QPushButton. Also I got to know that QAction can be assigned to QToolButton which will be better because once object of QAction is created then we can assign it to QToolButton.
- 29 May:
- Started working on the issue where I saw QAction and QPushButton have been defined for the same New and similarly I found more like that.
- 28 May:
- Done nothing as I couldn't get time because I went to see my father.
- 27 May:
- Learnt about arbalest QMainWindow but only by far, I covered Menu bar. I found all the QAction * buttons are missing icons but code was already written to set icons for each QPushButton *. So I opened an issue. I will work on it tomorrow.
- I also created a pull request for minor changes to main.cpp of arbalest.
- I will cover Central Widget of arbalest which is the most important of this project because this is the area where the mouse support feature will be added. I will try to cover it from tomorrow during this community bonding period. Here an outline is taken from Qt docs of QMainWindow just for reference:
- 26 May
- Created workspace where I built brlcad and rt-cubed. Set path for Qt 5.14.2 so that arbalest could be run to check if it is running without errors.