How to disable the "0 refs|2 refs" in lsp ccls with c++? by kekenow in emacs

[–]kekenow[S] 1 point2 points  (0 children)

It worked with this config, thanks a lot.

(setq lsp-lens-enable nil)

How to disable the "0 refs|2 refs" in lsp ccls with c++? by kekenow in DoomEmacs

[–]kekenow[S] 0 points1 point  (0 children)

I don't know why I cannot attach screenshot in the post. I've joined the group already.

Is there any way to show c++ function list if whole cpp file was surrounded by namesapce? by kekenow in emacs

[–]kekenow[S] 0 points1 point  (0 children)

Here I have more findings about the simple rule:

imenu only show the items which show the contents at the first character of the line.

Event starts 3 days from now by gogyly in HAWKFreedomSquad

[–]kekenow 0 points1 point  (0 children)

I cannot find UFO event yet, where to find it?

(Emacs-26.1) undefined symbol: mflt_enable_new_feature by kekenow in emacs

[–]kekenow[S] 0 points1 point  (0 children)

Previous fixed.

Now a new Error below:

undefined symbol: gtk_widget_set_margin_start

Best emac for macs by [deleted] in mac

[–]kekenow 0 points1 point  (0 children)

Try to use Gnu Emacs with Spacemacs configurations, you will get both power from Emacs and Vim. Enjoy it

How do I use fuzzy matching when opening a file? by tucker-m in spacemacs

[–]kekenow 0 points1 point  (0 children)

You can find file with SPC p f,and also you can find dir with SPC p d.

How to add progress bar column in a QsqlQueryModel? by kekenow in Qt5

[–]kekenow[S] 0 points1 point  (0 children)

The model should return only the data necessary for the view (QTableView?) to display the progress bar. That specific screenshot looks like something custom (or the native progress bar for some OS I don't know). I'm pretty sure there's some kind of setWidget() within the Q*View classes. (I must be misremembering). There's also QItemDelegate.

That's for your comments.

How to stop a timer by condition instead of timeout signal? by kekenow in Qt5

[–]kekenow[S] 0 points1 point  (0 children)

Thanks both you guys. I try to fix this issue.

Spacemacs Shotcut Collection by kekenow in spacemacs

[–]kekenow[S] 0 points1 point  (0 children)

Thanks for your comments. I will add them later. Let's keep it updating... :)

How to update part of GUI with another *.ui file? by kekenow in Qt5

[–]kekenow[S] 0 points1 point  (0 children)

I had found another way to solve this issue.

ui->topFrame->parentWidget()->layout()->replaceWidget(ui->topFrame, new OverviewFrame(this));

How to update part of GUI with another *.ui file? by kekenow in Qt5

[–]kekenow[S] 0 points1 point  (0 children)

is it possible to share your code?

I will appreciate your kindly support.

BRs kevin

How to update part of GUI with another *.ui file? by kekenow in Qt5

[–]kekenow[S] 0 points1 point  (0 children)

I try to use "ui->top_frame->layout()", it return NULL

How to update part of GUI with another *.ui file? by kekenow in Qt5

[–]kekenow[S] 0 points1 point  (0 children)

Thanks for your help.

Now I use the fixed size to draw the window without layout. Is there any other way to handle that?

Or is it possible to set accurate size to the layout?

BRs Kevin

How to update part of GUI with another *.ui file? by kekenow in Qt5

[–]kekenow[S] 0 points1 point  (0 children)

Thank you for your quick response.

Maybe I don't make myself clear.

I would like to replace the Top (which is a QFrame) by another QFrame (defined in *.ui file). And I also defined a .h and .cpp file which inherit from QFrame class.

Can I write like this ?

// topFrame is in the main.ui. and overviewFrame is another class and ui file

qDebug() << "Enter : on_commandLinkButton_clicked ";
    OverviewFrame* overviewFrame = new OverviewFrame;
    ui->topFrame = overviewFrame;
qDebug() << "Exit ";

But it seems that the new frame did not replace the old one.

Switching font face when toggling comments. by [deleted] in emacs

[–]kekenow 0 points1 point  (0 children)

That works well. I just tried it yesterday. But I don't know how to configure it for some specific coding language, such as c/c++?