Forums WoW Modding Support Archives WoWModding Support Archives [DiscordArchive] <@160857905879449600> do we need these connects btw?

[DiscordArchive] <@160857905879449600> do we need these connects btw?

[DiscordArchive] <@160857905879449600> do we need these connects btw?

Pages (3): 1 2 3 Next
rektbyfaith
Administrator
0
06-10-2019, 08:22 AM
#1
Archived author: Skarn • Posted: 2019-06-10T08:22:40.702000+00:00
Original source

<@160857905879449600> do we need these connects btw?
rektbyfaith
06-10-2019, 08:22 AM #1

Archived author: Skarn • Posted: 2019-06-10T08:22:40.702000+00:00
Original source

<@160857905879449600> do we need these connects btw?

rektbyfaith
Administrator
0
06-10-2019, 08:22 AM
#2
Archived author: Skarn • Posted: 2019-06-10T08:22:43.866000+00:00
Original source

```cpp
_main_window->statusBar()->addWidget (_status_area);
connect ( this
, &QObject::destroyed
, _main_window
, [=] { _main_window->statusBar()->removeWidget (_status_area); }

```
rektbyfaith
06-10-2019, 08:22 AM #2

Archived author: Skarn • Posted: 2019-06-10T08:22:43.866000+00:00
Original source

```cpp
_main_window->statusBar()->addWidget (_status_area);
connect ( this
, &QObject::destroyed
, _main_window
, [=] { _main_window->statusBar()->removeWidget (_status_area); }

```

rektbyfaith
Administrator
0
06-10-2019, 08:23 AM
#3
Archived author: Skarn • Posted: 2019-06-10T08:23:15.962000+00:00
Original source

As far as I understand, the widgets take parent by default, so that should be excessive, right?
rektbyfaith
06-10-2019, 08:23 AM #3

Archived author: Skarn • Posted: 2019-06-10T08:23:15.962000+00:00
Original source

As far as I understand, the widgets take parent by default, so that should be excessive, right?

rektbyfaith
Administrator
0
06-10-2019, 08:24 AM
#4
Archived author: Skarn • Posted: 2019-06-10T08:24:20.527000+00:00
Original source

unless status bar never gets destroyed?
rektbyfaith
06-10-2019, 08:24 AM #4

Archived author: Skarn • Posted: 2019-06-10T08:24:20.527000+00:00
Original source

unless status bar never gets destroyed?

rektbyfaith
Administrator
0
06-10-2019, 08:24 AM
#5
Archived author: Skarn • Posted: 2019-06-10T08:24:25.221000+00:00
Original source

then it makes sense
rektbyfaith
06-10-2019, 08:24 AM #5

Archived author: Skarn • Posted: 2019-06-10T08:24:25.221000+00:00
Original source

then it makes sense

rektbyfaith
Administrator
0
06-10-2019, 08:24 AM
#6
Archived author: schlumpf • Posted: 2019-06-10T08:24:42.011000+00:00
Original source

I guess addWidget on the statusbar takes ownership to status bar? That outlives unload/load cycles
rektbyfaith
06-10-2019, 08:24 AM #6

Archived author: schlumpf • Posted: 2019-06-10T08:24:42.011000+00:00
Original source

I guess addWidget on the statusbar takes ownership to status bar? That outlives unload/load cycles

rektbyfaith
Administrator
0
06-10-2019, 08:31 AM
#7
Archived author: Skarn • Posted: 2019-06-10T08:31:41.101000+00:00
Original source

I see
rektbyfaith
06-10-2019, 08:31 AM #7

Archived author: Skarn • Posted: 2019-06-10T08:31:41.101000+00:00
Original source

I see

rektbyfaith
Administrator
0
06-10-2019, 08:32 AM
#8
Archived author: Skarn • Posted: 2019-06-10T08:32:14.673000+00:00
Original source

makes sense then since main window and status bar never get destroyed
rektbyfaith
06-10-2019, 08:32 AM #8

Archived author: Skarn • Posted: 2019-06-10T08:32:14.673000+00:00
Original source

makes sense then since main window and status bar never get destroyed

rektbyfaith
Administrator
0
06-10-2019, 08:44 AM
#9
Archived author: A2 • Posted: 2019-06-10T08:44:27.403000+00:00
Original source

tell me you are joking <@100246412050075648> how hard to add multilingual support for nugget?
rektbyfaith
06-10-2019, 08:44 AM #9

Archived author: A2 • Posted: 2019-06-10T08:44:27.403000+00:00
Original source

tell me you are joking <@100246412050075648> how hard to add multilingual support for nugget?

rektbyfaith
Administrator
0
06-10-2019, 08:58 AM
#10
Archived author: Skarn • Posted: 2019-06-10T08:58:05.760000+00:00
Original source

weird, QDockWidgets parented to MapView are not getting removed when MapView is destroyed
rektbyfaith
06-10-2019, 08:58 AM #10

Archived author: Skarn • Posted: 2019-06-10T08:58:05.760000+00:00
Original source

weird, QDockWidgets parented to MapView are not getting removed when MapView is destroyed

Pages (3): 1 2 3 Next
Recently Browsing
 1 Guest(s)
Recently Browsing
 1 Guest(s)